Questions tagged [shopping-cart-price-rules]

Denotes questions about shopping cart price rules.

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

Add a custom attribute to Cart Price Rule Coupon

I want to add a boolean attribute published to the coupon rule form (different from activate) but the same kind of attribute. From what I see the only attribute linked are product attributes. I've ...
0
votes
0answers
22 views

Cart price rule issue for uses per customer

I am using Magento ver. 2.4.3 and I have created the coupon code with following configuraion: uses per coupon - 1 uses per customer - 1 Expected result: The coupon should be valid only once for ...
0
votes
0answers
16 views

Magento 2.3.1 Is there a way to apply discount to only 2nd product added to cart?

We want to achieve or to have below discount rule. Please let us know if it is possible or it can be achieved through any plugin. There are 3 SKU's A, B, C. User added SKU A to the cart. The user will ...
0
votes
1answer
20 views

Getting Unknown Type error for custom option in Cart Price Rule

I have added custom option for 'Apply' in Cart price rule. But when trying add product to cart I get following error place_x_receive_y_free is unknown type {"exception":"[object] (...
0
votes
1answer
7 views

Cart price rule apply coupon discount for all product not only selected sku magento 2

i have cart price rule ( coupon Code)for 6 products which is working fine but when we add product not under the rule also get the discount
0
votes
0answers
21 views

Cart Price Rules always applied - regardles of storeview, status or even expiry date

I have a problem with Magento 2 (2.4.3-p1) where the Cart Price Rules are always applied to products on the checkout. Regardless of the rule is active, conditions are met, the coupon code was entered ...
1
vote
0answers
21 views

How to validate Cart Price Rule in Custom Module?

I want to validate cart price rule in custom module.
0
votes
0answers
13 views

Complicated products discount scenario

I need to make this scenario in my catalog with magento 2.4.3. I use a catalog price rule which gives a 10% discount to some products of a certain brand. I have this rule created easily with ...
0
votes
1answer
20 views

Cart Price Rules - disable general discount after using code

I have a problem, I want to set up discount with a code which offers 50% on a specific product. But I also have a general discount which offers 20% after buying N products. I want to disable the ...
0
votes
1answer
29 views

Magento 2: Cart price rule conditions not working

I have created a cart price rule with coupon code. The condition should be that the code should be applied for all categories except a few categories like this: I don't know why but this is not ...
0
votes
1answer
34 views

Exclude Product from cart rules if product have catalog rule discount

I have overridden the below function for business logic(Want to exclude a product from cart rule which has catalog rule applied on the product) and it's working fine on the cart page vendor/magento/...
0
votes
0answers
13 views

Add New Sales Rule Action Logic

I need to add logic to a new action that I have added to the dropdown of a sales rule. Essentially I need to change the Buy X get Y Free rule so that it works differently. So I have added a new action ...
0
votes
1answer
25 views

Magento 2 shopping cart based on quanity

i want to cart rule setup for specific category product my all product price is $14.99 so i want to rule like when customer buy 1 product price total : $14.99 when customer buy 2 products total : $...
0
votes
1answer
25 views

Magento 2 Add Condition Rule In A Custom UI Form

Im using Magento 2.3.6. I want to add condition action in my custom module admin form. I use like below code but I have not received condition in var_dump with save action. Please suggest me what i ...
0
votes
0answers
8 views

Can i create multiple cart price promotions on the same products Magento 1

i have a cart price rule running on a group of products that have a price of 79.95 and if you buy 2 of these products , you get them for 119. The problem i am facing is i want to add another promotion ...
0
votes
0answers
58 views

Magento 2 cart price rule discard subsequent rules not working

I added 2 new rules to magento 2.3.4 and these aren't working as they should. These rules are for Guest Users Rule 1: DIS100 $100 off $699 Coupon : No Coupon (auto apply) Priority: 2 Condition: ...
0
votes
0answers
27 views

Magento 2 : Create duplicate cart price rule using existing cart price rule id

I want to duplicate the cart price rule in magento 2 by using cart price rule id. is there any way?
0
votes
0answers
8 views

How to set up a double points promotion in magento 2

I am trying to set up a double points promotion in Magento 2 which will run for a week. I am not sure how to do this Thanks Richard
0
votes
0answers
25 views

How to customize cart price rule in Magento 2?

I have configured below pricing rule and need to achieve some requiremensts mentioned in bottom. I have 20%, 30%, 40%, 50% catalog price rule configured I have 40% cart price rule configured ...
0
votes
2answers
63 views

Discount the cart price which product price - Magento 2.4.2 CE

I need to discount the line item's total price in the total when the particular product is added to the cart. How to implement can get any suggestion. Eg: Product A added to the cart at the qty of 5 ...
0
votes
0answers
15 views

cart rule with discount despite minimum order value

I want to create a discount code that allows costomer to buy article for 0€ (also shipping for free). Want to use cart rules because there I can easily create a list with 100 codes. Minimum order ...
0
votes
0answers
13 views

Custom cart price rules

I want to create a cart rule which is: buy 2 specific products and another product will be free and add to the cart automatically I tried to create configuration by Magento default cart rule, however, ...
0
votes
0answers
24 views

Magento Cart Rule: discount increases with number of items in the cart from the same category

I want to make a cart rule where if you put: 1 item in cart you get 20% off 2 items in cart you get 30% off the whole cart 3 or more items in the cart you get 40% off the whole cart All items are ...
0
votes
0answers
22 views

How to apply free shipping over 500$ in specific category products total

How to apply free shipping for specific category products total grater than 500$. Example : there are three category category1 , category 2 , category 3 if category 1 or category 2 or any products ...
1
vote
0answers
27 views

Get final total price at checkout

At checkout, I would like to have the checkout total price (display in the right corner in the order summary box) in order to display a message under the 'Order Total' according to his value (and ...
0
votes
0answers
11 views

Rule for Free Shipping in a range of postcode/zip don't working

In cart price rule, the rule bellow doesn't works, I followed the official doc: https://docs.magento.com/user-guide/shipping/shipping-free.html which I was able to get free shipping using another rule ...
0
votes
1answer
102 views

magento 2.3 get cart item related to applied cart rule

Situation: There are 4 products in the cart One of these products causes a cart rule to apply By getting the cart items via code, I need to be able to identify the one item that is causing the rule ...
0
votes
1answer
38 views

How to trigger discount amount calculation in checkout page?

To offer different discounts based on the selected payment method, I have created two Cart Price Rules (one for each payment method) to apply the "Percent of product price discount" action. ...
0
votes
0answers
18 views

Magento 2 programmatically create cart rule with specific category condition

I want to add a new cart rule programmatically with condition to allow only specific category. I found the code here to add rule programmatically and its working fine, but how to add the category ...
0
votes
0answers
68 views

Cart Price Rules - Discard Subsequent rules with Exceptions

should sound weird, but is there a way to allow another rule to work though discard subsequent rules is set to Yes. I tried giving Priority 1 to my current rule, and priority 0 to the other rule, they ...
0
votes
0answers
20 views

Adding Different Price Components

I would like to ask about adding different price components for both: A Simple Product A Bundled Product For example, I would like to offer the customers the option to buy the product either on Full ...
0
votes
0answers
43 views

Magento 2 -Using Coupon Code One Category Products Price Become Same

I'm trying to make One Coupon code that will apply to a whole Category, and I want it to make all those Products to have the same exact price. So even If two products have different prices in that ...
0
votes
0answers
14 views

Magento 2: Add reward points as cart rule condition

I want to add reward points as a condition in cart price rule where the admin can select the condition from the drop down and enter the amount of reward points. The cart rule should only apply to the ...
0
votes
1answer
18 views

Can't find the option to exclude SKU

I can't find this screen: I'm trying to exclude an SKU from a cart rule, How do I get to it? I got here: And I can't see where there's an option to choose SKU.
0
votes
1answer
28 views

I need to exclude certain products from a general discount

I have a discount that subtracts 50 from the every total amount in the cart that's above 250. I did it in the cart rule using this method: How do I exclude certain products from this cart rule? ...
0
votes
0answers
32 views

Magento 2 Admin Edit Order Discount Amount is Missing

I've placed a order with the discount(cart rule),In admin order details page i can able to see the discount amount which was applied while placing a order. Then while edit the order from admin, the ...
0
votes
2answers
46 views

Free shipping for the amount over X USD

If I need to offer free shipping for a total cart amount over USD X, I tried this condition under Marketing --> Cart Price Rules in Magento 2. This rule does not work because it seems that an item ...
0
votes
0answers
39 views

Magento 2 Rule condition relate with subtotal

For setting the rule condition for the shipping rule with the subtotal greater than 50. But the subtotal calculates price excl tax always and we need the calculation based on price incl tax. The ...
0
votes
1answer
22 views

Collect quote totals at init checkout page and cart page?

i'm using magento v2.4.1. I tried to add the product to the cart programmatically using salesrule_validator_process observer, this is to add a product if a cart rule being applied to the cart: $quote =...
0
votes
0answers
195 views

Magento 2 : Apply Cart Rule to Base Price not Special Price

Good Day, Mates! I am using Magento 2.4.x and try to change its cart price rule mode, I simply want to calculate all discounts (percentage or fixed amount) on Base Price. For example, If a product has ...
0
votes
1answer
33 views

Magento 2 : Issue with cart rule

I have created a custom cart rule "Percent of product original price discount" I am checking If coupon discount is better deal than special price for the customer then to use the coupon ...
0
votes
1answer
28 views

How to exclude certain SKU to be calculated in Minimum Order Amount

I'm currently using the native M2 Minimum Order Amount module. I want to add to my store some products, but I don't want them to be consider during minimum order amount calculation. ...
0
votes
0answers
33 views

Magento 2 : How to set label on products in cart?

I am trying to develop a functionality where i need to show "Not Eligible for Discount" label in cart for product, like above image. Is their any way we can check which item in cart in ...
0
votes
0answers
8 views

Varied Cart Discounts By Item based on Order Size

We have a "bulk discount" structure across our site as follows: Spend $110 $249.99 - Get 5% Off Spend $250 - $499.99 - Get 7% Off Spend $500 - $1000 - Get 10% Off Spend $1000+ - Get 15% Off ...
0
votes
1answer
234 views

Magento 2 REST API - Creating cart price rule is not working

I'm trying to create a cart price rule via REST API but always get error 400 Bad request with message: Specified request cannot be processed. I even try to use minimum request body (only required ...
0
votes
1answer
26 views

How to apply cart rules directly on Order?

I have added a BIN promotion which is needed to be applied just before payment directly on order. I have found 2 methods that apply discount but require a quote object. \Magento\SalesRule\Model\...
0
votes
1answer
71 views

Magento 2 : Cart rule discount applies twice

Here is the cart rule I am not sure why it is applying double discount on products see
1
vote
0answers
50 views

Magento 2 : Bulk update cart rule

Currently in magento 2.4.2, cart rule applies to giftcard products also. I need to prevent discount applied to giftcard product in cart. I have two approach, Bulk update cart rules, i have 1200 cart ...
0
votes
0answers
12 views

Magento 2 how to move active cart price rules to another store

I want to move active cart price rules to another store. How can I move those? How can I import export those? Thanks In Advance!
0
votes
0answers
26 views

Magento2 Programmatically apply cart price rule

I have created a cart price rule in admin, now I want to apply this rule programmatically in my code. How can I achieve this?

1
2 3 4 5
19