Questions tagged [shopping-cart-price-rules]

Denotes questions about shopping cart price rules.

Filter by
Sorted by
Tagged with
8
votes
2answers
8k views

Buy X Product and Get Y another product free of same category

How to implement and apply Buy X And Get Y another product of same category free in the shopping cart price rules in magento.
3
votes
1answer
772 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 ...
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 ...
1
vote
1answer
795 views

Products Type : Grouped Product - How can i create discount for grouped product

I need to add discounts price for grouped products. eg : item : 1 = 10, item : 2 = 20, when Item add to cart how can i display total amount is 25(discount is 15 %), My Workout : screen shots : Its ...
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 ...
4
votes
4answers
8k views

Multiple actions on shopping cart price rule

I've viewed some articles on creating shopping cart rules programmatically, but what I can't find is how to combine multiple actions into the one coupon code. What I need to do is apply 15% discount ...
3
votes
1answer
3k views

Using the same Coupon code for multiple Price Rules

Does anyone know if it's possible to use the same Coupon Code for multiple price rules. I want to give 10% off Category A and 7% off Category B, if they have any of the qualifying products in their ...
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
1
vote
2answers
5k views

Shopping cart rule to apply discount every X amount of products

I want to add a shopping cart rule to my site which gives a discount every 3rd item. For example if there are 3 items for a category in the cart, provide a discount of £2, and when there are 6 items, ...
1
vote
1answer
199 views

how to achieve Buy 2 products in some category and get any 1 product in same category for free

say for eg in same category Buy A and B then C product should be free or 2A then B should be free
6
votes
1answer
9k views

Get Shopping cart rule coupon code

I have made two simple shopping cart rules from backend. The first has action which is based 'SKU is one of'. The second has action based on 'Brand contains'. I have made a custom function to ...
4
votes
3answers
289 views

How to Debug Shopping Cart Pricing Rule Error?

Shopping Cart Price Rule - By using ZIP Code and Subtotal - Free shipping Not Working Shipping Method : Webshop Matrix Rate I am applied Shopping Cart Price Rule using zipcode, May I know where I ...
3
votes
2answers
5k views

Shopping cart rule : discount if 2 different sku are in cart

I'm looking to build the following Shopping Cart Rule and I have no idea how to do it. I have multiple sku available, if you add 2 different sku in your cart, you get 10% off. It can be any ...
1
vote
1answer
3k views

Add to Cart Button Next To Each Grouped Item?

I have a grouped product with a large amount of simple products. I want the quantity of the simple product to default to the maximum stock available. Issue with this that the current "Add To Cart" ...
3
votes
2answers
354 views

I have implemented free shipping with minimum order order $40.00 [duplicate]

I have implemented free shipping method with minimum order $40.00 and also flat shipping. When free shipping condition is true, then I don't want to show other shipping methods, how to do this? I ...
4
votes
3answers
8k views

How I can determine if the page is checkout/cart?

I have something but this checks if in the cart are products: public function customerLogin(Varien_Event_Observer $observer) { if (Mage::helper('customerredirect')->isEnabled() ...
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 ...
1
vote
1answer
1k views

How i can set magento promotions with defined hours?

Is there a way to defined hours with each promotion in magento so that promotion will be active only in that specified hours. Also how we can active time with date in special prices date in magento ...
1
vote
1answer
662 views

Shopping cart rule: first product 50% off (only first product) - How do I?

we are trying to set-up the following rule 50% discount on your first (any) T-shirt So when you buy 1 or 2 T-shirts you get 50% discount on the first product only. Can this be done? I managed ...
0
votes
3answers
3k views

Shopping Cart Price Rule: Buy Amount X of Product A, Get 1 Product B Free

Is it possible in the shopping cart price rules to create a rule that gives you a rule like "buy amount X of Product A, get 1 Product B for free"? For example: buy 8 of SKUs 123, 124 or 125, get SKU ...
12
votes
2answers
17k views

difference between cart getItemsCount() and getSummaryCount()

I am displaying the total items present in the cart at header. I am able to display the count of items. But I am bit confused between two methods of cart 1. Mage::helper('checkout/cart')->...
5
votes
5answers
8k views

Grand Total not updated when discount code is applied

There are 2 types of Discounts (Shopping Cart Rules) Working on the Website right now: Coupon Codes - Working Absolutely Fine BUT - Subtotal does not get Updated. Ex: 10% Off on Rs. 500 and Above - ...
3
votes
2answers
610 views

Magento 2.2.2 - Tablerates not working on Cart Page

I am using Tablerates as my shipping method and the condition is set to Price vs Destination. Use case One Free Shipping over $200 Use case Two If zip code falls under Zone 1 i.e. 28682-28685, `$...
3
votes
4answers
12k views

How to get discounted price

I create a Catalog price rule in admin. Now it's applying in the front-end. But, I want to show actual price in the shopping cart. So I did the below code in abstract.php file. After that I call it in ...
3
votes
1answer
8k views

Apply discount to only 1 item in the cart via Shopping Cart Price Rules

The situation is simple – I want to offer 25% discount on one product in the cart. So if you order 5 of Product A and 3 of Product B, you should receive 25% off either one of Product A or one of ...
1
vote
1answer
2k views

Custom Shopping Cart Price Rule - Most Expensive Product

I would like to create a shopping cart price rule which Checks for a pre-defined customer attribute Applies a price rule to the most expensive product in the cart What's a good starting place for ...
10
votes
3answers
5k views

Add attribute to Shopping Cart Price Rule coupon

Is there any way to add an attribute to a Shopping Cart Price Rule in Magento? I need to add a field called "featured" for every Shopping Cart Price Rule and after that, be able to filter rules by ...
6
votes
1answer
16k views

How to check if shopping cart price rule applied to quote

I have a shopping cart rule setup which applies a discount if the product has a specific attribute - there's no coupon code involved. Throughout the site I just need to check whether or not that ...
1
vote
1answer
45 views

How to configure if one of the Shopping Cart Price Rule applied Product A no other shopping cart apply for same Product A?

Once the shopping cart price rule applied, remaining shopping cart price rule not going to apply for same products.
6
votes
2answers
5k views

How to determine if an item has discount from catalog price rule

Any ideas how to make sure the item in the cart / quote was affected by CATALOG price rule (not shopping cart rule)? There is a similar question without an answer: Do not apply catalog price rules ...
6
votes
2answers
1k views

Magento 2.2.1 - how to give discount on payment methods?

I go to Magento 2.2.1 Admin > Marketing > Promotions > Cart Price Rules and create a new Rule: Conditions. Option "Payment Method" is not showing up in Conditions Tab. I want to give some ...
6
votes
2answers
132 views

Is there any way where user can set the custom desired price greater than zero and proceed to cart for any product? [closed]

I am trying something for a social cause website where there are trying to provide a user choice price for a NGO's product which can be any price. this is for promotional activity where user can set ...
4
votes
2answers
2k views

Fatal error when adding configurable product in cart and using “products subselection” in shopping cart price rules

I have this products subselection condition in a shoppng cart price rule: If ALL of these conditions are TRUE : If total amount less than 16 for a subselection of items in cart matching ALL of these ...
3
votes
1answer
2k views

How do I get the discount amount in the minicart for 1.9?

In the minicart of 1.9, the total is produced by $this->getSubtotal(). See file app/design/frontend/rwd/default/template/checkout/cart/minicart/items.phtml. That total does not subtract any potential ...
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
1answer
2k views

How to get the product collection based on catalog & cart price rules?

I am trying to get all products based on catalog price rules and cart price rules under all categories which is valid for today's date in Magento 2
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 ...
1
vote
0answers
84 views

I want to show next best volume discount to customer for total amount [closed]

i have two volume discount for total amount in cart If total amount is greater then 50 and less then 100 If total amount is greater then 101 and less then 200 see images For example if i have $50 ...
10
votes
1answer
2k views

403 Forbidden on specific promo form POST contents

I'm getting 403 Forbidden responses when attempting to save changes to an existing shopping cart price rule. It only occurs under the following condition: Adding more than 3 conditions to the rule ...
8
votes
5answers
13k views

Buy one get one free

Can someone please tell me why this price rule only works if the quantity 2 of the same SKU? I want the rule to work when any 2 SKU's are added to cart with the sample attribute.
6
votes
1answer
537 views

What is the process flow of calculation while we add product to cart in Magento

What is the process flow of price calculation of product while we add a new product to cart in Magento. I have to consider following prices in order to clarify/ Debug the issues. Catalog Price Rule. ...
5
votes
2answers
1k views

Modify Shopping Cart Rules Function to apply discounts by Percentage of Original Price Instead of Product Price Discount

I'm working on a project where the entire store products have a special price different (lowered) from the original price. I want to be able to apply shopping cart discounts By Percentage of the ...
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
1answer
3k views

shopping cart price rule condition based on final price rather than subtotal

In shopping cart price rule we have condition as subtotal but I want condition for final price ie. total cart price after coupon code applied. How to do that?
3
votes
2answers
2k views

Magento 2 - There is an event or method to “plug-in” when the coupon is removed from the cart/quote in the checkout flow?

Looking at events.xml of Magento_SalesRule there are two events, <event name="sales_order_place_after"> <observer name="salesrule" instance="Magento\SalesRule\Observer\...
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
4k views

Adding Magento coupon code in (last) step of onepage checkout

I have seen many extension on this matter. But I am looking for the clean, easy, close to core solution. Actually I am surprised that Magento/Ebay did not incorporate this simple win in a previous ...
2
votes
1answer
30 views

Create coupon that sets the shipping rate to a specific amount

I need to create a coupon that sets the shipping rate of an item to a specific amount. For instance, if the customer purchases any item and uses this specific coupon code (cart rule), their shipping ...
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
3answers
71 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!