View Single Post
  #3  
Old 04-25-2012, 06:05 AM
 
Jon Foote Jon Foote is offline
 

Newbie
  
Join Date: Apr 2011
Posts: 5
 

Default Re: variants - call for price

thanks for that, it was easier than i thought.

i changed it a bit to...

if (price == 0) {
$('.currency').hide();
$('.callforprice').show();
} else {
$('.currency').show();
$('.callforprice').hide();
document.getElementById('product_price').innerHTML = price_format(Math.max(price, 0));
}


so it hides the currency symbol and shows a span with my call for price message
__________________
Version 4.4.2
Reply With Quote