magento / magento/community-features

Tier price configurable products not working correct

Open
#37 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

moved from magento2 Priority: P2 Requires PO triage
Dominant language
No language data
Stars
46
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Preconditions

Magento 2.2.1
PHP 7.0.25
MySQL 5.7

Steps to reproduce

We have configurable products (for example colors red, blue and green) with tier price. All child products have same price and same tier prices. For example:
Buy 1 for € 6,36
Buy 12 for € 5,88
Buy 96 for € 4,80

Expected result

If a customer buys 15 green products and 5 red products (total 20 products) he should get tier price for ALL 20 products (in example he should get price of € 5,88 for 15 green and 5 red).

Actual result

magento only use tier price for 15 green products, but not for 5 red.
t1
t2

Original Report: https://github.com/magento/magento2/issues/12233 by @matin73

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files, tests, or entry points are named. Start by reproducing the configurable-product tier-price case on Magento 2.2.1 with the stated PHP and MySQL versions; done means mixed-color quantities receive the tier price based on their combined total.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.