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.

0
votes
0answers
5 views

How can I add a promotion like flat 15% + additional 10% on order above 1299?

I am configuring the promotions and need help with applying discounts like Flat 15% off + additional 10% off on purchase above Rs. x
1
vote
1answer
987 views
2
votes
2answers
88 views
+200

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
1answer
21 views

Magento 2 : Difference between is_used_for_price_rules and is_used_for_promo_rules?

Catalog product attributes have two properties (can be found in catalog_eav_attribute table) is_used_for_price_rules is_used_for_promo_rules I suspect that they connect to cart and catalog rules. ...
0
votes
0answers
6 views

Split cart rules/discount over multiple lines

I am trying to work out where or how I can get the discounts/cart rules to be applied across multiple lines eg Current Display Subtotal: $xxx.xx Discount (Free Shipping, Applied Coupon Code ...
0
votes
0answers
7 views

Incorrect Shipping Cost after returning to shipping page to change address, when Cart Price rule is active

I think I found a bug in how Magento 2 calculates shipping cost and I was wondering if anyone came across this issue and found a solution. Here's the breakdown: Magento 2.3.1, default front end theme,...
0
votes
1answer
371 views

client denied by server configuration

when I try to apply coupon code in server its showing 403 forbidden error . But its working on local machine. below the error. please check it. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">...
0
votes
0answers
26 views

Configure cart rule in magento2?

I want to create a cart rule with the following conditions: Buy 3 products at £50 (Price of each product must be equal to £30). How to do that. Thanks.
0
votes
1answer
787 views

How to make Cart Rule test against Subtotal *with* Discount?

Consider the following snippet from my populated Magento CE 1.9.0.1 cart: I have two test cart rules in play here: "50 Bucks Texas", Priority 1, discounts the cart by 50.00 if the customer has ...
0
votes
1answer
771 views

Pincode based shipment restriction for each product

Help me to set the pin code based shipping for each product. Example: Product A - shipment available in xxx pin code but Product B - shipment not available in xxx pin code. Suppose user add both ...
0
votes
0answers
10 views

How can I how effect of cart rule on product and category page

I'm using a get method (via the URL) to apply coupons on my site. Is there a way I can reflect the effects of the coupon on the product and category pages as if the product has a special price. ...
0
votes
0answers
18 views

$15 off when you spend $100 or more coupon

We added a cart price rule that gives you $15 discount when you purchase a total of $100 or more. We recently got an order having a discount of $100+ when the customer used the coupon code. I've read ...
6
votes
2answers
1k views

Magento 2.2.1 - how to give discount on payment methods?

I go to Magento 2.2.1 Admin > Marketing > Promotions > Cart Price Rules and create a new Rule: Conditions. Option "Payment Method" is not showing up in Conditions Tab. I want to give some ...
0
votes
0answers
11 views

Product price issues after custom discount

I have built a custom salesrule which implements the DiscountInterface. When the sales rules criteria is met, the calculate() method runs on the for each product in the cart. Rather than apply a ...
0
votes
0answers
23 views

Cart Price Rule, buy one get one free product range

Currently looking at a sale option with a group product on the website. Buy one simple product get any other simple product from the same group product free. I've setup a cart price rule with the ...
1
vote
1answer
73 views

Magento 2.2.4 cart price rules - serious bugs in discount

I have created a cart price rule as per the following 2 pictures When I added 3 items to the cart, the discount is given correctly However, when the quantity is changed to 2, the discount is still ...
1
vote
2answers
966 views

How to get discount value round up in magento

I need to show round value of discount coupon, like if i have apply 10% discount on cart and after apply if 99.90 value is deducted from subtotal then if need to show 99.90 value round off and then ...
0
votes
1answer
837 views

apply custom discount in cart magento2 via observer

I have created a custom promotion in magento2. To get that working I needed to do some customization in cart which I am trying to do with salesrule_validator_process event. I needed the rulename and ...
0
votes
0answers
12 views

shopping cart price rules ( Buy X and Get Y product ) for different sku's

I have a scenario, Where i have created shopping cart rules of type, **Buy X and Get Y product Free** Currently, If I add 1 product with quantity 3 then discount is applied. My Requirement: Need ...
0
votes
0answers
17 views

shopping cart rules magento 2.2.1

I have done below steps to Set up a buy x Get y free on Shopping cart rules 1st. Go to Marketing > Cart prices rules 2nd. Click on Add new rule 3rd. Define a name, a short descritpion, select ...
1
vote
2answers
1k views

Magento cart price rules conditions not working properly

I have a discount of free shipping which I want to apply when the shipping address is in the U.S. and the subtotal is $100 or over. I am trying to exclude Hawaii and Alaska from receiving the free ...
1
vote
1answer
14 views

Pre populate the discount code in checkout/cart

I want to know if we can pre populate the discount code in the checkout/cart page when customer clicks a button from a page. Aim is when customer clicks a button from a page it should redirect them ...
0
votes
1answer
844 views

How to show Promotion description on associated product page

I have created a promotional shopping cart price rule for category id 87 as shown in below image- Now I want to show its description on all those product's view page on frontend which satisfy this ...
0
votes
1answer
1k views

Apply discount if 2 of the different item from a category are added

I'm looking to build the following Shopping Cart Rule and I have no idea how to do it. I have multiple sku available, if you add 2 different sku in your cart from the same category, you get 10% off. ...
0
votes
1answer
68 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
18 views

Magento 2.2.8 Cart Price Rule with Country doesn't work when Coupon Code used

I have Magento 2.2.8 with a live and working store. We can not seem to make Cart Price Rules that have a Country/Region/Postcode/Shipping Method work when coupon codes are used. when remove that ...
0
votes
1answer
26 views

CustomerGroupsId always true for cart price rules

I'm a bit new here in the forum som feel free to slap me on the fingers if I'm dumb. I want to change the logic in the sales rules engine so it doesn't check the salesrules_customer_id table and ...
10
votes
0answers
257 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 ...
0
votes
0answers
19 views

How to make one cart rule like 1 Shirt =Rs.1900 , 2 Shirt =Rs.3200 , 3 Shirt =Rs.4400 in magento-2.2?

Original Price of shirt is different like Rs.3199 ,Rs.3799,Rs.2999. I want to make a cart price rule with following conditions: If cart having 1 shirt it will give in Rs.1900 1 Shirt =Rs.1900 , 2 ...
1
vote
1answer
599 views

Magento 2 get catalog rule product details in final_price.phtml

I will try keep simple and short. e.g I have set a rule in catalogrule table and I am interested in 2 fields value: simple_action: by_percent discount_amount: 40.0000 and in catalogrule_product ...
1
vote
1answer
911 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 ...
3
votes
1answer
123 views

Cannot select conditions for Cart and Catalog Price Rules

I currently have a problem with Magento 2 (2.2.7) where I cannot select conditions in the Catalog or Cart price rules. This problem also occurred on Magento 1 and seems to have migrated across along ...
1
vote
0answers
17 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 ...
3
votes
2answers
90 views

Magento: Buy 3 pay for 2 does not work for me

I like to set a "Buy 3 pay for 2" item rule. I have created a "Cart Price Rules" but it does not seem to apply. If I add 3 of the same items or 3 different items it still results in the original ...
1
vote
0answers
26 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 ...
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 ...
8
votes
1answer
1k views

Shopping Cart total percentage discount when specific item is in cart

I have a specific type of shopping cart rule I'd like to create. You can think of it as a 'variety discount'; the more products from different categories the customer has in their basket, the greater ...
1
vote
1answer
1k views

Magento2 : Something went wrong while saving the rule data. Please review the error log

I have Magento2 version 2.1.8, when I tried to create new cart price rules after entering all info it doesn't get saved and shows error. "Something went wrong while saving the rule data. Please ...
0
votes
1answer
18 views

Prevent applying shopping cart rule for specific customer

Is it possible to prevent applying shopping cart price rule, for the specific customer, of the using event observer?
0
votes
1answer
209 views

Can't get Buy X get Y Free for a category

I am trying to set up a Buy X Get Y Free promo. The idea is that if you buy 10 items in a specific category and get 1 (the 11th) item free. No matter what I do I am not able to get this done. In ...
0
votes
1answer
31 views

Shipping cart rule not working

I have set $40 as flat shipping and I want that if anyone purchase above or equal $50 then the flat shipping become 0. So I am setting this rule for the purpose: If ALL of these conditions are TRUE :...
0
votes
0answers
7 views

Can't get BOGO to reflect in cart, but applies. HELP

I am trying to create a BOGO coupon in Magento. 2 things. Is there a configuration to turn on the website field in the Cart Price Rules (it's not available to me)? When i create the BOGO, i can ...
1
vote
1answer
356 views

Exclude one SKU from all price rules

I have one SKU I would like to exclude from all my price rules, so none of the price rules can be used on this specific SKU. But I have no idea how to do it. Can you please help?
0
votes
1answer
37 views

Default Condition In Promotions->Shopping Cart Price Rules

Our store is planning to support shipping in multiple countries. Previously the promotional rules did not have any shipping country attribute as part of the conditions as it was not required. Now we ...
0
votes
2answers
276 views

Shopping cart price rule 2 for 1

If I use this kind of price rule in Magento (1.9.2.2) Buy X (1) get Y (1) for free (the step is 1) within a certain category - the rule only applies if customer puts 2 products with the same SKU (...
2
votes
0answers
27 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 ...
3
votes
3answers
2k views

Create coupon code programmatically (in Magento 2.x)

I'm trying to port over tens of thousands of coupons from a custom e-commerce website into Magento 2.0.8 and I'm having a hard time getting it to work. These are simple coupons either fixed $ or % off ...
1
vote
0answers
63 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 ...
0
votes
0answers
29 views

Apply discount only if subtotal of products is greater than a certain amount

I need to create a cart price rule which will be applied only if: Subtotal is greater than 2000. The products forming the subtotal must be non-discounted. The products forming the subtotal must ...