| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
product title. | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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. |
|||||||
#2
|
|||||||||
|
|||||||||
edit include/func.php
In the function func_select_product() you will find: Code:
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.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart. |
|||||||||
#3
|
|||||||
|
|||||||
worked like a charm.
Thanks. |
|||||||
|
|||
X-Cart forums © 2001-2020
|