Questions tagged [shopping-cart-price-rules]

Denotes questions about shopping cart price rules.

Filter by
Sorted by
Tagged with
0
votes
0answers
18 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
29 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
11 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
12 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
20 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
20 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
22 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
38 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
31 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
15 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
30 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
19 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
39 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
11 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
17 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
20 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
16 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
44 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
22 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
16 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
37 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
30 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
24 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
23 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
7 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
97 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
21 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
39 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
27 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
23 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?
0
votes
0answers
16 views

Magento 2: Programmatically update & apply shopping cart rule

how can we update sales rule by ruleId in Magento 2 Programmatically
0
votes
2answers
228 views

Magento 2.4.2. Mini cart count not updating after free product remove on update cart button click

When total price is above $200 cart price rule is applied and free products are added to the cart. when total price is below $200, cart price rule is applied and free products are removed from the ...
0
votes
1answer
37 views

MAGENTO2: Discount Bug - Magento2 (2.3.3)

I have a fixed discount rule configured as follows: Now the way I expected this to work is if you have >= $100 in your basket you can use the voucher COACH100. The actual outcome is the code will ...
0
votes
0answers
20 views

Set multiple amount for cart rule in single coupon code

I want to set multiple discount amount for cart rule in single coupon code Example : If TEST10% coupon has 10 amount and if i apply this coupon code then after deduction on subtotal i want to deduct ...
0
votes
0answers
20 views

Magento 2 Quote Refresh Api

HI I am developing an API where I faced a challenge in my cart listing api, I need to apply cart rule and add it in quote and need to update quote accordingly. The Problem here is my quote do get ...
0
votes
1answer
124 views

Bundle Cart Price Rule problem

I'm essentially trying to create a multi-pack listing where the customer can choose their colour options of up to 4 items and assign a discount using a cart price rule. I've set up the cart price rule ...
0
votes
1answer
31 views

Magento 2 - Cart Price Rule to Discount Subtotal While Keeping Tax

I am trying to create a Cart Price Rule which allows for a 100% discount of the order's subtotal, while still including the subtotal's taxes to the customer. Ex: Customer is ordering $100 of goods (...
0
votes
0answers
37 views

use datetime in expiration date for cart price rule

I am using Magento CE 2.4 and I am using admin API to create a coupon and cart price rule I want the coupon duration to become 10 min and then it is expired so I found that in the cart price rule they ...
1
vote
2answers
322 views

Percentage discounts using cart price rules being calculated incorrectly

I'm running a Magento instance of 2.3.6-p1 using PHP 7.3 and having issues with Magento not calculating the discounts correctly. How I tested Set discounts to be applied before tax in the admin Set ...
0
votes
1answer
80 views

Multiple Actions using two shopping cart rules with the same coupon code? still possible in 2.3.2?

I read in these two threads that seem dated on the status of this functionality on Magento. Multiple actions on shopping cart price rule Applying multiple action in Cart Price Rules Is it still ...
0
votes
1answer
39 views

Magento 2 How to get reward point data in Cart Price Rule

I'm trying to get Cart price rule data. However, I cannot get the reward point which I created in Add reward point input field in Cart price rule form from the database, I have found it in salesrule ...
0
votes
1answer
430 views

Magento 2.3.2 free shipping cart rule not working

I'm trying to set up a cart rule in which I only offer free shipping I added a new cart rule with these conditions: Then I try to place an order, I choose 'Flat rate' as shipping method, I apply '...
0
votes
1answer
20 views

Removing attributes from New Cart Price Rule - Actions tab

At New Cart Price Rule -> Action Tab. There is a green plus mark, where I can choose Conditions. The problem is, that I see there all added attributes to Magento but I need only few. Is there a way ...
0
votes
0answers
13 views

Cart rules and coupon compatibility

I need to implement multiple cart rules, in particular coupon codes with compatibility rules, and was wondering if exists an extension that already does this. I'll make you an example, let's say I got ...
0
votes
1answer
41 views

Magento 2 Cart Price rule conditons: If items with attribute subtotal is greater then X

i'm looking for a specific way to solve a cart price rule condition. The resultion action itself is not relevant and already solved in my case. I have different product types, specified by an ...
0
votes
1answer
120 views

Magento2 how to create cart rule & customer segment rule programatically?

Can any one guide me (or) provide me the steps to create customer segment & cart rule programmatically? If it is Via command line (or) via setup script (or) custom script executing from root ...
1
vote
0answers
25 views

Magento 2.x I want to check cart price rule is eligible or not without quote, quote item or product

I have a collection of cart price rules. Now I want to validate the rule without a quote, quote item, or any product. If it's valid then I want to do some customize based on it, or not then I want to ...
0
votes
0answers
6 views

How to configure a promotion in Magento 2 that combines an Advanced Price (Group Price) with a Coupon

We are trying to configure set pricing for customers in a Customer Group that also requires them to enter a valid coupon code. So far we have only been able to achieve half of this requirement using ...

1
2 3 4 5
19