With a clean Magento install (OOTB 2.4.1 open source), you will have the following error raised when trying to save a cart rule having the same coupon code as other rule - "Coupon with the same code already exists."
So unless there is a 3rd party module or other customizations done, this is not possible.
The current customers' reward points can be checked in the magento_reward table
Reward points history (when they were added/ subtracted) in the magento_reward_history table
Rule-2-points relation is found in magento_reward_salesrule
I did some research on this and while the documentation about free shipping for any order says you should add 'For shipment with matching items' value on the 'Free Shipping' dropdown, I found that this doesn't work as is supposed to.
Solution is to add set the 'Free Shipping' dropdown to 'For matching items only' value.
Here is the answer i am posting (Test Script), i believe it will help others. Please make sure validate the data with print_r($data) before save.
require __DIR__ . '/../app/bootstrap.php';
$bootstrap = Bootstrap::create(BP, $_SERVER);
I don't think you can create a cart price rule that will satisfy your needs with the default Magento install. I just tried this on an Open Source 2.4.1, but none of the 'cart attributes' in Conditions section or 'cart item attributes' in Action section does the trick.
The only thing partially solving the problem is 'row total in cart' condition in the Action ...
your conditions are valid with respect to the cart amounts' thresholds and it's a valid point that you enabled 'Discard subsequent rules'. However, your conditions don't mention anything about a previous purchase.
There isn't any Magento out-of-the-box option to include that since you also have the possibility to apply the rule to guest users, which you can'...
The rule is working correctly as per the configuration.
If ALL of these conditions are TRUE :
If an item is FOUND in the cart with ALL of these conditions true:
Manufacturer is Adidas
This rule says if there is any item in the cart with the manufacturer as Adidas, then apply 10% discount to the whole cart and not just to the specific product....
I Have checked on it. You should apply condition as per below screen shot. It will work when user buy three item from the same product as well as will work within Category any three products.
Please check screen shot:- https://prnt.sc/xsprwd