| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Using extra_fields as a "flag" | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Using extra_fields as a "flag"
I'm trying to extra fields as a "y/n" flag to determine whether a special image is displayed on the product.tpl page.
I know I'm formatting the field wrong but I'm not sure how it should be formatted. can someone help? Code:
__________________
Version 4.2.3 |
|||||||
#2
|
|||||||
|
|||||||
Can't get no love?
__________________
Version 4.2.3 |
|||||||
#3
|
|||||||||
|
|||||||||
Make sure that variable actually contains what you think it does do a
{$product.extra_fields[1].field_value} on the page so it prints it so you can see if it's the right field for starters
__________________
Groovico Used by X-carters the world over: Marketing Manager Pro Bundle For X-cart Featured Product Manager for X-cart Feed manager pro for X-cart http://www.firetanksoftware.com Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X |
|||||||||
#4
|
|||||||
|
|||||||
Thanks Groovico,
That's just what I needed (a good wack on the head) when accessing by row everything starts at zero, "0" I also got rid of the $product, so the winning answer is: Code:
Thanks again
__________________
Version 4.2.3 |
|||||||
|
|||
X-Cart forums © 2001-2020
|