Skip to content

Commit

Permalink
Merge pull request #69 from mejuri-inc/develop
Browse files Browse the repository at this point in the history
Preparing the new v0.0.17 release
  • Loading branch information
sebastiandl authored Sep 24, 2021
2 parents 47d8907 + b943274 commit 676cef5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/models/spree/calculator/shipping/flow_io.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module Shipping
class FlowIo < ShippingCalculator
preference :lower_boundary, :decimal, default: 100
preference :charge_default, :decimal, default: 15
preference :sample_product_cost, :decimal, default: 9

def self.description
'FlowIO Calculator'
Expand All @@ -26,6 +27,10 @@ def threshold
preferred_lower_boundary
end

def default_sample_charge
preferred_sample_product_cost
end

private

def flow_order(package)
Expand Down

0 comments on commit 676cef5

Please sign in to comment.