A sales rule for free shipping when a product is added to the cart is not removed when that product is removed from the cart.
Preconditions
- Magento 2.1.2
Steps to reproduce
- Create yes/no product attribute named 'Free Shipping', 'Use for Promo Rule Conditions' enabled
- Add Free Shipping attribute to all attribute sets
- Enable Free Shipping method with 100,000 minimum order amount (configuration -> sales -> shipping methods)
- Create Cart Price Rule 'Free Shipping', no coupon, with the following conditions
If ALL of these conditions are TRUE :
If an item is FOUND in the cart with ALL of these conditions true:
Free Shipping is Yes
- Add action: Free Shipping 'For shipment with matching items'
- Create 2 products: one with free shipping set to no (product 1), and one with free shipping set to yes (product 2)
- Add product 1 to cart
- Add product 2 to cart
- Remove product 2 from cart
Expected result
- Free shipping method should appear after product 2 is added to cart
- Free shipping method should disappear after product 2 is removed from cart
Actual result
- Free shipping method appears after product 2 is added to cart
- Free shipping method stays after product 2 is removed from cart
- Free shipping method stays after all products removed from cart and even when only product 1 is readded to cart
A sales rule for free shipping when a product is added to the cart is not removed when that product is removed from the cart.
Preconditions
Steps to reproduce
Expected result
Actual result