| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Extra product fields | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi All,
I have added an extra product field to the database. I would like to display that on my product page and my checkout page, but how do I do this? How do I reference those varibles in smarty?
__________________
RobotDeathSquad Version 4.0.11 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() depends on your version number.
post it in your signature
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#3
|
|||||||
|
|||||||
![]() Updated
__________________
RobotDeathSquad Version 4.0.11 |
|||||||
#4
|
|||||||
|
|||||||
![]() Be aware that they changed the way extra fields work in 4.x. Not even close to 3.x. So if you make use of them in 3.x you'll have to change your code again in 4.x.
|
|||||||
#5
|
|||||||
|
|||||||
![]() Well, that's great. But how do they work in 3?
__________________
RobotDeathSquad Version 4.0.11 |
|||||||
#6
|
|||||||||
|
|||||||||
![]() {$product.param00} would be the first param, change 00 for other ones
this is on the product page
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#7
|
|||||||
|
|||||||
![]() Excellent. What about on the checkout pages?
__________________
RobotDeathSquad Version 4.0.11 |
|||||||
#8
|
|||||||
|
|||||||
![]() How do these work in Version 4.0?
__________________
RobotDeathSquad Version 4.0.11 |
|||||||
#9
|
|||||||||
|
|||||||||
![]() They are in a new table called Extra fields and are no longer called out by product.param00, product.param01 etc.
|
|||||||||
#10
|
|||||||
|
|||||||
![]() and are harder to use since they are no longer fields of the "$product". So to use them you have to get them out of the database as needed.
Why couldn't they have just left them alone? It worked great the way it was pre-4.x (sucks) |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|