We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [shopping-cart-price-rules]

Denotes questions about shopping cart price rules.

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

How can I select Minimum Sale Quantity as Quantity in cart in cart price rules conditions?

I need to retrieve Minimum Sale Quantity as a selectable value in conditions for cart rules actions. Instead of inserting a numeric value I would like to insert this value dinamically. For example ...
0
votes
0answers
10 views

Over rule special price with discount code

Currently, on our website we have both tier pricing and special price conditions applied for a mix of percentages. However, I have a trade customer who receives 10% off across everything. Is there a ...
0
votes
0answers
24 views

M2: coupon code for cart price rule applies percentage discount to whole cart instead of specific products

If I apply my Magento 2 cart price rule coupon code which is set up to give a 10% discount on products of a specific attribute set the coupon code will show as having been applied to my whole cart; ...
0
votes
0answers
29 views

Set discount only for one category for product who has multiple categories - Magento 2

I have some products which have 2 categories: Fabric and Wallpaper. I set cart condition that apply if category is Fabric and quantity is > 2. This works perfect. But I have a problem because some ...
0
votes
0answers
27 views

Buy x get y Free Cart Rules for all Items from Category

Tell me, please. How to set up "Buy X Get Y Free", I can’t get it. let's say I have a Category in which there are 4 Articles (4 different products of wine). I want to configure CART so that if there ...
0
votes
0answers
22 views

Magento 2 Same Coupon code with different Actions

I am having 3 types of Category C1,C2 and C3. In every category there are products. 1) C1 has P1,P2 and P3 (Each P cost $38) 2) C2 has P4, P5 and P6 (Each P cost $58) 3) C3 has P7 and P8 (Each P ...
0
votes
0answers
17 views

magento 2 add one more text field in cart price rule and save the data in salesrule table

How to add one more text field in cart price rule and save the text filed value in sales rule table.
0
votes
1answer
34 views

Magento 2 cart rule conditions and action to exclude specific product using sku

I have added cart rule and its working properly, I need to exclude specific product from cart rule and others to go with cart rule. EX: sku1 need to exclude from cart rule. 1.Only "sku1" in the ...
0
votes
0answers
36 views

Magento 2 cart rule not working

I have created a cart rule in my magento 2 site. It's working on my local environment. but it's not working in live( production) site. All the target items not able to add to cart after rule ...
1
vote
0answers
32 views

How to apply coupon code only to normal price not special price

I created one shopping cart rule for 10% discount using coupon code tenoff for all products but I want to apply this discount only on products which don't have active special price. Is this possible? ...
0
votes
0answers
23 views

Magento 2 Uses per Coupon not working on cart price rules

I have Create new Cart rule to apply 10% discount with Coupon Code OFF10, when we set Uses per Coupon Value to 50 Then Coupon is not apply, it show error message 'The coupon code "OFF10" is not valid'...
1
vote
0answers
14 views

I am facing issue of “Specified rule does not allow auto generated coupons” while saving cart rules

I am customising module where i want to save cart rule without Use Auto Generation. When i save cart rules its showing this error Unable to save program with ID 37. Error: Error occurred when saving ...
0
votes
1answer
32 views

Magento 2 : How to override price functionality on cart

Want to override cart price display functionality. Want to apply some additional formula before displaying Price on the cart and mini cart. Can anyone tell me how can I achieve this? Any help would ...
0
votes
0answers
25 views

Magento2 - how to apply cart rule on grouped product?

I have no idea about how to apply the discount for grouped product on the shopping cart page. If anyone have an idea please let me know how to do?
0
votes
1answer
15 views

how to check an array with cart price rule ID magento 2

I am trying to get Cart_Price_Rule. public function test() { $ruleArray = $this->adventCollectionFactory->create()->getData(); $ruleArray = array_column($ruleArray,'promo_rule_id')...
0
votes
0answers
31 views

Magento 2: Shopping Cart Rule discount based on item quantity

I'm a Magento 2 newbie. My customer wants to add a cart rule like, apply 2% discount if item quantity >=12 apply 4% discount if item quantity >=24 apply 6% discount if item quantity >=36 apply 8% ...
0
votes
1answer
33 views

Buy 3 items and get the cheapest one free: Magento 2

I'm searching for at solution for being able to sell a customer 3 different product items and then getting the cheapest one for free. Can I accomplish this through the magento admin or does it ...
1
vote
0answers
19 views

Magento 2: Get discount price after rule applied

Magento 2 get the discount price after rule applied. i.e I have different rules applied on cart. how can I find which rule give how much discount on subtotal. Currently, I can find the discount amount ...
0
votes
1answer
28 views

Magento 1.9 - Free shipping not working with cart price rule

I have set up a cart price rule which provides free shipping if a product is found from the mentioned category but it is not working properly, coupon code is getting applied on the front-end but it is ...
0
votes
0answers
79 views

Magento 1.9: shopping cart rule free shipping action not working but other actions do

When I set up a price rule on our website putting "Free Shipping" as the action doesn't do anything but I know the rule is matching with the products because if I give a discount instead the discount ...
0
votes
1answer
12 views

magento 1 'Stop Further Rules Processing' setting acting strange

I added a cart rule with 10% of product price discount to all products. I selected 'Yes' for Stop Further Rules Processing drop-down, but its not giving 10% discount, instead it gives almost a 1% ...
0
votes
0answers
20 views

Not to understand what is happening in following cart price rule condition: Magento 2

I am having a cart price rule condition, I need not able to understand the condition, can anyone explain to me what will happen as per condition when a product of 'Product_Motorised Golf Buggies' ...
0
votes
1answer
34 views

payment methods cannot be saved in cart price rule after upgrade to Magento 2.3.2

I have a custom plugin that follows this guide: Magento 2 - discount depend on Payment Method does not work So customer will get 4% discount if they choose online payment solution instead of bank ...
2
votes
1answer
48 views

Magento 2: How to add a custom discount and title under discount in cart page

In magento2, how to add a custom discount and title under discount in cart page I have created a custom promotion in magento2. I needed to do some customization in cart which I am trying to do ...
0
votes
0answers
13 views

Apply condition in cart price rule for 'Price in cart' Incl tax : Magneto 2

I want to apply cart price rule with product price incl tax. I have used price in cart attribute for condition >= 25, but it gets applied on cart price excl tax, I need to apply it on cart price incl ...
0
votes
0answers
71 views

Magento 2: Custom Conditions Rule in Custom Module Validation

I have created a custom module contain two sections: The first section contains title(text Field),icon(Uploader) and custom dropdown ,the second section contains conditions rule. In this module was ...
0
votes
0answers
20 views

Apply coupon to only non discounted or non sale products

I need to apply coupon to only those product in a cart on which catalog price rule is not applicable, when there are more than 1 products in cart. As currently when I apply a coupon code it applies ...
0
votes
0answers
19 views

Magento 1.9.0.1 - Help to set up my Shopping Cart Price Rule

Not really sure what I am doing wrong... The discount should fire when the total value of the products of a certain category (#305) are above a threshold (499.00). Anything wrong with that?
1
vote
1answer
37 views

Difference between Free Shipping field options in Cart Price Rule

I have to apply free shipping over 1000. For this, I'm creating catalog price rule according to this but it's not working. In conditions, I have set Subtotal greater than 999. https://www.mageplaza....
0
votes
0answers
20 views

Magento 2,How to add a Extra Condition Tab in just below default condition tab

In the picture, the pointing position want to add an extra condition field. please give a proper code.
2
votes
1answer
202 views

In magento 2 how to add custom options in action apply field in cart price rule form in admin

In magento 2 how to add custom options in action apply field in cart price rule form in admin In admin panel -> marketing ->cart price rule -> add new rule Image: Reference Image
0
votes
0answers
31 views

Magento2: Coupon code removing issue after merging quote

I have created a custom column 'discounted_total' in quote_address table for discount calculation. use Magento\Quote\Model\Quote\Address\Total\AbstractTotal; use Magento\SalesRule\Model\CouponFactory;...
0
votes
1answer
25 views

Magento 2 complicated shopping cart rule

I can't figure out how I can create a complicated cart discount rule I need and if it can be done. Conditions for customers should be: One specific brand called "Xbrand" If customer add 2 products ...
0
votes
0answers
11 views

Cart Price Rule - Discount Quantity

I've set up a cart price rule: Buy A, B, or C sku and get $30 off another A, B, or C sku. So the customer would have to purchase say two A skus to get $30 off. The problem I'm running into, is that ...
0
votes
1answer
25 views

is Magento2 supports the multiple coupons from same rule?

I'm using the 3rd party extension for multiple coupons extension. it working as differnt rules apply but I need same rule different coupons need to apply in the cart. this is work in magento2? my ...
0
votes
1answer
36 views

Magento 2 - Cart rule - Buy X get free gift

Is there any way or extension to set their cart rules? Rule 1: buy X > 50 - get free gift A Rule 2: buy Y > 100 - get free gift B If order is made with Y > 100 AND X > 50 only get ...
0
votes
1answer
24 views

Magento 1 creating a variable fixed-amount coupon code in PHP

I'm trying to create a coupon code for a customer that gets a fixed value from PHP (essentially it can be a different amount for each customer/instance of generation). For the coupon code generation, ...
2
votes
1answer
60 views

How to Modify Discount amount of cart price rule on cart page in magento 2

I would like to modify Discount Amount of cart price rule on the cart page. Actually Magento apply rule using class Magento\SalesRule\Model\RulesApplier and function is protected function ...
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
39 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
27 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
50 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
28 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
14 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 ...