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

Improvement in SpecificPrice::getSpecificPrice #7466

Merged
merged 1 commit into from Feb 6, 2017

Conversation

@antoin-m
Copy link
Contributor

commented Feb 6, 2017

Questions Answers
Branch? develop
Description? This modification allows to give priority to the specificPrices with a specific id_cart.
Type? bug fix
Category? CO
BC breaks? no
Deprecations? no
Fixed ticket?
How to test?

Cherry-picked from #4541

CO: improvement in SpecificPrice::getSpecificPrice
This modification allows to give priority to the specificPrices with a specific id_cart.

With this modification for example if a product is affected by two discounts, and one has the id_cart 0 and the orher the id_cart 3556, the second one will have more priority because it's more focused in this specific cart

(cherry picked from commit 4312b61)
@aleeks

This comment has been minimized.

Copy link
Contributor

commented Feb 6, 2017

Thank you @antoin-m

@aleeks aleeks merged commit 21e56eb into PrestaShop:develop Feb 6, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@aleeks aleeks removed their assignment Feb 6, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.