Module: Spree::Core::ControllerHelpers::Pricing
- Extended by:
- ActiveSupport::Concern
- Included in:
- Order
- Defined in:
- lib/spree/core/controller_helpers/pricing.rb
Instance Method Summary collapse
Instance Method Details
#current_currency ⇒ Object
21 22 23 |
# File 'lib/spree/core/controller_helpers/pricing.rb', line 21 def current_currency .currency end |
#current_pricing_options ⇒ Object
14 15 16 17 18 19 |
# File 'lib/spree/core/controller_helpers/pricing.rb', line 14 def Spree::Config..new( currency: current_store.try!(:default_currency).presence || Spree::Config[:currency], country_iso: current_store.try!(:cart_tax_country_iso).presence ) end |