![]() |
product name with extra field
Hi, is it possible to display extra field, or any other info even, with product name?
i'm selling books, and some have sub titles, i wanna display it with product name above the line, i tried playing around with dialog.tpl, adding something after the line <TD class="DialogTitle" valign="bottom">[img]{$ImagesDir}/spacer.gif[/img]{$title}</TD> but it didnt work coz the extra field would appear everywhere if theres a line how can i change product name? Thx |
not sure i fully understand your post. maybe try and explain a little better
|
Re: product name with extra field
like for a product, it has a product name, and a line to seperate the product image and full description,
i wanna edit that product name to show extra field as well, but when i go to dialog.tpl and change this chunk of code <TD class="DialogTitle" valign="bottom">[img]{$ImagesDir}/spacer.gif[/img]{$title}</TD> , the extra field i want to show will appear at every line seperator, ie. lines following "send to a friend", "recommended product list", "product rating" |
post a link to the page
|
|
ah, you shouldnt edit dialog.tpl
that effects every instance as you have seen you just need to edit product.tpl have a look around here to adjust only the product area Code:
{/capture} |
ya, i looked there already too, i can switch the title there, but i cant figure out how to assign two variables there
|
you would need to assign a new variable and send that to title=
have a look round here for more info on smarty variables http://smarty.php.net |
i see, thx
|
All times are GMT -8. The time now is 08:54 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.