View Single Post
  #1  
Old 06-30-2011, 06:15 AM
 
nickff nickff is offline
 

Senior Member
  
Join Date: Aug 2010
Posts: 132
 

Default Replacing Price with Cufon

Hi All,

I'm looking to replace the font for the price on my product details pages with Cufon. This works great, but the issue I'm having is when a product has product variants that change the price dynamically when a new selection is made:

http://future.thefutureforward.com/~aso/Comrade.html

By adding the following to customer_options.tpl around line 49 I am successfully swapping the font when you select a new option, but it's not doing the cufon replacement properly on page load:

HTML Code:
<select id="po{$v.classid}" name="{$poname}"{if $disable} disabled="disabled"{/if}{if $nojs ne 'Y'} onchange="javascript: check_options();Cufon.replace('.details h3', {literal}{fontFamily: 'Flama'}{/literal});"{/if}>

Any thoughts on why my initial replacing isn't working on this would be great.

Thanks!
__________________
nick hoag
looking forward to the future
http://thefutureforward.com
xcart versions 4.2.x, 4.3.x, 4.4.x
Reply With Quote