![]() |
product title.
I am trying to modify the product title in product.tpl
It put the title with title=$product.product I want it to display like this $product.product - #$product.productcode So in front end it will look like "Pentium 4 - #3456 Anyone know a way to do this? I have tried calling to a new variable such as $productTitle and deifining that variable in product.php but it errors out the php and if I just put: title = $product.product - #$product.productcode it errors and if I put: title = "$product.product - #$product.productcode" I get: $product.product - $product.productcode where the title is on the fron end. Any suggestions would be most helpful. |
edit include/func.php
In the function func_select_product() you will find: Code:
$product["producttitle"]="$product[product] #$product[productid]"; Leaving the product.tpl with the default capture statement code that you've modified should allow you to easily manipulate how the product title is generated. hth. ;) |
worked like a charm.
Thanks. |
All times are GMT -8. The time now is 03:09 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.