View Single Post
  #5  
Old 03-11-2005, 04:52 AM
  carlisleglass's Avatar 
carlisleglass carlisleglass is offline
 

eXpert
  
Join Date: Aug 2003
Location: Carlisle, UK
Posts: 316
 

Default

To get this to work in V4.0.12 :

$products[product].param00 becomes $extra_fields[0].field_value
that is if the extra field is first in the list.


In product_options do this :

change{include file="currency.tpl" value=$o.price_modifier display_sign=1} to {if $extra_fields[0].field_value eq ""}{include file="currency.tpl" value=$o.price_modifier display_sign=1}{else}{include file="currency.tpl" value=$o.price_modifier display_sign=0}{/if}


I must add i have only been able to do this in product.tpl (and not products.tpl)
__________________
Darren Kierman
Carlisle Glass (http://www.carlisleglass.co.uk/)
... running X-Cart Gold 4.4.5 [unix]
Reply With Quote