View Single Post
  #2  
Old 05-19-2006, 06:07 AM
 
Grant Grant is offline
 

Senior Member
  
Join Date: Apr 2006
Posts: 171
 

Default

I first tried calling this Field internally on the customer/main/product.tpl the same way I do on the product_t.tpl but for some reason when I add this to customer/main/product.tpl it generates syntax errors.

So that's why I'm using a modded modules/extra_fileds/product.tpl instead (in case you were wondering)

This is the code I usually use which works a treat.

Quote:
{assign
var="RunningTime" value=$products[product].productid|extrafield:4}
{if $RunningTime ne ""} {$RunningTime} {/if}
__________________
X-Cart version : 4.0.18
Mod : Customer Also Bought
Mod : Custom catergory Templates
Mod : Custon Product Templates
Reply With Quote