Skip to content

Bundles and tier price give unexpected results #22807

Closed
@kassner

Description

@kassner

Preconditions

  1. Magento Open Source 2.3.1;
  2. Create a simple product with price $10.00 and tier price of $9.00 for 2 or more quantities;
  3. Create a bundle product, with only one option, and add the simple product as the only selection, use Quantity = 2 and User defined = unchecked;

Steps to reproduce

  1. Go to the bundle product page on the frontend;
  2. Select qty = 1 and click add to cart. Minicart shows correct prices (unit $18, total $18);
  3. Without leaving the page, select qty = 2 and click add to cart. Minicart shows wrong prices (unit $36, total $108, should be $18/$54);

Screenshot from 2019-05-09 14-03-39

  1. Without leaving the page, select qty = 3 and click add to cart. Minicart shows wrong prices (unit $54, total $324, should be $18/$108);

Screenshot from 2019-05-09 14-04-18

  1. Click Proceed to Checkout. Order summary has the wrong total:

Screenshot from 2019-05-09 14-06-59

  1. Place the order;
  2. Go to Admin > Sales > Order and select your order;
  3. Check the Items ordered and the totals:

Screenshot from 2019-05-09 14-08-50

  1. Click the Ship button. Items to ship report 6x the bundle product, as expected:

Screenshot from 2019-05-09 14-11-51

  1. Edit the bundle product, set Ship Bundle Items as Separately;
  2. Place a new order, repeating the steps 2 to 6;
  3. Go to Admin > Sales > Order and select your new order and click the ship button. Items to ship report 36x the simple product, instead of just 12:

Screenshot from 2019-05-09 14-16-40

Expected result

  1. Order should have 6x the bundle product, meaning 12 simple products;
  2. Subtotal should be $108.00;
  3. The simple product row should show just once;

Actual result

  1. Order has 6x the bundle product, but it reports 36x simple product;
  2. Subtotal is $324.00;
  3. The simple product row shows 3 times;

Metadata

Metadata

Assignees

Labels

Component: BundleIssue: Cannot ReproduceCannot reproduce the issue on the latest `2.4-develop` branchIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releaseSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions