| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Product Inquiry form for 4.0+ | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi,
i had managed to complete a small mod whereby a customer can enquire about a product from admin for version 4.0+. ---- this is for version 4.0+ and tested on 4.017 for older versions there is better mod here http://forum.x-cart.com/viewtopic.php?t=15362 . -------------------------------- we would be using send to friend.php as base. add following lines to send to friend.php before ?> . if you could notice below text is similar to code already on file just mode changed. Quote:
now create following files. mail/queryap.tpl mail/querysub.tpl mine are as below. mail/queryap.tpl Quote:
mail/querysub.tpl Quote:
Now Create a language variable which would inform customer that inquiry is sent. txt_inquiry_sent add form code in product.tpl you can do it via .tpl file or directly copying into product.tpl Quote:
i hope this would be of help.
__________________
xcart 4.18 on linux |
|||||||
#2
|
|||||||
|
|||||||
![]() This sounds interesting. You have it working somewhere were we can see it?
Thanks.
__________________
Thanks to for your comments/help. X-cart Version 4.0.17 |
|||||||
#3
|
|||||||
|
|||||||
![]() Great mod,
is it possible to make this a popup?
__________________
Main Server (Dedicated) ---------------------------------------------------- Apache version 1.3.37 (Unix) PHP version 4.4.7 Database Server (Dedicated) ---------------------------------------------------- Apache version 1.3.37 (Unix) PERL version 5.8.8 PHP version 4.4.7 MySQL version 4.1.21-standard X-Cart Version ---------------------------------------------------- 4.0.17 Heavily Modded |
|||||||
#4
|
|||||||
|
|||||||
![]() Quote:
Replace ".$pro ductid); with ".$productid);
__________________
Xcart 4.0.17 - XAOM - XRMA - Special Offer - Sales & Stats ______ www.futurevis.com |
|||||||
#5
|
|||||||
|
|||||||
![]() Hi,
I was wondering if anyone has gotten this to work on 4.1.8? I tried using the code, but when I add the above code to my send_to_friend.php file my product pages stop loading. Any ideas? Thanks! |
|||||||
#6
|
|||||||
|
|||||||
![]() lizlee00 you can use the product inquiry mod available at xcartmods.co.uk, we use it and it works very well for us, we have it interfaced with our internal ticket support system and it really has cut down on phone call.
|
|||||||
#7
|
|||||||
|
|||||||
![]() Thanks for the reply Alan. I've tried the product enquiry form from xcartmods.co.uk. Phil does wonderful mods! However, with that one I have a problem with the captcha image not working in the HTML catalog. Searching through these boards it looks like someone else had the same problem, but it was never resolved. Thats why I decided to try and use this mod.
|
|||||||
#8
|
|||||||
|
|||||||
![]() Strange lizlee because we use the HTML catalog and the captcha image works fine, did you make sure the permissions on the captcha folder were correct?
|
|||||||
#9
|
|||||||
|
|||||||
![]() I'm sure I had the captcha folder with the correct permissions. What I ended up doing is just modified the code to remove the captcha feature. Works great when I did that, and I think we'll be okay without the captcha feature.
|
|||||||
#10
|
|||||||
|
|||||||
![]() You should if not you'll definitely know, it's rather odd that it wasn't working though
|
|||||||
|
|||
X-Cart forums © 2001-2020
|