app/helpers/products_helper.rb
# returns the formatted change in price (from the master price) for the specified variant (or simply return 
# the variant price if no master price was supplied)
returns the formatted change in price (from the master price) for the specified variant (or simply return
the variant price if no master price was supplied)
returns the formatted change in price ( from the master price ) for the specified variant ( or simply return the variant price if no master price was supplied )
def format_price(price, options={})
    options.assert_valid_keys(:show_vat_text)
    options.reverse_merge! :show_vat_text => Spree::Config[:show_price_inc_vat]
    options[:show_vat_text]  ?  number_to_currency(price) + ' (inc. VAT)' : number_to_currency(price)
  end
def format_price ( price , options = { } ) options . assert_valid_keys ( :show_vat_text ) options . reverse_merge! :show_vat_text => Spree :: Config [ :show_price_inc_vat ] options [ :show_vat_text ] ? number_to_currency ( price ) + ' (inc. VAT)' : number_to_currency ( price ) end
returns the formatted change in price (from the master price) for the specified variant (or simply return
the variant price if no master price was supplied)
returns the formatted change in price ( from the master price ) for the specified variant ( or simply return the variant price if no master price was supplied )
price
<not_specific>
options
<not_specific>