magento2
magento2 copied to clipboard
Catalog price rule not applying when product price is zero but custom option has price
Preconditions (*)
- Magento 2.4.2 - community
Steps to reproduce (*)
- Create a product: Set product price zero($0.00). Create Customizable Option by dropdown field. Add an option with any price. For example $100.00
- Create a catalog price rule.(Marketing - Catalog Price Rule) Set apply as percentage of original and set discount amount to 50.00. Save and apply
Expected result (*)
- On frontend, should apply discount price. And price of that product should show $50.0
Actual result (*)
- Discount is not applying. Price shows $100.00 when we select that option on frontend.
Note: If we change product price to $0.01 from $0.00, Discount apply on custom option price properly. But when product price is zero($0.00) discount amount is not applying on custom option price as expected. For any other Product Price - There is no issue.