Questions tagged [shopping-cart-price-rules]

Denotes questions about shopping cart price rules.

356 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
11
votes
1answer
489 views

Magento2 : Create Custom Condition Field like Catalog Price Rule with my Own values

In Magento 2 Custom form i would like to add condition field like Catalog Price Rule with my custom values. Please find below screen shot. Screen shot: please suggest me how to get.
10
votes
1answer
280 views

Is there an event or plugin spot for when cart rule is no longer valid?

Is there an event or place I can plugin for when a shopping cart price rule is no longer valid (such as when it expires or if you change the quantity of other products where it no longer applies)? I ...
8
votes
1answer
1k views

Shopping Cart total percentage discount when specific item is in cart

I have a specific type of shopping cart rule I'd like to create. You can think of it as a 'variety discount'; the more products from different categories the customer has in their basket, the greater ...
6
votes
0answers
663 views

Magento : Validate Product against shopping cart rule

I have a Shopping cart rule which applies to a particular category with some discount. I have a situation wherein I want to validate product against this rule whether this rule can be applied to that ...
5
votes
0answers
160 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 ...
5
votes
0answers
66 views

Magento 2.2.5: Adding cart-attribute for cart-rules / conditions tab

I use a product attribute called "carton" which describes in how many carton a product is packed. I want to add a cart-rule which counts the amount of all cartons in the cart (accordingly the amount ...
4
votes
0answers
134 views

Magento 2 Enterprise : Get Coupon code Expiration Date

I am using Magento 2.2.5 Enterprise Edition.I created cart price rule from admin.Now I want to display coupon expiration date in front end but in enterprise edition start/end date is saving by ...
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
3
votes
0answers
28 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
0answers
100 views

Apply Cart Price Rule (Coupon) on empty cart

Is it possible to apply a Cart Price Rule using a Coupon to a customers cart when the cart is empty? The reason is the following: We’d like to apply a discount code (cart price rule) for customers ...
3
votes
1answer
801 views

OnePage Checkout Page Error - Free Shipping error : “Please specify a shipping method”

My condition, free shipping for selected zip-code/postal code, range is, from 600003 to 600151 I am using Shopping Cart Price Rule, my workout Note : Shopping Cart Price Rule condition Matching ...
3
votes
1answer
47 views

Can i get Idea? How to write PHP code if anyone of the selected Categories of products presents in the cart the shipping method is Admin selected one

If anyone of the selected Categories of products presents in the cart the shipping method is admin selected one. now my shipping methods like user selections, like 1)DHL 2)FEDEX 3)INDIA POST If ...
3
votes
0answers
249 views

Bundle Price depending on items in bundle

This is a complex question about determining bundle prices. I have already hired a developer who cannot figure out how to make this work, and have spent days looking at extensions, so am reaching out ...
3
votes
0answers
724 views

How can create custom cart price rule for Custom Module in Magento 2?

I have a need for cart price rules in my custom module..anyone knows that how to add code in Form.php? Look Like That.
3
votes
0answers
470 views

How to show Discount amount on shopping cart page below Total order in Magento 2?

I want to show Discount amount after applying coupon code below total order on shopping cart page.
3
votes
3answers
2k views

Create coupon code programmatically (in Magento 2.x)

I'm trying to port over tens of thousands of coupons from a custom e-commerce website into Magento 2.0.8 and I'm having a hard time getting it to work. These are simple coupons either fixed $ or % off ...
3
votes
1answer
77 views

Shopping Cart Price Rule not applying when specifying the category in “actions”

Magento Shopping Cart Price Rule not applying when i add the Rule for the specific category. It is working fine for SKU but not for the category. Any admin section settings that are preventing it ...
3
votes
0answers
2k views

Magento Coupon code is not valid

I am using Magento 1.9.0.1 and I am trying to use the magento coupon code feature. However, it's not working when I add any condition on subtotal. My condition is if the subtotal is greater than or ...
3
votes
1answer
182 views

Excluding Products from Coupon by Category

If a product is in categories 14 and 156 and I exclude category 14 (see settings below) from the coupon will that product still be able to be purchased using the coupon if the customer shopped it from ...
3
votes
0answers
218 views

How to create a Shopping Cart Price rule for free shipping for all items, with some exclusions?

I have a clean build of CE 1.9.1.1 and have loaded the sample data provided by Magento. I want to set up a Shopping Cart Price Rule for free shipping on all items except 2 SKUs (one simple SKU and it'...
2
votes
1answer
52 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 ...
2
votes
0answers
53 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 ...
2
votes
0answers
61 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
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
60 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 ...
2
votes
0answers
47 views

Cart price roles - Discount 20% on a cheaper product - Magento 2

I am trying to set in Cart prices roles discount 20% on a cheaper product and I can't find a way.
2
votes
0answers
92 views

How to display Catalog Price Rule Discount and Special Price Discount along with Cart Price Rule Discount?

I'm using Magento version 2.2.4. Currently on view and edit checkout page, only Cart price rule discount is shown as below How to show Catalog Price Rule and Special Price (added while adding a ...
2
votes
0answers
133 views

How to prevent cart price rules from applying to bundle products?

I can't find a way to prevent cart price rules from applying to bundle products that already have a discount. The Bundle product has Dynamic Price = No. I have tried to exclude items with a special ...
2
votes
2answers
108 views

Need Help? In one shopping cart price rule can we create two discounts 10% and 5% for 2 categories or more?

We sell copier parts, for one manufacturer Konica Minolta we want to give 10% off and for other manufacturer Ricoh we want to give 5% off. So in shopping cart if customer buys products from both ...
2
votes
0answers
17 views

How can i add $5 extra fee on choosing of UPS shipping if order is greater then $200 using shipping rules in Magento2?

I want to add shipping rule for ups shipping to add extra $5 if order total is greater then $200. I want to use shipping Rules only as i will set many rules for different conditions.
2
votes
0answers
132 views

Check if coupon code is valid by using customer id and product id

How to check if a coupon code is valid if i only have customer id and product id data? and how to get this coupon sales-rule data?
2
votes
0answers
196 views

Magento 2 Free Shipping Rules not Applying to FedEx

Magento 2.2.3 We use only FedEx for shipping. FedEx shipping is setup and working fine, rates are being calculated correctly. We want customers to be able to receive free shipping on orders over $50 ...
2
votes
0answers
39 views

Ajax custom cart not applying shopping rule

In my ajax custom cart after applying a coupon code, adding a free gift product to cart programmatically. That new product is not detected for shopping rule validation. But the product is available in ...
2
votes
2answers
191 views

Shopping Cart Price Rule Magento 1.9.2

Want to know how we can Set Shopping Cart Price Rule in Magento 1.9.2 for specific Category? i have 1 product which is under multiple categories but i only want to put Condition on One Particular ...
2
votes
1answer
418 views

Magento 2 : AdvancedSalesRule override validate method

I need to validate custom quote item details, So I am overriding module AdvancedSalesRule "\Magento\AdvancedSalesRule\Model\Rule\Condition\Product" file. But Not getting quote item Id in model object. ...
2
votes
1answer
195 views

Magento 2: Disable all methods when free shipping method is applicable

We're using following table rates for our store and these are working fine. When weight is 0-1(kg) , rate will be 4.5 When weight is 1.1- ~ (kg), rate will be 4.9 We also enabled Free shipping when ...
2
votes
0answers
25 views

Condition rules in Promotion

I wanted to add BOGO (Buy one Get One Free) promotion on my website. I have Successfully added it but it is applied on same product only. Actually my requirement is like if user purchases 2 products ...
2
votes
0answers
273 views

Magento 2: Percent coupon with discount amount limit

I want to give customers a 10% discount coupon but I want to enforce a discount amount limit, that is that the maximum discount amount is $250. Is there a way to limit this using a coupon?
2
votes
0answers
722 views

Why was “cart price rule based on payment method” removed from Magento 2.1.8?

When Magento 2.0 came out, the well-known feature from Magento 1 - to add the payment method as a condition for a cart price rule - was not implemented. Magento 2.1 added this feature. Lately we ...
2
votes
1answer
917 views

Magento2: Apply coupon code to regular price not to special price

When applying a coupon, it gives a discount to final price (special price if set). How to make modification that discount would apply only to regular prices (before the previous discount). Note: I ...
2
votes
0answers
255 views

Promo rules not applied when using custom attribute in condition

In magento2, I'm using the product custom attribute and setting a condition in promo rule. When the product is in a cart and if I use that promo rule, it's showing the coupon is not valid. Somebody ...
2
votes
0answers
615 views

Cart Price Rules does not work on a Configurable Simple Products

I am trying to create a promotion code, 17% off selected products with minimum spending of $30. the selected products eligible for this promotion code are SKU1 (parent configurable product a) SKU1-1,...
2
votes
0answers
498 views

Shopping Cart Price Rule for Free Shipping does not work in admin panel

This bug popped up when I upgraded to Magento 1.9.3(Community Version) I have set a Shopping Cart Price Rule to allow free shipping from 59.95 euros (Tax included). This rule works fine in the ...
2
votes
0answers
57 views

How to load Nearest Shopping Cart Price Rule in Cart Page of magento 2?

I want to display nearest shopping cart price rule in shopping cart based on the cart subtotal. Ex: If my shopping cart subtotal is $10, then i want to display shopping cart rule which is valid for $...
2
votes
1answer
107 views

Setting Up a Buy X Product, Get Y Product Free

I would like to set up a "Buy X Product, Get Y Product Free" rule on Magento. Can anyone show me how to do this?
2
votes
0answers
172 views

Magento - add productcustom option to Shopping cart rule condition

I would like to add my product custom option (which programmatically added) to the Shopping Cart Price Rules (in Promotion). If option value is 1 and customer add 3 (6,9 etc) of such product with the ...
2
votes
0answers
323 views

Shopping card price rule NOT overriding catalog price rule

I'm having issues with the catalog price rules not applying the discount correctly and i have figured out that the shopping card rule does what i need to. Unfortunately even though i have the ...
2
votes
1answer
656 views

Apply custom discount to admin order

I have a client that would like to do the following when creating an Admin Sales Order (without creating a Price Rule); Give £10 discount when ordering 4 of Product A (Unit Price: £10). At present, ...
2
votes
1answer
37 views

Shipping Price Promotion - Reduced shipping rate based on quantity of specific products

I'd like to set up a price promotion that reduces the shipping cost by 50% on specific (categorised) products, once cart quantity increases past 1. So for 1 item, shipping is 9.95. For 2 items, ...
2
votes
0answers
47 views

I'm searching for a way to add a minimum shipping fee to a Shopping Cart Price Rule

I'm searching for a way to add a minimum shipping fee to a Shopping Cart Price Rule. I've set up free shipping for most items in the store. For heavy and truck freight items, they are excluded. I have ...