Skip to content
This repository has been archived by the owner on Aug 13, 2021. It is now read-only.

Promotion::Rule Store throws exception #94

Open
ghost opened this issue Apr 12, 2014 · 0 comments
Open

Promotion::Rule Store throws exception #94

ghost opened this issue Apr 12, 2014 · 0 comments

Comments

@ghost
Copy link

ghost commented Apr 12, 2014

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants