Quote:
Originally Posted by Readerm
Quote:
Originally Posted by kpayne
Or, if you also need the SKU in there, you can change $product.producttitle to "$product.product - $product.productcode"
|
For some reason, I'm gettingthe following error:
Fatal error: Smarty error: [in customer/main/product.tpl line 150]: syntax error: invalid attribute name: '-' (Smarty_Compiler.class.php, line 1512) in /home/pravuzor/public_html/Smarty-2.6.3/Smarty.class.php on line 1082
|
Just a slight php syntax change...
try adding backtics around the variables: "`$product.product` - `$product.productcode`"
the variables were not be evaluated correctly.
I like the idea - I may use it, also.
good day!
-mike