Questions tagged [shopping-cart-price-rules]

Denotes questions about shopping cart price rules.

Filter by
Sorted by
Tagged with
0
votes
1answer
24 views

Magento2: How can I apply shipping cart rules?

I want add shipping method on subtotal. If subtotal equal or greater $250 Shipping method should be Free and If less $250 Shipping method should be Flat Rate. Any one help in this? I have applied ...
0
votes
1answer
17 views

Integrity constraint violation when attempting to create salesrule

I've been trying to programmatically create a salesrule that applies a fixed discount if the given conditions are met: The customer email is emailtest@test.com The skuvisible (custom product ...
1
vote
0answers
18 views

Pricing rule : Percent of product price discount

I want to set up a "buy more save more" rule in Magento where one gets a 20% discount for every 150USD spent in a specific set of product categories. Is it possible to make sure products from ...
0
votes
1answer
41 views

How to Create Cart Price Rule Conditon in backend Configrations(system.xml)?

How to Create Cart Price Rule Conditon in backend Configrations system.xml
0
votes
0answers
11 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
0
votes
0answers
29 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 ...
1
vote
1answer
60 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
36 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
0answers
12 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
21 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 ...
0
votes
0answers
16 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
29 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 ...
0
votes
0answers
14 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
20 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
51 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
0answers
27 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.
1
vote
0answers
51 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
30 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
20 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
33 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 ...
10
votes
2answers
314 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
33 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
76 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
33 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
8 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
39 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
152 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
40 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
404 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
56 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
143 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
113 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
123 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
22 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
19 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
86 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
43 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
11 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
83 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
0answers
36 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
32 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
156 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
33 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
61 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
173 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
107 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
817 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
101 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
177 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?...
2
votes
1answer
185 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/...