Hello,
I am facing one issue, I have created one coupon code to get a $25 discount when the subtotal is greater than or equal to $35,
I have created a test order by adding 3 products in which one product's amount is $0 but when I check it on Amin Sales->Order->Items Ordered section, -$0.01 Discount Amount applying on $0 product and in Row Total it is showing $0.01
Please look at the Screenshot: https://nimb.ws/eQI0Dr
can you please let me know how I can fix it?
Thanks
Solved! Go to Solution.
Solution:
Update this line -
if ($itemPrice < 0)
by
if ($itemPrice <= 0)
in Magento\SalesRule\Model\Validator file
Hello @bilalmango3e50
Can you please share the screenshot of the rule you created with the condition?
Please check it here: https://nimb.ws/8YGQIR
I am working on Magento 2.4.3-p2 Version