Sha256: 51337d5b7a7f27d466bd874f04b61e318bded95000ccb587867d6064aa8c48c5
Contents?: true
Size: 370 Bytes
Versions: 2
Compression:
Stored size: 370 Bytes
Contents
# added flow specific methods to Spree::Variant Spree::Product.class_eval do # returns price tied to local experience from master variant def flow_local_price flow_exp variants.first.flow_local_price flow_exp end def flow_included? flow_exp return true unless flow_exp flow_data['%s.excluded' % flow_exp.key].to_i == 1 ? false : true end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
flowcommerce-solidus-0.1.13 | ./static/app/flow/decorators/spree_product_decorator.rb |
flowcommerce-solidus-0.1.12 | ./static/app/flow/decorators/spree_product_decorator.rb |