| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Extra Field to show on Email receipt only | ||||
|
|
Thread Tools | Search this Thread |
#21
|
|||||||
|
|||||||
I'm trying to achieve the same effect, but I'm having some trouble. Here is the code I'm using. I know that I need the value from the second extra field for each item, but this gives me a smarty error. It's trying to use $location as a smarty tag, I just want it to be a variable. Any help?
Code:
__________________
Version 4.0.16 |
|||||||
#22
|
|||||||
|
|||||||
Hi Everyone,
I have added this code to my site and added the code from Shan Quote:
I have placed the above code in /mail/html/order_data.tpl I hope this is the correct place. Now my question is what is the code to include in a html email that calls this ectra field information. In my case it is extra field "6" Any assistance would be greatly appreciated. Regards, Andrew
__________________
X-Cart v4.0.15 MMPro EZy Checkout Rewards Points Heavily modified back end |
|||||||
#23
|
|||||||
|
|||||||
FYI... v4.0.15
This is what you can add to your .tpl files to call the Extra Field Data: In /customer/main/product.tpl you have the followiing calling the Extra Field Data: Code:
Included code in /modules/Extra_Fields/product.tpl Code:
This justs lists the Extra Data fields on the Product Detail Page. So to get just the Extra Field you want use the Extra Field ROW#. In Admin you have Extra Field you can add... if the data is in the 3rd row then use '03' inplcase of [field] in the code below... you can use 01,02,03,04,05 etc for represented rows. Extra field Title: Code:
Extra Field Value: Code:
The Other thing you can do is just qualify the Title to make sure that you are displaying the correct ROW incase you have changed the Title to something else. Taken from above code in /modules/Extra_Fields/product.tpl Extra Field Title to display only = Test Title Code:
Regards, Marko
__________________
X-Cart v4.0.15 MMPro EZy Checkout Rewards Points Heavily modified back end |
|||||||
|
|||
X-Cart forums © 2001-2020
|