| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Provider username as a variable - working but won't display in product list? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Provider username as a variable - working but won't display in product list?
Thanks to PhilJ I am now able to use the provider username as a variable in my product information however I am stuck when it comes to how to get it to display in the product list.
In product.php Code:
then in product.tpl and products.tpl Code:
But nothing displays in the product list only the product pages? Anyone know how adapt the following to make it display in the products list? I have contacted PhilJ but I am aware he is very busy at the moment
__________________
xcartgold 4.5.4 xcartgold 4.5.5 |
|||||||
#2
|
|||||||
|
|||||||
Re: Provider username as a variable - working but won't display in product list?
See below...
__________________
xcartmods.co.uk |
|||||||
#3
|
|||||||
|
|||||||
Re: Provider username as a variable - working but won't display in product list?
Sorry Phil,
Placed code in products.php and {$product.login} in products_t.tpl and products_audio.tpl and the value returned just says "Array" ? Anything else, I can try? Seems strange that X-Cart don't have this by default anyway.
__________________
xcartgold 4.5.4 xcartgold 4.5.5 |
|||||||
#4
|
|||||||
|
|||||||
Re: Provider username as a variable - working but won't display in product list?
ok, use...
Quote:
And use {$product.login} Tested and working.
__________________
xcartmods.co.uk |
|||||||
#5
|
|||||||
|
|||||||
Re: Provider username as a variable - working but won't display in product list?
You star! Perfect! And now everyone will get the benefits of this
Thanks so much
__________________
xcartgold 4.5.4 xcartgold 4.5.5 |
|||||||
|
|||
X-Cart forums © 2001-2020
|