spree-multi-domain icon indicating copy to clipboard operation
spree-multi-domain copied to clipboard

Promotion::Rule Store throws exception

Open ghost opened this issue 10 years ago • 0 comments

applicable? is not implemented.

This will fix it, or you guys might add it your next commit

Spree::Promotion::Rules::Store.class_eval do
  def applicable?(promotable)
    promotable.is_a?(Spree::Order)
  end
end

ghost avatar Apr 12 '14 18:04 ghost