Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [shopping-cart-price-rules]

Denotes questions about shopping cart price rules.

10
votes
0answers
244 views

Is there an event or plugin spot for when cart rule is no longer valid?

Is there an event or place I can plugin for when a shopping cart price rule is no longer valid (such as when it expires or if you change the quantity of other products where it no longer applies)? I ...
5
votes
0answers
154 views

Shopping cart pricing rule condition is not visible on orders total in order page

Shopping Cart Pricing rule logic applied successfully but not visible on orders total in order page, FYI Front end showing the Shopping Cart Pricing rule, How to get Shopping Cart Pricing rule on ...
5
votes
0answers
53 views

Magento 2.2.5: Adding cart-attribute for cart-rules / conditions tab

I use a product attribute called "carton" which describes in how many carton a product is packed. I want to add a cart-rule which counts the amount of all cartons in the cart (accordingly the amount ...
5
votes
0answers
647 views

Validate Product against shopping cart rule

I have a Shopping cart rule which applies to a particular category with some discount. I have a situation wherein I want to validate product against this rule whether this rule can be applied to that ...
3
votes
0answers
14 views

Magento 2 Cart Price Rule -“Category does not contain” not working

i have created cart price rule to give 10 percent off ,but have excluded few category as shown in screenshot , but does not works properly and 10 pc discount is applied for product category excluded ...
3
votes
0answers
102 views

Magento 2 Enterprise : Get Coupon code Expiration Date

I am using Magento 2.2.5 Enterprise Edition.I created cart price rule from admin.Now I want to display coupon expiration date in front end but in enterprise edition start/end date is saving by ...
3
votes
0answers
85 views

Apply Cart Price Rule (Coupon) on empty cart

Is it possible to apply a Cart Price Rule using a Coupon to a customers cart when the cart is empty? The reason is the following: We’d like to apply a discount code (cart price rule) for customers ...
3
votes
0answers
241 views

Bundle Price depending on items in bundle

This is a complex question about determining bundle prices. I have already hired a developer who cannot figure out how to make this work, and have spent days looking at extensions, so am reaching out ...
3
votes
0answers
667 views

How can create custom cart price rule for Custom Module in Magento 2?

I have a need for cart price rules in my custom module..anyone knows that how to add code in Form.php? Look Like That.
3
votes
0answers
461 views

How to show Discount amount on shopping cart page below Total order in Magento 2?

I want to show Discount amount after applying coupon code below total order on shopping cart page.
3
votes
0answers
2k views

Magento Coupon code is not valid

I am using Magento 1.9.0.1 and I am trying to use the magento coupon code feature. However, it's not working when I add any condition on subtotal. My condition is if the subtotal is greater than or ...
3
votes
0answers
214 views

How to create a Shopping Cart Price rule for free shipping for all items, with some exclusions?

I have a clean build of CE 1.9.1.1 and have loaded the sample data provided by Magento. I want to set up a Shopping Cart Price Rule for free shipping on all items except 2 SKUs (one simple SKU and it'...
2
votes
0answers
28 views

Breakdown discount at checkout cart and order summary

I have 2 applied discount, but at checkout cart and order summary it only shows one discount name with the total of the discount How can I breakdown the discount, so it will show each discount name ...
2
votes
0answers
21 views

Get quote discount total for each applied discount/promo

I want to display each promo name and total applied for current quote in checkout/cart , right now i'm able to display the name of each promo like this: $quote = Mage::getSingleton('checkout/session'...
2
votes
0answers
19 views

Create advanced shopping cart rule in Magento 2

I want to create a shopping cart rule in Magento 2. I have 6 products (range product A -> product F) to keep it simple. Those products cannot be ordered without a valid discount code. if cart has one ...
2
votes
0answers
29 views

Magento 2: How to get discount price for each cart rule in quote

I need to get all discounted price from each cart rule which is applied on current quote. I am getting applied rule ids from $quote->getAppliedRuleIds() and I am getting total discounted amount but ...
2
votes
0answers
30 views

Cart price roles - Discount 20% on a cheaper product - Magento 2

I am trying to set in Cart prices roles discount 20% on a cheaper product and I can't find a way.
2
votes
0answers
85 views

How to display Catalog Price Rule Discount and Special Price Discount along with Cart Price Rule Discount?

I'm using Magento version 2.2.4. Currently on view and edit checkout page, only Cart price rule discount is shown as below How to show Catalog Price Rule and Special Price (added while adding a ...
2
votes
0answers
109 views

How to prevent cart price rules from applying to bundle products?

I can't find a way to prevent cart price rules from applying to bundle products that already have a discount. The Bundle product has Dynamic Price = No. I have tried to exclude items with a special ...
2
votes
0answers
15 views

How can i add $5 extra fee on choosing of UPS shipping if order is greater then $200 using shipping rules in Magento2?

I want to add shipping rule for ups shipping to add extra $5 if order total is greater then $200. I want to use shipping Rules only as i will set many rules for different conditions.
2
votes
0answers
117 views

Check if coupon code is valid by using customer id and product id

How to check if a coupon code is valid if i only have customer id and product id data? and how to get this coupon sales-rule data?
2
votes
0answers
176 views

Magento 2 Free Shipping Rules not Applying to FedEx

Magento 2.2.3 We use only FedEx for shipping. FedEx shipping is setup and working fine, rates are being calculated correctly. We want customers to be able to receive free shipping on orders over $50 ...
2
votes
0answers
37 views

Ajax custom cart not applying shopping rule

In my ajax custom cart after applying a coupon code, adding a free gift product to cart programmatically. That new product is not detected for shopping rule validation. But the product is available in ...
2
votes
0answers
23 views

Condition rules in Promotion

I wanted to add BOGO (Buy one Get One Free) promotion on my website. I have Successfully added it but it is applied on same product only. Actually my requirement is like if user purchases 2 products ...
2
votes
0answers
247 views

Magento 2: Percent coupon with discount amount limit

I want to give customers a 10% discount coupon but I want to enforce a discount amount limit, that is that the maximum discount amount is $250. Is there a way to limit this using a coupon?
2
votes
0answers
659 views

Why was “cart price rule based on payment method” removed from Magento 2.1.8?

When Magento 2.0 came out, the well-known feature from Magento 1 - to add the payment method as a condition for a cart price rule - was not implemented. Magento 2.1 added this feature. Lately we ...
2
votes
0answers
236 views

Promo rules not applied when using custom attribute in condition

In magento2, I'm using the product custom attribute and setting a condition in promo rule. When the product is in a cart and if I use that promo rule, it's showing the coupon is not valid. Somebody ...
2
votes
0answers
582 views

Cart Price Rules does not work on a Configurable Simple Products

I am trying to create a promotion code, 17% off selected products with minimum spending of $30. the selected products eligible for this promotion code are SKU1 (parent configurable product a) SKU1-1,...
2
votes
0answers
490 views

Shopping Cart Price Rule for Free Shipping does not work in admin panel

This bug popped up when I upgraded to Magento 1.9.3(Community Version) I have set a Shopping Cart Price Rule to allow free shipping from 59.95 euros (Tax included). This rule works fine in the ...
2
votes
0answers
57 views

How to load Nearest Shopping Cart Price Rule in Cart Page of magento 2?

I want to display nearest shopping cart price rule in shopping cart based on the cart subtotal. Ex: If my shopping cart subtotal is $10, then i want to display shopping cart rule which is valid for $...
2
votes
0answers
165 views

Magento - add productcustom option to Shopping cart rule condition

I would like to add my product custom option (which programmatically added) to the Shopping Cart Price Rules (in Promotion). If option value is 1 and customer add 3 (6,9 etc) of such product with the ...
2
votes
0answers
303 views

Shopping card price rule NOT overriding catalog price rule

I'm having issues with the catalog price rules not applying the discount correctly and i have figured out that the shopping card rule does what i need to. Unfortunately even though i have the ...
2
votes
0answers
46 views

I'm searching for a way to add a minimum shipping fee to a Shopping Cart Price Rule

I'm searching for a way to add a minimum shipping fee to a Shopping Cart Price Rule. I've set up free shipping for most items in the store. For heavy and truck freight items, they are excluded. I have ...
2
votes
0answers
165 views

Function which validates the coupon code for an item

In my coupon code i have added a category condition and when i add the coupon code in the cart it will validate and add the discount. I want to find the function which validates this to add a custom ...
2
votes
0answers
48 views

Discount For Specific Order Number

We want to offer special discount for Order Number "10000900 - 10001000". Anyone who's order/purchase comes under this range will get a special discount of 40%. As far as i know magento doesn't have ...
2
votes
0answers
1k views

Catalog price rules vs. shopping cart price rules

I'm setting up price rules, but cannot get it to work like I want. I want to give all logged in customers 5% discount (preferably shown in the catalog with catalog price rules), but if one of these ...
2
votes
0answers
82 views

Magento Default Free Shipping not working with cart rule

I have Enabled free shipping from the admin. Create shopping cart rule for apply freeshipping only if these condition are true. But it display for all. I just want to free shipping only when cart ...
2
votes
0answers
96 views

New filter condition: Add cart id as attribute to shopping cart rule => Solving discount on first item only

we have been trying to solve this for ages. Apply 50% on first product in cart only. As I understand this cannot be done as is. Magento 1.9.0.1 So I was thinking. Can I add a new filter condition? ...
2
votes
0answers
92 views

Magento 1.7 Shopping cart rule, category not obeyed when config product in cart

Let's keep it simple, I have the following categories: Caps (ID: 1) Accessorries (ID:2) I have the following rule: "Any 3 caps , 10% OFF (discount applied to caps only)" And now I have the ...
1
vote
0answers
16 views

Magento 2.2.4 - Free Shipping Cart Price Rule ONLY for given products

We are trying to include a free shipping method for Specific SKU/Products that have a subtotal over 500 when in the cart by themselves. This is accomplished by using the conditions: If ALL of these ...
1
vote
0answers
31 views

All payment methods are not coming in Cart Price Rule

In Magento 2.3.1 I'm creating Cart Price Rule for Payment Methods. I have to create for Bank Transfer but there is Bank Transfer option not coming. https://www.screencast.com/t/h4rc4PnQU
1
vote
0answers
23 views

Magento 2: Advanced cart price rule

How can we setup cart price rule if customer purchase more than one time then first item should have actual price(X) but from second to last item, its price should be less (X-5) ? For example customer ...
1
vote
0answers
32 views

Discard Subsequent Rules Not Working As Intended

Scenario is I'm running 2 sales this weekend. Sale 1 is 15% Off Sitewide w/ coupon code Sale 2 is BOGO 50% Off Certain Items (These items are living in a category which is how it is defining them) No ...
1
vote
0answers
21 views

magento 2 apply default discount code

I am working on magento 2.3.0 and checkout is working fine with discount. I have created discount code named 95TEST which discount 95% on order total. Now, Every time when customer redirect to ...
1
vote
0answers
19 views

Multiple cart rules not being applied

I just recently updated to 2.1.16 and noticed that multiple cart rules were not being applied any longer to the quote. It is only applying one now. The cart rules are still associating correctly if i ...
1
vote
0answers
30 views

Add customer attributes to Magento shopping cart rules

I have customer attributes added using a module and I need to add add them to Promotions, especially for Shopping Cart Price Rules. I found this tutorial, but looks like I'm doing something wrong, ...
1
vote
0answers
50 views

How to see the guest-cart in the webpage

I successfully added a product with the api rest using and the access point '/rest/default/V1/guest-carts/:cart-id:/items'. Now, I need to show this guest-cart in the cart page of the client Any idea?...
1
vote
0answers
16 views

Applying shopping cart price rule to Customer purchasing from a gift registry

I would like to know if it's possible to apply discounts to customers purchasing from an existing gift registry Or is there a plugin/extension i can use that does this? Please help. Thanks
1
vote
0answers
17 views

Cannot update the cart page details with some custom discounts and reward point sums

In cart page I'm trying to update the cart total and subtotal values based on my custom discount and reward points. While select the discount and reward points the total has changed and show the ...
1
vote
0answers
13 views

coupon code restrict for only some associated products in magento 1.9.0

I want restrict coupon code some associate products I have one configurable product it have 25 simple products(associate products) i have create coupon code to apply only 5 simple product if i add ...