Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Tier prices - Add note to clarify discount calculation #338

Merged
merged 5 commits into from
Feb 13, 2020

Conversation

ihor-sviziev
Copy link
Contributor

@ihor-sviziev ihor-sviziev commented Feb 12, 2020

Purpose of this pull request

This pull request (PR) adds clarification that tier prices are calculated on top of "Price" field and not using "Special price".

Affected documentation pages

Affected Magento editions

  • Open Source
  • Commerce
  • B2B

Links to Magento source code or PRs

Additional information

We had discussion with @Nazar65 about fixing the issue magento/magento2#26583
There were two options:

  1. Fix the calculated percentage on the product page on top of existing behavior in the admin + document it <-- that's why I created this PR

  2. Change calculation of tier prices to be working with special prices.

During discussion we found that 2nd option will affect too many magento installations that working with tier prices, so decided to go with 1st option.

@devops-devdocs
Copy link
Collaborator

An admin must run tests on this PR before it can be merged.

@hickskenh
Copy link
Contributor

Hey @ihor-sviziev. Thank you for submitting the clarification. I'd like to take your information and adjust it slightly. I'd like to move the note to the end of step 2, where the user is defining the percent. I'd like to reword step 2. would you agree with this change?

  1. In the next field, enter the discounted price as a percentage off the base price of the product. For example, for a 15 percent discount, enter the number 15. (The price is saved with two decimal positions, such as “15.00”.)
    Note: To get the discount price, the defined percentage is calculated against the value defined in the Price field, not the Special Price field.

@hickskenh hickskenh self-assigned this Feb 13, 2020
@hickskenh hickskenh added Minor update Small improvements or additions to documentation Waiting for response Apply this when you have messaged the submitter and must wait for response to proceed labels Feb 13, 2020
@ihor-sviziev
Copy link
Contributor Author

@hickskenh sure, I don't mind

@hickskenh
Copy link
Contributor

@ihor-sviziev Thanks for the speedy reply. i should be able to run tests and get this live today.

@hickskenh hickskenh removed the Waiting for response Apply this when you have messaged the submitter and must wait for response to proceed label Feb 13, 2020
@hickskenh hickskenh changed the title Tier prices - Add note that "Discount" is calculated on top of regular price Tier prices - Add note to clarify discount calculation Feb 13, 2020
@hickskenh
Copy link
Contributor

running tests

Copy link
Contributor

@hickskenh hickskenh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

passed all tests, reviewed in local build

@hickskenh hickskenh merged commit 3208826 into magento:master Feb 13, 2020
@ihor-sviziev ihor-sviziev deleted the patch-2 branch February 13, 2020 20:24
magento-devops-reposync-svc pushed a commit that referenced this pull request Dec 6, 2021
Merge master after fixing conflicts
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Minor update Small improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants