-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Description
Preconditions (*)
- Magento 2.4.6-p2
- Magento 2.4-develop
Description (*)
The tier price for the configurable product isn’t deleted when a simple product is converted into a configurable product. The Actual price of a product is removed from the database but the tier price remains there in catalog_product_entity_tier_price
. It will show the minimum price for the product at the front end even if any child variant of the product isn’t having any tier price. This can lead to a mismatch in the price. See the attached screenshots below.
Screenshot 1:
Here you can see in the screenshot that the simple product has the tier price in the table catalog_product_entity_tier_price
.
Screenshot 2:
After Converting the simple product into the configurable product by creating the variants, you can see in the below screenshot that the tier price remains there. Even after removing the tier price from all its variants, it remains there in the table catalog_product_entity_tier_price
.
These things lead in a way to mismatch of the price on a product page.
If you check the product on a category-page/listing-page, you will find the minimum price coming from the tier price available for a product. But when you visit the product page for the same and check all the variants, you will come to know that there is no minimum price available in any of the child variants of the product.
Steps to reproduce (*)
- Create a simple product with a tier price.
- Edit that simple product and convert it into a configurable product by creating some variants with a price greater than the tier price and make sure that any variant should not have any tier price.
- Observe in the database that table
catalog_product_entity_tier_price
still has the entry for the particular product with the tier price. - Visit the particular product on a listing page and product page and observe the price.
Expected result (*)
The tier price of the configurable product should also get deleted when a product is converted from a simple product to a configurable product. It should show the minimum price of the variants instead of a tier price of the parent configurable product at the frontend.
Actual result (*)
The tier price of the configurable product is not deleted when a product is converted from a simple product to a configurable product. It is showing the tier price of a configurable product as a minimum price.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status