-
Notifications
You must be signed in to change notification settings - Fork 4
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
Close #769 discount maximum cap #802
base: develop
Are you sure you want to change the base?
Conversation
0477616
to
a69a413
Compare
99776a3
to
5eda9d5
Compare
app/models/spree_cm_commissioner/calculator/percent_on_line_item_decorator.rb
Show resolved
Hide resolved
app/models/spree_cm_commissioner/promotion/actions/create_date_specific_item_adjustments.rb
Outdated
Show resolved
Hide resolved
bong @channainfo , after refactoring code I think we are no longer need cap on promotion. As of now, I still keep my old code but I would like to remove that after discussion. Also these classes:
as of ItemTotal adjustment, we shall modify in this Spree::Calculator::FlatPercentItemTotal @theachoem, @channainfo we can try as Thea mentioned to modify in these 3 classes:
|
7ee08ed
to
e9930b7
Compare
e9930b7
to
d9970e1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Look good to me bong, adding in calculator make more sense than my method if we want to cap each day.
Form
Order detail