| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
join two variables in one | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
join two variables in one
Hi, I am probably missing something very obvious here, but I can't figure it out.
I have 2 variables $lng.lbl_related_products and $product.product I have tried to join them into one variable, used all known operators, then I checked whole Smarty manual, but I can't find a solution. So... please help me
__________________
X-cart version 4.1.7 Apache/2.0.52 (CentOS) My SQL 5.0.58 PHP Version 5.1.6 |
|||||||
#2
|
|||||||
|
|||||||
Quick question:
why? Why not just display them in the template next to each other?
__________________
ex x-cart guru |
|||||||
#3
|
|||||||
|
|||||||
Hello Cefko,
Do you want to display it to your customers this? Related Products --> Smelly Socks If so then write it literally like: [$lng.lbl_related_products} --> {$product.product} inside your product.tpl (I'm taking a wild guess here!) HTH
__________________
Best Regards! Alan Search is my friend |
|||||||
#4
|
|||||||
|
|||||||
The problem is, that variables should be in the Dialog Title
Code:
I would like to add product name ($product.product) + some text in the dialog title. Tried many ways, but I couldn't do it
__________________
X-cart version 4.1.7 Apache/2.0.52 (CentOS) My SQL 5.0.58 PHP Version 5.1.6 |
|||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|