We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee58ea1 commit 4fda664Copy full SHA for 4fda664
ecommerce/pricing/lib/pricing/offer.rb
@@ -12,7 +12,7 @@ def initialize(id)
12
@state = :draft
13
end
14
15
- def add_item(product_id, base_price, promotion = nil)
+ def add_item(product_id, base_price, promotion)
16
if promotion
17
promotion_applies, price = promotion.apply(@list.quantities, product_id, base_price)
18
0 commit comments