| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Need to get a variable value | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||||
|
|||||||||
|
Hi,
I need to insert a name of the manufacturer. I've tried: {$manufacturers_menu.manufacturer} but it doesn't seem to work. So I tested it like: {$manufacturers_menu[1].manufacturer} and got a name of one of the manufacturers. How can I get the right name without hard-coding an array value?
__________________
Thanks. X-Cart Gold 4.0.14 on Linux |
|||||||||
|
#2
|
|||||||||
|
|||||||||
|
The code may vary dependiing on the place where you want to put.
Could u pls elaborate on it?
__________________
Dongan MercuryMinds Technologies Professional X-Cart Design, X-Cart Development, X-Cart Customization Services www.mercuryminds.com Follow us at Facebook / Twitter |
|||||||||
|
#3
|
|||||||||
|
|||||||||
|
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. |
|||||||||
|
#4
|
|||||||||
|
|||||||||
|
I'd like to access manufacturer's name name from skin1/dialog_product.tpl
dialog_product.tpl is my modified version of dialog.tpl and appears only on product pages. Quote:
Where do I do that?
__________________
Thanks. X-Cart Gold 4.0.14 on Linux |
|||||||||
|
#5
|
|||||||||
|
|||||||||
|
OK, After some search on these forums i was able to get manufacturer's name. I'm off not to looking for how to get product type...
__________________
Thanks. X-Cart Gold 4.0.14 on Linux |
|||||||||
|
#6
|
|||||||||
|
|||||||||
|
when you suss something out its good if you post what you did for others to see later
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. |
|||||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||