![]() |
Stuck on Product Title tag
I've been stuck and have TONS of questions.... I feel bad for asking all these questions, but I am sooo stuck..
I've been trying to put a Product Title tag on product.tpl for the past 2 hours, but I had no luck. I have tried placing {$products[product].product} but no luck. On the dialog.tpl, I deleted the {$title} tag since I did not want to display the Product title on the top of the images. I want to place right before the item description... I also tried putting {$title} on the product.tpl, but no luck either... How can I achieve it?? |
Re: Stuck on Product Title tag
try {$product.product}
|
Re: Stuck on Product Title tag
Thankyou! You saved me.
I was actually trying ($product.products} and wasnt working. Just having or not having a "s" does make a difference!! Thanks Again!!!!!! |
Re: Stuck on Product Title tag
Hey Inebriate,
I'm sorry but I do have an another question... I am trying to put a manufactures title on each featured item (home.php & each products page). I placed ($manufacturer.manufacturer} but did not work... Is there anywhere I can get the code from or get a reference? I'm sorry for asking so many questions... |
Re: Stuck on Product Title tag
How do I concatenate two variables in product title?
I want like this [Product_Manufacturer] SPACE [Product_Title]. I should do this in product.tpl I used this but gives me an error: {include file="customer/dialog.tpl" title=$product.manufacturer $product.producttitle|escape content=$smarty.capture.dialog} |
Re: Stuck on Product Title tag
You can use the following in product.tpl to have manufacturer name (take it as a brand name) in product title
title=$product.manufacturer|cat:" "|cat:$product.producttitle|escape For a Smarty specialist: Is it a way to make this look better? I used two times |cat: operator. It looks ugly. |
Re: Stuck on Product Title tag
If you feel ugly then try this:
title="`$product.manufacturer` `$product.producttitle`" Quote:
|
Re: Stuck on Product Title tag
Great. Thanks Vetrivel.
|
All times are GMT -8. The time now is 08:22 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.