![]() |
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 :) |
Quick question:
why? :?: Why not just display them in the template next to each other? :D |
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 |
The problem is, that variables should be in the Dialog Title
Code:
{include file="dialog.tpl" title=$lng.lbl_related_products content=$smarty.capture.dialog extra="width=100%"} I would like to add product name ($product.product) + some text in the dialog title. Tried many ways, but I couldn't do it |
All times are GMT -8. The time now is 11:40 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.