| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
help combining variables! | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
help combining variables!
i have created a set of text entries in my Languages that i now want to display on product pages, based on what product page is up.
the text variable tag looks like this: {$lng.seo_descrip_67} (with "67" being the productid) so when i am calling it on the .tpl page, i have tried variations of {$lng.seo_descrip_{$product.productid}} with quotes, taking out the brackets etc - i know what i want, i just don't know the syntax to combine 2 variables like this! anyone have a quick answer? thanks in advance belen |
|||||||
#2
|
|||||||
|
|||||||
Quick answer...not possible as far as I am aware directly in the template.
Longer answer.. it is possible but not quite as you suggest you would need to amend the php files and assign a new value to smarty.
__________________
ex x-cart guru |
|||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|