Browse files

Fix a bug for vanilla 0.40.4 spree.

There is a pull request waiting for spree/master to pass this argument, but as
for now it's not supported on neither 0.40 or edge spree.
  • Loading branch information...
1 parent e7716e1 commit 49190d22b82d1aa170444a198f9aa7bbe6ab3df4 Adam Wróbel committed Mar 1, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 app/models/product_decorator.rb
@@ -8,6 +8,7 @@ def save_master
def duplicate_extra original
+ return unless original
self.master.volume_prices = do |vp| vp.attributes.slice('starting_quantity', 'price')

0 comments on commit 49190d2

Please sign in to comment.