| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Ask a Question button near the add to cart button | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Ask a Question button near the add to cart button
Hi, i wanted to make another button that customers can click on to email me a question about the product they where looking at.
You can see an example at: http://www.shisha.co.uk/shopcart/product.php?productid=16383&cat=291&page=1 I first went to my admin, languages, and made a button: Variable = lbl_ask_question Description = Ask a Question Value = Ask Question I then made a button called ask_question.tpl in shopcart/skin1/buttons/ask_question.tpl Code:
After that i edited my product.tpl file in shopcart/skin1/customer/main/product.tpl and added: Code:
Naturally change question@shishapipe.net to your email address You can see the above code in this section here: Code:
So this works fine, but what i wanted to do is in the email subject i wanted something like "Ask Question - and then the Product title of the goods" So it automatically puts in the subject of the email the product like "10 packs of Flavored handcrafted non tobacco cigarettes #16383" Also is there a way that the sites email address can be put in the above code instead of writng the email address.
__________________
Apache/2.0.55 (Red Hat) & MYSQL Server: 5.0.24 PERL: 5.008005 / PHP: 4.4.4 - 4.3.1 X-CART Shop carts at http://www.nightscene.co.uk/shop/home.php http://www.theshisha.net/shopcart/home.php http://www.system-maintenance.com/maint/home.php http://www.tabac4u.com |
|||||||||
#2
|
|||||||
|
|||||||
I was try to add this mod but run into this problem when trying to do this mod, but on the first step
Quote:
I got this error msg when I did the above. Quote:
I can guarenttee you its user error on my part, do I have to do something with permissions in order to do this?
__________________
Version 4.7.11 |
|||||||
#3
|
|||||||||
|
|||||||||
|
|||||||||
#4
|
|||||||
|
|||||||
Quote:
Is this because of version number? or do I need to do the one you gave me in the link first? Delw
__________________
Version 4.7.11 |
|||||||
#5
|
|||||||||
|
|||||||||
I posted that link becuase the first post also had some questions about getting it to work. The link that I posted is of a version that I have tried out and seems to work OK.
|
|||||||||
#6
|
|||||||
|
|||||||
TelaFirma
Thank you I will try that link out Delw
__________________
Version 4.7.11 |
|||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|