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

Update promotion_actions_create_quantity_adjustments in core/engine #556

Merged
merged 1 commit into from
Jan 7, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update promotion_actions_create_quantity_adjustments in core/engine
  • Loading branch information
philbirt committed Dec 1, 2015
commit eff0bc1bed467986fe9ed8133fd4e38f29c1e169
2 changes: 1 addition & 1 deletion core/lib/spree/core/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class Engine < ::Rails::Engine
]

app.config.spree.calculators.add_class('promotion_actions_create_quantity_adjustments')
app.config.spree.calculators.promotion_actions_create_item_adjustments = [
app.config.spree.calculators.promotion_actions_create_quantity_adjustments = [
Spree::Calculator::PercentOnLineItem,
Spree::Calculator::FlatRate
]
Expand Down