Questions tagged [shopping-cart-price-rules]

Denotes questions about shopping cart price rules.

3
votes
1answer
875 views

Programatically applied discount to cart not working with currency swticher

I am applying custom discount to cart which should be applied if cart validates the shopping cart price rule, working fine discount getting applied. But I just enabled the currency switcher and ...
3
votes
1answer
1k views

Grouped products's simple products exempt from shopping cart rule. How to fix?

When a simple product (SP) associated to a grouped product is added to the cart, this works differently from a typical configurable-simple product setup. The product added to the cart is actually the ...
3
votes
1answer
2k views

'Stop Further Rules From Processing' doesn't work as expected

Basically I have 2 shopping cart rules and I only want one to be applied at any one time. My first shopping cart rule is a discount code that gives you 10% discount on products in your cart that are ...
3
votes
2answers
159 views

Is this coupon possible? Get fixed amount off for each 5 items from a specific category

I want my customer to have a coupon code where they get $4 off for every 5 items they buy from a certain category. For example: 0-4 items from cat A = no discount 5-9 items from cat A = -$4 10-...
3
votes
0answers
34 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
2answers
92 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 ...
3
votes
0answers
20 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
93 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
748 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
243 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
690 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
465 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
76 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
178 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
215 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
3answers
5k views

Add Free Promotional Gift for purchase of more than 200$ and different gift after more than $380 from same category

I want to run the Christmas promo on site. I have to promote the gifts after purchase of 200$ and $380 respectively. If someone buy a products more than $200, I want to give a free gift product ...
2
votes
2answers
11k views

Shopping Cart Price Rule that excludes discounted products

I've created a Catalog Price Rule on some products. Now, I would to insert a ShoppingCart Price Rule (Coupon) that excludes the products concerned in the Catalog Price Rule. Example: Product A ...
2
votes
1answer
525 views

How to set Promotion cart rules that customer can use only one Rule

my question : How to set up cart rules that customer can use only one Promotion . example Today we offer free shipping ( without coupon ) but in promtion rule . customer have also coupon 5% ...
2
votes
2answers
3k views

Maximum discount percent magento

How to configure the maximum discount percent in magento for the cart amount. Example: Cart value is 3,50,000 Coupon Code discount applicable : 20% Discount applicable 70,000 However I want to ...
2
votes
1answer
2k views

Display Salesrule name in frontend

I'm looking for a way to get the name of a salesrule that is applied to a product, go show in the frontend. I've been looking in the SalesRule, Rule.php but with no real luck. Mage::getModel('...
2
votes
3answers
67 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!
2
votes
1answer
3k views

shopping cart discount rule only applying to specific products

I have a shopping cart rule that applies 15% discount if customer has $500 or more of a specific category of products in cart. It's working fine, but how do I only apply the 15% to that category total ...
2
votes
1answer
2k views

Free Shipping in particular products

How can set the rule in particular products in particular quantity purchase two packets it will have free shipping for example: gold cup- every single purchase of 2 packets (500 gms each) will have ...
2
votes
2answers
4k views

Free shipping with the shopping cart rule, on X subtotal AFTER discount

We offer Free Shipping over X (NOK 1000)amount, but the shopping cart rule doesn't allow me to set the amount to be the subtotal amount AFTER given discounts. If customer shops with for instance a ...
2
votes
2answers
2k views

Disable catalog price rule on coupon code

Before I start to code this I just wanted to ask: is it possible to create a shopping price rule that will disable catalog price rule calculations? Thanks
2
votes
1answer
3k views

shopping cart rule based on custom attribute

I would like to create a rule based on 2 attributes : first attribute : enable free shipping, yes/no value second attribute : date end of free shipping promotion, date value then I will create a ...
2
votes
1answer
836 views

Stop Further Rules Processing not working

I am offering a free gift for people that place a certain minimum order. There are multiple items to choose from, but only 1 is free at a time. I made 2 separate Shopping Cart Price Rules with the ...
2
votes
2answers
2k views

Magento: how do I mark products that match shopping cart price rules?

I am using shopping cart price rules in my custom module, everything is working fine. I just want to get product ID's against every rule. If there are 10 products in cart and on 3 of them had some ...
2
votes
1answer
971 views

Shopping cart price rule for child SKU of configurable products does not work

Im trying un-sucessfully to get a shopping cart price rule to activate at checkout. OK what I am trying to accomplish is if you buy 2 of any of the SKU's listed "all SKU's are attribute choices of a ...
2
votes
4answers
3k views

Shopping Cart Price Rules not applied to correct group_id

While debugging the shopping cart price rule calculation i found out that the system uses the default_group configured in backend instead of the actual customer group on this customer group sensitive ...
2
votes
1answer
352 views

How to add timer for cart?

I want to add timer to cart. If item is added to cart it will remain in cart only for specific time say 15 min also product quantity will reduce as per quantity added in cart. Customer should begin ...
2
votes
1answer
2k views

Magento 2 - Validate product for sales rule condition

I have the sales rules collection in a helper file got the rules collection from this bit of code. Now I want to validate if the product id needs to validate against sales rule. Constructor contains ...
2
votes
1answer
71 views

Issue with shopping cart rule. Please help

I am having an issue with a shopping cart price rule. I am basically giving customers free shipping for certain products and paid shipping for other products. The rule is working fine when you have a ...
2
votes
2answers
991 views

coupon code applying only one one product instead of whole cart

we created shopping cart price rule to give 50 % discount for all cart subtotal. but coupon code is applying only for one product. in cart 2 items, Product 1 [ price - 100] , Product 2 [ price - ...
2
votes
1answer
74 views

Buy X Get Y rules - how are they supposed to work?

Looking through the Magento code (specifically the process() method of the Mage_SalesRule_Model_Validator class), the handling section for case Mage_SalesRule_Model_Rule::BUY_X_GET_Y_ACTION: seems to ...
2
votes
1answer
2k views

How to Ignore Catalog Pricing Rule when applying Shopping Cart Price Rule?

I have an ongoing 50% Off Catalog Pricing Rule currently active across my store. A few days back I have also distributed coupon codes on a Radio show with 25% Off. Now i have a situation where ...
2
votes
1answer
996 views

Magento Table Rates shipping price is not beeing calculated correctly

I have set up a simple Table Rates for my store. The rules are based on Price vs Destination. I have it set up: if the price is lover that 35 then shipping is 2.99 and if higher then 0. But I don't ...
2
votes
1answer
822 views

Shopping Cart Price rule - tiered

Im looking to set up a shopping cart price rule. The sale is: 10% off the first item 20% off 2nd item 30% off 3rd item and each additional item The price rule would be applied to specific ...
2
votes
1answer
868 views

Script for multiple coupon code generation for CE 1.5x

Can anyone help me with the script and explanation to generate multiple coupon codes programatically since this feature is not present in Magento CE ver 1.5x. Thanks.
2
votes
1answer
4k views

apply more then one Shopping Cart Price Rule to one item

I have a Shopping Cart Price Rule that if a product meets a condition that it applies the rule, simple normal. I have another rule for the same product that is set for a different condition. The ...
2
votes
1answer
103 views

Error Enter Valid date at cart price rule and save it db, after adding time in date picker in Magento 2.2.6

<?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd"> ...
2
votes
1answer
516 views

how to retrieve Coupon Code by rule Id on Checkout Success Page?

I have coupon rule collection created at admin side and displaying rule names in the system configuration of the custom module. Actually, I wanted to get coupon code of a cart rule that has been ...
2
votes
1answer
241 views

Magento 2 : Check before Cart Price Rules Applies

I have been looking for event || Plugin || Whatsoever !! I have a rule that will apply to the customer only one time, without using coupon code. I am willing to add some conditional statements ...
2
votes
1answer
486 views

Rule for BOGOGO(Buy 1 get 1 same product free) in magento 2

How to create a rule in Magento 2 for BOGOGO(Buy 1 get 1 same product free and give another product)?
2
votes
1answer
768 views

cart rule condition based on price including tax

I want to create a rule that gives people a discount of 10% if the subtotal of the cart is over $100. I have this rule working but with one problem, to check weather the cart is over $100 it is using ...
2
votes
2answers
135 views

Shopping Cart Price Rules For a grouped items - Magento 1.9 [duplicate]

I want to create a price rule for a shopping cart that only to be activated when there are certain SKU placed in the cart. For example. only if these 4 products sku1, sku2, sku3, sku4 existed in the ...
2
votes
1answer
707 views

Magento Shopping Cart Price Rules Wrong Calculation

Magento ver. 1.9.0.1 I am running a $10 off coupon code for orders over $100 and more. When there's one SKU in cart, the code works perfectly fine. When there's multiple SKU in cart, the code fails....