| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
#41
|
|||||||||
|
|||||||||
Re: Direct Product Enquiry Form
Quote:
|
|||||||||
#42
|
|||||||
|
|||||||
Re: Direct Product Enquiry Form
Thanks Photo.
Also guys, if the "Configurator" mod by x-cart is being used, and a customer configures a Computer, after they are done configuring, instead of adding to cart I will like to have the tab "Enquiry Form". Question: If they submit the Enquiry Form after configuring, will all the configuring details be submitted to admin? OR will only the name of the product be submitted to admin? Thanks
__________________
X-Cart 4.0.18 DBest |
|||||||
#43
|
|||||||
|
|||||||
Re: Direct Product Enquiry Form
I've just installed the v4.x version of the Direct Enquiry mod and it's working like a charm except when the product name has a quotation mark i.e. " in it. The email is truncating the product name at the ". Is there a way to modify the DoStripSlashes function to strip the quotes as well?
__________________
X-Cart version 4.1.10 and 4.2 for client sites Sandi Gauder CMS Web Solutions Inc. cmswebsolutions.com |
|||||||
#44
|
|||||||
|
|||||||
Re: Direct Product Enquiry Form
anyone know how to remove the captcha part?
thank you
__________________
Xcart 4.1.9, AOM, One Page Checkout, Buy Together, Smart Search, On Sale, XC SEO Pro, Preordered/Backordered, Reward Points (Unresolve Issue), Marketing Manager Pro V3, RubyMod Currency, GeoIP. |
|||||||
#45
|
|||||||
|
|||||||
Re: Direct Product Enquiry Form
Quote:
In enquire.php (line 207-209), change to: Code:
In enquire.tpl (line 11-14), change to: Code:
In enquire.tpl (line 64), add the starting comment tag: Code:
In enquire.tpl (line 80), add the closing comment tag: Code:
__________________
v4.4 |
|||||||
#46
|
|||||||
|
|||||||
Re: Direct Product Enquiry Form
thanks nomonkeyiz it works.
thank you
__________________
Xcart 4.1.9, AOM, One Page Checkout, Buy Together, Smart Search, On Sale, XC SEO Pro, Preordered/Backordered, Reward Points (Unresolve Issue), Marketing Manager Pro V3, RubyMod Currency, GeoIP. |
|||||||
#47
|
|||||||
|
|||||||
Re: Direct Product Enquiry Form
We've used this mod on 4.1.10 and 4.1.11 with no issues but today suddenly the captchu doesn't show and we are getting a ton of these types of errors in the server log:
[Tue Feb 10 13:07:07 2009] [error] PHP Warning: fclose() [<a href='function.fclose'>function.fclose</a>]: 3 is not a valid stream resource in /home/userwww/public_html/enquire.php on line 60 Line 60 in the enquire.php file is the fclose($Handle); The only significant change to the server was updating PHP from 5.2.6 to 5.2.8 that we needed for another bit of software to run faster... I wonder if anyone has seen this yet?
__________________
xCart Pro Version 4.0.17, 4.0.19, 4.1.8, 4.1.10, 4.1.11, 4.1.12 - retired xCart Pro Version 4.3.1 - production xCart Pro Version 4.5.1 - testing RHEL Platform |
|||||||
#48
|
|||||||
|
|||||||
Re: Direct Product Enquiry Form
Untested, but try this.
1) Change: fclose($Handle);
To:
closedir($Handle);
2) Change:
$handle = fopen('./captcha' . '/' . $FileName, 'w');
To:
$Handle = fopen('./captcha' . '/' . $FileName, 'w');
__________________
xcartmods.co.uk |
|||||||
#49
|
|||||||
|
|||||||
Re: Direct Product Enquiry Form
I was having the fclose errors as well. This fixed it:
Lines 57-60: Code:
The image generated is a little underwhelming. Any ideas how to improve it? Can we pull in X-Carts image verification somehow? Cheers,
__________________
jd. - X-Cart Gold 4.1.9 Red-Hat Server |
|||||||
#50
|
|||||||
|
|||||||
Re: Direct Product Enquiry Form
If the user gets the captcha wrong, they are returned to a blank page with empty fields, requiring them to enter their enquiry again. Yuck!
I've been fiddling with PHP for ages but can't seem to get things to pass across. PHP isn't my strong point... Any suggestions or help please? Cheers,
__________________
jd. - X-Cart Gold 4.1.9 Red-Hat Server |
|||||||
|
|||
X-Cart forums © 2001-2020
|