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.

2
votes
1answer
208 views

Percentage of Discount based on the Cart Subtotal?

I have to apply 10% discount of subtotal in the cart page. In the backend configuration of the Magento, I could see the option of applying fixed amount discount for whole cart. But I need percentage ...
2
votes
1answer
16 views

How can I get more options for a rule that only allows “is/is not”?

I have an attribute (strength) that has 5 levels. For a sale (shopping cart rule) we want to try and sell the higher level options for 70% off. So when I was testing I only could get the coupon to ...
2
votes
1answer
1k views

SQL Error: Integrity constraint violation: 1062 Duplicate entry

Every time I update my products in /admin I get this sql error SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '2-0-0-1-1-375-0' for key 'EAA51B56FF092A0DCB795D1CEF812B7B', ...
2
votes
2answers
573 views

Shopping cart rule for a particular set of SKU's in a category

How can i set a shopping cart rules for particular set of SKU's in a category. I have tried below condition but the rules applies for all SKU's in a category. If ALL of these conditions are TRUE : ...
2
votes
2answers
1k views

Apply customer specific price

I have to make a shop on which products' prices are specific per customer. I must call an external service which returns me a product price depending of a customer and an ordered quantity. First, do ...
2
votes
1answer
1k views

cart to show coupon or shopping cart rule with tax

There is major problem with cart and discounts, it always shows amounts without taxes calculated for it. For shopping cart rules, coupons etc. How to manage the code to show discount with correct tax ...
2
votes
1answer
2k views

How to view discount amount in cart for each product row?

Is it possible to show the discount amount for each product row inside the cart? Price rules are set inside the catalog
2
votes
1answer
470 views

Magento Community - Coupon Code Functionality

Trying to create a coupon - $10 off min $150 excluding products from categories A, B, and C. But somehow can't get it to work. Have an instance whereby products from other categories (not A/B/C) ...
2
votes
1answer
197 views

Limit client number of products order

How can I limit the client to only buy 4 products per month. For example I have product A, B, C, D and E. The costumer makes an order and puts in the cart product A,B and C. In the same month the ...
2
votes
4answers
1k views

How to set a rule for buying two products together to reduce the total price?

I am trying to make a block which shows two products in it with a rule that if a customer bought these two products together the total amount will be reduce by some extent. e.g. if product A is of $...
2
votes
2answers
717 views

Why are Nominal Items/Recurring Profiles not affected by shopping cart price rules?

I am working with Recurring Profiles and I'm trying to understand why the promotion "shopping cart price rules" don't apply for these items? Thanks
2
votes
0answers
29 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
29 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
1answer
28 views

Create coupon that sets the shipping rate to a specific amount

I need to create a coupon that sets the shipping rate of an item to a specific amount. For instance, if the customer purchases any item and uses this specific coupon code (cart rule), their shipping ...
2
votes
1answer
115 views

Apply cart rule to products without other discount

Scenario: Add a new condition to the cart rules in the section "Apply the rule only to cart items matching the following conditions". The condition should like this: "If Absolute discount amount is/...
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
33 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
35 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
89 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
116 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
2answers
97 views

Need Help? In one shopping cart price rule can we create two discounts 10% and 5% for 2 categories or more?

We sell copier parts, for one manufacturer Konica Minolta we want to give 10% off and for other manufacturer Ricoh we want to give 5% off. So in shopping cart if customer buys products from both ...
2
votes
0answers
16 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
4answers
139 views

Make one of article X free, if article Y is N times in the cart

I have an article "Wood" (Articlenumber 1115). If the user puts 42 wood in the cart, then he should get one Axe for free, but he must put the Axe to his cart himself, because he has too choose one. ...
2
votes
0answers
125 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
184 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
2answers
181 views

Shopping Cart Price Rule Magento 1.9.2

Want to know how we can Set Shopping Cart Price Rule in Magento 1.9.2 for specific Category? i have 1 product which is under multiple categories but i only want to put Condition on One Particular ...
2
votes
1answer
376 views

Magento 2 : AdvancedSalesRule override validate method

I need to validate custom quote item details, So I am overriding module AdvancedSalesRule "\Magento\AdvancedSalesRule\Model\Rule\Condition\Product" file. But Not getting quote item Id in model object. ...
2
votes
1answer
193 views

Magento 2: Disable all methods when free shipping method is applicable

We're using following table rates for our store and these are working fine. When weight is 0-1(kg) , rate will be 4.5 When weight is 1.1- ~ (kg), rate will be 4.9 We also enabled Free shipping when ...
2
votes
0answers
24 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
259 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
683 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
1answer
835 views

Magento2: Apply coupon code to regular price not to special price

When applying a coupon, it gives a discount to final price (special price if set). How to make modification that discount would apply only to regular prices (before the previous discount). Note: I ...
2
votes
0answers
245 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
595 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
494 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
1answer
106 views

Setting Up a Buy X Product, Get Y Product Free

I would like to set up a "Buy X Product, Get Y Product Free" rule on Magento. Can anyone show me how to do this?
2
votes
1answer
330 views

Magento 1.9 How to Remove COD via shipping cart rule

I want to remove payment method Cash On Delivery with the help of Shipping cart rule. If cart value is more than 10,000/- Cash On Delivery must be removed from Payment method. I was disabled default ...
2
votes
0answers
166 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
307 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
1answer
37 views

Shipping Price Promotion - Reduced shipping rate based on quantity of specific products

I'd like to set up a price promotion that reduces the shipping cost by 50% on specific (categorised) products, once cart quantity increases past 1. So for 1 item, shipping is 9.95. For 2 items, ...
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
170 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
489 views

shopping cart rule for freeshipping not working with subtotal

Could any one please help me to set up a shopping cart rule for freeshipping in magento for all orders over AED - 1,850, USD - 500, GBP - 350, EUR - 450. I tried to set the option Subtotal equals ...
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
1answer
330 views

Magento shopping cart rule exclusion logic

I am trying to create a shopping cart rule which excludes special price products I have set the condition as below If ALL of these conditions are TRUE : If an item is NOT FOUND in the cart with ...
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? ...