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
1answer
20 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 ...
0
votes
0answers
17 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
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 ...
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 ...
0
votes
1answer
30 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
6 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 ...
0
votes
1answer
35 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 ...
2
votes
0answers
22 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
27 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 ...
1
vote
0answers
38 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
22 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 ...
2
votes
3answers
58 views

Magento 2 New user give the discount

In Magento 2.2.6, How to give 5% discount for a newly registered customer ? Thanks in advanced!
1
vote
1answer
39 views

Free shipping code is not working for UPS in magento 2

If you create a cart price rule for free shipping, it works on all shipping methods (Flat rate, table rates, ...) except in the UPS method. I have tried several configurations but nothing. I have ...
1
vote
1answer
35 views

Magento 2 : How to add a shipping charges via Cart price Rules?

In Magento 2 It is possible to add shipping charge if specific category product is available in cart. If not then please suggest me another way. Thanks in advance..!
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 ...
0
votes
0answers
11 views

Cart Price Rule, Code is not valid while listed with Action conditions

I've setup a shopping cart rule which is currently the only one. The aim is give 10% off any product from the category with the ID 2 Setting up the price rule just to apply 10% to everything works ...
1
vote
1answer
34 views

How to show Additional Shipping Fee of per product on checkout page by an attribute

I have added an attribute for use on the product page: Now I would like it show on cart page like this: If the quantity of a product in the cart is increased, I would like the additional shipping ...
1
vote
1answer
35 views

Magento Shopping cart price rule with free shipping and discount

I'm trying to set up a shopping cart price rule to create a customer coupon code that accomplishes two goals: IF customer apply coupon code then 1) 20% off all customer and 2) free shipping(...
0
votes
0answers
10 views

How to get total salesrule that has been used for today by customer using salesrule id

How to get total promo has been used for current date (today) by customer using salesrule id and customer id?
0
votes
1answer
57 views

Buys X get cheapest as Y from same category magento 2

As per the answer from here I have created an event for salesrule_validator_process and the code is below. class CustomCartPriceRules implements ObserverInterface { public function __construct() {...
3
votes
1answer
33 views

How to set promo can be used x times for each day in Magento 2?

Can i set cart price rule for customer that goes with condition like this: Each customer can only use this promo x times for each day
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 ...
0
votes
1answer
35 views

Magento 2: Cart price rule performance issue

I have imported 6.3 million coupon in Magento 2.3. I have performance issues on checkout page. When I apply coupon it takes lot of minutes. How to increase performance ? I am running database on ...
0
votes
0answers
25 views

Buy X Get Y ,working But applying to whole cart

Below is my condition for cart rule If ALL of these conditions are TRUE : If an item is FOUND in the cart with ALL of these conditions true: Price greater than 10 Price less than 150 ...
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, ...
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 ...
0
votes
0answers
37 views

Magento 2 programmatically update coupon condition

I have created coupon with condition programmatically, so i like to update in same way, for creating the coupon I've followed the below URL and achieved How to create sales rule programmatically in ...
0
votes
1answer
68 views

Magento 2 programmatically create cart rule with condition issue on setOperator

As per my requirement am creating the cart rule programmatically, for that i am reviewed the following code and implemented in my local public function createRule() { $price = 100; $sku = '...
3
votes
2answers
89 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
51 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?...
3
votes
1answer
83 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/...
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
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 ...
0
votes
0answers
18 views

free shipping applied for all products instead of products in condition

I need to apply free shipping for only products with attribute condition set to new when the subtotal of those products is 3000. I've done the following: 1- enable cart promotions for attribute ...
3
votes
0answers
16 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
1answer
88 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 ...
2
votes
1answer
70 views

Error Enter Valid date at cart price rule and save it db, after adding time in date picker in Magento 2.2.6

<?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd"> ...
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 ...
1
vote
0answers
8 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
37 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
51 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
33 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
60 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
211 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
53 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
1answer
17 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?