Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improves promotion#products collection method #2363

Closed
wants to merge 1 commit into from

Conversation

huoxito
Copy link
Member

@huoxito huoxito commented Dec 29, 2012

promotion#products should return products from all rules that respond to
a products method and not just from the built in PromotionRule::Product
class.

This should make it easier for developers to use their custom rules to
interact with Spree::Promotion

promotion#products should return products from all rules that respond to
a products method and not just from the built in PromotionRule::Product
class.

This should make it easier for developers to use their custom rules to
interact with Spree::Promotion
@radar radar closed this in 9f418de Jan 2, 2013
radar pushed a commit that referenced this pull request Jan 2, 2013
promotion#products should return products from all rules that respond to
a products method and not just from the built in PromotionRule::Product
class.

This should make it easier for developers to use their custom rules to
interact with Spree::Promotion

Fixes #2363
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants