Skip to content

[Backport] Add price calculation improvement for product option value price #15236

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

Conversation

VitaliyBoyko
Copy link
Contributor

@VitaliyBoyko VitaliyBoyko commented May 15, 2018

Original PR: #11563

Description

The price calculation for the product option value relied on the getFinalPrice value, which if called without the qty parameter will not consider tier prices.
This method was updated to use the base price as calculated by the priceInfo object, just like in Magento\Catalog\Model\Product\Option.

@VitaliyBoyko VitaliyBoyko added backport partners-contribution Pull Request is created by Magento Partner Partner: Atwix Pull Request is created by partner Atwix labels May 15, 2018
@VitaliyBoyko VitaliyBoyko self-assigned this May 15, 2018
@magento-engcom-team magento-engcom-team added this to the Release: 2.1.15 milestone Jun 19, 2018
@magento-engcom-team magento-engcom-team merged commit 11020c2 into magento:2.1-develop Jun 20, 2018
magento-engcom-team pushed a commit that referenced this pull request Jun 20, 2018
@magento-engcom-team
Copy link
Contributor

Hi @VitaliyBoyko. Thank you for your contribution.
Changes from your Pull Request will be available with the upcoming 2.1.15 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Catalog Partner: Atwix Pull Request is created by partner Atwix partners-contribution Pull Request is created by Magento Partner Progress: accept Release Line: 2.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants