View Single Post
  #13  
Old 03-17-2006, 07:05 PM
 
parseError parseError is offline
 

Newbie
  
Join Date: Mar 2006
Posts: 1
 

Default

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
__________________
-m
x-cart-4.0.18pro [unix]
Reply With Quote