Questions tagged [shopping-cart-price-rules]

Denotes questions about shopping cart price rules.

Filter by
Sorted by
Tagged with
9
votes
3answers
12k 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.
4
votes
1answer
1k 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 ...
4
votes
4answers
11k 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

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
1k 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
4k 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 ...
3
votes
1answer
5k 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
7k 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, ...
2
votes
2answers
3k 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
1answer
474 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
10k 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 ...
5
votes
5answers
11k 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 - ...
4
votes
3answers
585 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
6k 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 ...
6
votes
0answers
665 views

Error in add or update a cart in magento 2?

Error in add or update a cart in magento 2? In magento2 , when create a new cart_price_rule in admin after update or add a product to cart its shows a error In admin, i was create a new ...
1
vote
1answer
4k 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" ...
7
votes
3answers
10k 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() ...
3
votes
2answers
378 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 ...
3
votes
2answers
3k 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\...
2
votes
3answers
7k 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
765 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 ...
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 ...
0
votes
0answers
64 views

Magento 2:Add another new Custom mini-cart?

I want to add new Minicart like shown in the following screenshot, using KnockOut Js, Give me some logic how can I cater to this problem
0
votes
3answers
4k 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, ...
0
votes
2answers
5k views

How to add Discount for a Product base on Quantity

I was tried to add Product rules but didn't worked. This is what I tried to do. Ex: I have 4 products named A,B,C,D. I want to give 50% discount for B product if someone buy more than 2 qty of B ...
12
votes
2answers
18k 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
1answer
10k 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 ...
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
2answers
892 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, `$...
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
6k 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 ...
10
votes
2answers
727 views

All payment methods are not coming in Cart Price Rule

In Magento 2.3.1 I'm creating Cart Price Rule for Payment Methods. I have to create for Bank Transfer but there is Bank Transfer option not coming. https://www.screencast.com/t/h4rc4PnQU
6
votes
1answer
19k 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 ...
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 ...
4
votes
2answers
2k views

In magento 2 how to add custom options in action apply field in cart price rule form in admin

In magento 2 how to add custom options in action apply field in cart price rule form in admin In admin panel -> marketing ->cart price rule -> add new rule Image: Reference Image
2
votes
1answer
114 views

How to add shipping price for all individual product

I want shipping price for individual product, not depending country, state or anything. For example one product's shipping price is $5 but another one product's shipping price is $8. How to give ...
1
vote
1answer
54 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
144 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 ...
6
votes
2answers
3k 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 ...
4
votes
2answers
3k 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 ...
4
votes
1answer
69 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
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 ...
2
votes
2answers
3k views

How to add a new field in cart price rule form in magento 2 backend?

I need to add a new dropdown field in the "CART PRICE RULE" form in Backend: MARKETING > PROMOTIONS > CART PRICE RULES > ADD NEW RULE
2
votes
3answers
1k 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
2answers
12k 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
1answer
2k views

Magento 2.1 :- Add Conditions Rule in custom form

I want to add condition action in my custom module admin form. I use like below code all are working perfect, i got also all data in var_dump with save action, but data are not save in database. I ...
1
vote
0answers
91 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 ...
0
votes
1answer
2k views

How to add condition in cart price rule?

Function to generate cart price rule public function generateCoupon($value='') { $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $coupon['name'] = 'PROMO1'; $coupon['desc']...
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 ...