New answers tagged

1 vote

Magento 2 cart rule conditions and action to exclude specific product using sku

You need to add conditions at 2 places. Make SKU as Use for Promo Rule Conditions from attribute. Now add actions as below in the cart price rule under the "Actions" Section and secondly, ...
0 votes

Magento 2 : Apply Cart Rule to Base Price not Special Price

We faced the same problem, and fixed this by creating a patch for the following file: vendor/magento/module-sales-rule/Model/Rule/Action/Discount/ByPercent.php In our case, this specifically was ...
0 votes
Accepted

How Magento validate products in cart for carts price rule and how to extract product from conditions_serialized column of the sale rules table?

I followed this way to overcome this task. Extracting from conditions_serialized is not a good practice to follow i guess, rather using sqlBuilder approach. Get All Available product Collections ( ...
  • 2,661
0 votes

Cart price rule issue for uses per customer

Affected products and versions Adobe Commerce (all deployment methods) 2.4.3 and above Issue Merchants set up a coupon for single use and customers are able to use it multiple times. Cause Merchants ...

Top 50 recent answers are included