| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
how to * Display Extra Field Name & Value * above thumbs | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
how to * Display Extra Field Name & Value * above thumbs
i searched here and learned how to display an extra field name in products_t, however the instructions to show the extra field value do not work. it makes the line disappear.
it says to: to display the extra field name then... {$extra_fields[x].field} --where "x" = extra field number when the range is 0-9 (i believe it's 0-9. i used number 19 and that cause the line to disappear) and to display the extra field value... {$extra_fields[x].field_value} when using the code to display the value, the line disappears. i learned that in phpmyadmin there is no data for "value" in the extra fields table. entering data into it using blank, ascii, and text did nothing. what am i doing wrong? *edit* reference thread: http://forum.x-cart.com/viewtopic.php?t=12632&highlight=fieldvalue
__________________
4.0.14 (sql5) |
|||||||
#2
|
|||||||
|
|||||||
appears the following code does work in product.tpl
{$extra_fields[x].field_value} what code should i use to pull that data from sql so it can work in products_t.tpl?
__________________
4.0.14 (sql5) |
|||||||
#3
|
|||||||||
|
|||||||||
Quote:
if it works on a single column page it should work on multi colmn too. make sure you put the code in the right place
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#4
|
|||||||
|
|||||||
Quote:
in this thread near the bottom two ppl say that it will not work: http://forum.x-cart.com/viewtopic.php?t=12632&highlight=fieldvalue in regards to "putting it in the right place" i am entering the code right below the code (after a ) that displays the sku number (which i changed to show products quanitity instead). again, the code that shows the field name works fine, but adding "_value" to it makes the line disappear.
__________________
4.0.14 (sql5) |
|||||||
|
|||
X-Cart forums © 2001-2020
|