Stack Exchange Network

Stack Exchange network consists of 174 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.

0
votes
0answers
8 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 ...
0
votes
0answers
8 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 ...
0
votes
0answers
5 views

How to Apply shopping cart rule for group products if there child products are not in same category in magento 1.9

I want to apply shopping cart price rule on category but that category have group products and there child products are not in same category. when i apply rule on group products then after i add ...
0
votes
0answers
14 views

Magento 2: Promotion percentage off, but only upto a fixed amount

I want to make a rule where I offer my customers a discount of: 50% on their whole cart, but the max discount amount is fixed to 20$. Can I make this in Magento 2, using one or a couple of rules?...
0
votes
0answers
11 views

Shopping cart Pricing Rule Not include in Order Total [closed]

I am using Extra Fee Extension based on Shopping Cart Price Rule, in checkout page the Extra fees Shopping Cart Price Rule showing, after placed an order the Extra fees Shopping Cart Price Rule not ...
0
votes
0answers
18 views

How to add a new field in cart price rule form and link it with Coupon code and should save in DB

How to add a new field in cart price rule form and link it with Coupon code and able to save this field in DB in magento 2.2 and also want to get in Order Export file, when ever the Coupon Code is ...
0
votes
0answers
26 views

Magento 2.3 - Preserving Success message for show

Here, I have coupon code (Shopping Cart Promotion) apply form on Landing page. After coupon code submitted and validated, Success message is displaying on that page. But when we moved on another ...
0
votes
1answer
20 views

Single product discount cart price rule not working in magento 2.2.4?

I have created cart rule for single product, in my cart rule I have added one condition for single brands. check below screen-shot fore more information. When We set rule only single product then ...
1
vote
1answer
31 views

Get applied sales rule ids for quote in Magento 2

I want to retrieve all salesrule ids applied to the quote, by using my quote id for example: $quote = $this->quote->create()->loadActive($quoteId); $salesruleIds = $quote->...
0
votes
1answer
15 views

magento 1.9 get shopping cart price rule label

I'm trying to display the label of the applied shopping cart price rule. I can display the rule name, but there is no label. $rule = Mage::getModel('salesrule/rule')->load($ruleId); echo $rule->...
0
votes
0answers
9 views

Prevent applying shopping cart rule for specific customer

Is it possible to prevent appliying shopping cart price rule for the specifc customer using event observer?
0
votes
1answer
23 views

Shopping Cart Price Rule - cart totals equal to or greater than w/ a equal to or less than subtotal

I'm attempting to create a shopping cart price rule with custom discounts based on cart subtotal. E.g. Less than $10k = 2% Between $10k and $25k = 3% Between $25k and $35k = 4% Greater than $35k = 5% ...
0
votes
0answers
25 views

product is showing free shipping eventhough the coupon is not enter

I have set up a cart price rule: if coupon "freeshipping" is enter, and any of the product A/B/C is in the cart, the shipping will be free, plus 5% discount. The issue i'm having now is that without ...
0
votes
0answers
9 views

How to find apply promo free shipping product on cart page?

I want to find a product under free shipping or not on cart page. Also I want to display free shipping message on cart page.
2
votes
0answers
19 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.
0
votes
0answers
15 views

Create Attribute for Unit Price to use in Shopping Cart Price Rules

I'm trying to create Cart Item attribute to target the Unit Price of a product to use for Shopping Cart Price Rules. Can someone please guide me in the process of achieving this if at all possible?
1
vote
2answers
36 views

Get salesrule id from order id in Magento 2

How to get salesrule id from order id,for example: public function getSalesruleIdByOrderId($orderId){ //??? }
1
vote
0answers
22 views

Add, get, and update sales rule condition in Magento 2

I want to be able to add,upadate and get conditions programmatically for salesrule, the sales rule condition: My salesrule condition is => minimum subtotal == 10000 && product skus is one of ...
0
votes
0answers
10 views

Reset catalog price in cart based on unmet condition

I've had a few people ask me about this recently, and I don't have much of an answer for them, I can't find much info on this elsewhere. What I'm trying to do is resetting a set catalog price rule in ...
0
votes
0answers
19 views

magento 1.9 rules for shipping price based on city

This question already asked but that not solve my question. I want to create rules for shipping price based on cities. This is my question if shipping address in Ludvika and above 200 SEK shipping ...
0
votes
3answers
65 views

How to add cart rule for specific categories in magento 2

I have magento 2.2.3 store, I am try to add shopping cart rule for products in specific categories only.But if someone adds has one product from selected categories and has more products from ...
0
votes
1answer
25 views

How to enforce minimum quantity for a given sku?

I am seeking a way to enforce minimum order quantities for an individual SKU. This is for a member's only wholesale only website. Example: SKU: X6T, which has four color options (red,white,blue,amber)...
0
votes
1answer
37 views

Magento 2 Admin panel - Cart Price Rule view hangs (spinning wheel), JS Error

How do I resolve this issue? The Marketing -> Cart Price Rules keeps spinning and not loading. Following is the error message from chrome /pub/static/version1544579836/adminhtml/Magento/backend/...
3
votes
0answers
50 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 ...
0
votes
0answers
9 views

PREVENT TOTAL WITH ZERO DOLLAR

kindly provide me with a solution to prevent orders with zero total, i am receiving in the past couple of days orders for one item, two item or 3 items with values zero; its done because of indexing ...
0
votes
1answer
20 views

Item Price being Ignored in Cart Price Rules

I'm trying to setup a promotion in Magento 2.2.2. and I'm really not getting the result that I want. I want it to be like: If you have at least 3 items in your Cart, and at least one (1) of the items ...
0
votes
0answers
14 views

Possible to combine Category Rules with Cart Rules?

I am trying to understand if and how the following scenario is possible. Discount rules are applied: Category Price Rule: e.g. Get 25% OFF all Category X products. Shopping Cart Price Rule: e.g. Get ...
0
votes
1answer
61 views

Magento2: How to show shipping method condition wise?

I want to show shipping method base on total product weight. I have 2 Shipping method A and B. If total shipping weight equal or less than 150. Then will show shipping method A If total shipping ...
0
votes
0answers
40 views

Applying conditions to price rules in Magento 1.9 sends me back to the Dashboard

I'm currently trying to apply rules to the shopping cart in Magento 1.9 but every time we try to apply a condition it it states "please wait" and refreshes back to the dashboard. The steps I take ...
0
votes
0answers
17 views

Free shipping not allowed for sale’s products

I want to put a product on sale and for these sale’s product free shipping is not allowed. Right now we are setting the Minimum Order Amount for Free Shipping is $100 From Fedex shipping method (...
0
votes
1answer
47 views

Cart Price Rule uses Configurable's Category instead of Simple's

I want a cart price rule to only be active for certain simple products under a configurable product, but so far I've been unable to accomplish this. Any ideas? One thing I've tried was to create a ...
0
votes
1answer
37 views

Magento 1- Keep Handling fee on free shipping price rule

We currently offer Standard Shipping, which can bee set to "for free" on certain products by shopping cart price rule. Now we want to offer an additional "priority shipping" with an extra fee. Of ...
0
votes
0answers
21 views

Quantity discount for same category

I would like to have a sale where if you buy 3 items from category 'widgets' you get 25% off. I setup the following rule. It works fine if you add 3+ products from category 'widgets(118)', however ...
0
votes
2answers
153 views

Set Category wise Discount in Magento2

I want to set Discount Category wise. MEN=>5% WOMEN=>7% SHOES=>5% ELECTRONICS=>10% If I create coupon for all rule customer can not apply multiple coupons in single order. How is possible? with ...
0
votes
2answers
43 views

How to get applied cart price rule in magento add to cart observer checkout_cart_product_add_after?

How to get applied cart price rule in magento add to cart observer ?
0
votes
0answers
18 views

Coupon always fail when conditions have “greater than”?

No matter what coupon I create, free shipping or xx% discount, when I set the conditions to be subtotal "greater than" or "equals or greater than", say, $100, the coupons always fail. That means no ...
1
vote
1answer
35 views

How to check programatically if a discount (cart price rule) was already applied to the cart?

I am a beginner with Magento 2 and need some help with creating a new rule for cart price rules. The rule should check if any discount or previously set cart price rule was already applied to the cart ...
0
votes
0answers
130 views

Magento 2: 10% off on first purchase but only for one product

We're using Magento CE v2.2.3 and we're selling a single product (with multiple options) which at the moment only has two prices. I need to set a promotion where a customer can get a discount of 10% ...
0
votes
1answer
39 views

How can i remove catalog price rule from products which are in cart magento1?

I want to remove catalog price rule when customer apply discount coupon in cart page. Because i want to give one discount at a time and when customer is going to apply discount code i need to remove ...
0
votes
2answers
37 views

Magento 2 - How I can setup product price per quantity

I have some simple and configurable products in Magento 2, before in the Magento 1 version we have tier prices to sell this products with different price per quantity. How I can do this on Magento 2 ...
0
votes
0answers
22 views

One coupon code for different quantity discounts?

Is there a way in Magento 2.2.5 to set up a rule where one coupon code "sale2018" can apply different discounts depending on the quantity? Say we have Blue Widget If customer buys 1 they save 15% ...
0
votes
1answer
242 views

How do I configure a Cart Rule for Free Shipping in Magento 2?

I'm using Magento 2.1.7. Trying to figure out a simple Cart Rule for Free Shipping using a Specific coupon code: Specific Code No conditions Actions: Apply - Fixed amount discount for whole cart ...
2
votes
0answers
65 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 ...
0
votes
1answer
62 views

magento 1.9.2.4 row total price in negative(minus) after shopping cart discount

Magento 1.9.2.4 in admin row total price is in minus after shopping cart discount - 1 - Product tier price - 2 - Product price with quantity - 3 - Checkout - 4 - Admin row total - 5 - ...
1
vote
1answer
180 views

Set Individual Product's Minimum Qty Allowed in Shopping Cart for a particular customer group

I'm looking to setup a particular product with a minimum order quantity but only for a single customer group ("Wholesale"). Is there a way to do this using the core Magento 2 functionality? Barring ...
1
vote
0answers
25 views

Shopping Cart Rules for Mixed Products

How do I get items in the cart to apply discount if some product attributes are different, to explain. I have this rule set up for a 4 for £10 promo: If ALL of these conditions are TRUE : If total ...
0
votes
0answers
65 views

Magento2: How to properly set actions & conditions when creating sales-rule programmatically?

I'm working on a script that creates shopping cart rules programmatically and I was wondering what is the best way to set the actions & conditions. This is what I have so far: /* @var \Magento\...
4
votes
1answer
109 views

Cart Price Rules having issues

So I created a rule with these conditions: Everything is working fine except for the State/Province conditions. It seems the rule is not taking the conditions for the state/province section. My rule ...
1
vote
0answers
29 views

Buy one specific product and get another specific product for free: 1 gift per one chargeable product

I created rule for "buy one specific product and get another specific product for free" (which works for me): Only thing is that when I put chargeable product and two gift products in the shopping ...
1
vote
0answers
85 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 ...