Questions tagged [shopping-cart-price-rules]

Denotes questions about shopping cart price rules.

382 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
1answer
52 views

Shopping Cart rule to apply fixed discount on different product

I want to add a shopping cart rule which gives the discount of 21 when there are specific five products in my cart. Eg: Five products with SKU S01, S02, S03, S04, S05, all having different product ...
1
vote
0answers
12 views

Magento 2: How to get the image from salerule?

I am showing the data of the salerule in the product view and is necessary for me to also show the image and description of the rule. All the information I need is in Top Banner: Is possible get it ...
1
vote
0answers
50 views

Magento2 without cart price rule how to add a custom coupon code

In to Magento 2.2.2 site. I want to give different price coupon code to the customers. How to create coupon code programmatically if i create cart price rule then cart price rule is many created. ...
1
vote
1answer
503 views

Get rule condition and other details in checkout

Not getting description and condition, can you help me in this if there is any way to get rule condition and other details $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $rule=...
1
vote
1answer
733 views

Magento 2 get catalog rule product details in final_price.phtml

I will try keep simple and short. e.g I have set a rule in catalogrule table and I am interested in 2 fields value: simple_action: by_percent discount_amount: 40.0000 and in catalogrule_product ...
1
vote
0answers
41 views

Magento 1.8 Shopping Cart Price Rule Actions Reloading Back to Admin Mainscreen

Magento 1.8.1.0 site, I can setup a coupon code in Shopping Cart Price Rule, however if I click on Actions and try to add a rule under, Apply the rule only to cart items matching the following ...
1
vote
2answers
2k views

Magento cart price rules conditions not working properly

I have a discount of free shipping which I want to apply when the shipping address is in the U.S. and the subtotal is $100 or over. I am trying to exclude Hawaii and Alaska from receiving the free ...
1
vote
1answer
194 views

Category-selector in Cart Price Rules freezes

I have only barely used the CPR before, but I seem to remember it working fine. Now I'm set to enter some discount codes, but don't want them to apply to sales items. I figure I could solve this by ...
1
vote
0answers
31 views

I need to Set Promotion Buy A or B and Buy C Get Free D

I need to Set Promotion Buy A or B and Buy C Get Free D Example: Buy pen or pencil and buy ruler i will get free soap 1 piece Please suggest me to set cart price rule ?
1
vote
0answers
61 views

Different Coupons for Different Products in same cart

I have 5 items in my cart, say A, B, C, D and E. and I want to apply 10 % discount of Item A and 5 % discount on item B and no discounts on the rest. How can this be achieved?
1
vote
0answers
118 views

Magento 2 apply promotion with specific dates without coupon code?

Is this possible? It appears that you can auto-generate codes and have them expire within a certain date range. That appears to work fine. Additionally, magento docs says you can add a specific ...
1
vote
1answer
278 views

Magento 1.9.2.3, Shopping Cart Rule are not working properly

Currently I am facing issue regarding Shopping Cart Rule in Magento 1.9.2.3. I have apply rule on just Single Product SKU but somehow it applies on other product as well. Don't know whats Wrong?
1
vote
0answers
249 views

Apply cart rule discount in mini cart

I have implemented cart rules that gives discount when the user buys more than 20 items of a product. The discount is shown in the cart, but not in the mini cart, which is very confusing for my ...
1
vote
0answers
345 views

How to show custom validation message in checkout?

I have created some coupons. when a coupon applied it dispatch an event salesrule_validator_process. In the observer I will check some condition. based on condition the coupon will apply to the cart....
1
vote
0answers
242 views

Checkout: shopping cart price rule is only applied after pressing the 'update cart' button

I'm running Magento 1.9.2.2. and I've added a shopping cart price rule: If the customer buys more than one t-shirt, he should get a discount of 10$ per t-shirt. The t-shirt is a configurable product (...
1
vote
1answer
432 views

Magento1: Cart price rule for free shipping if subtotal incl. tax is over a limit

Does anyone know of a patch or extension with that I can create a cart price rule that sets free shipping if subtotal (INCL. tax) is over a certain limit? It (still) seems to do comparison only ...
1
vote
2answers
58 views

Help with Shopping Cart Rule: Buy $200 worth of product use coupon code and get a product free

I need help making a shopping cart rule. If a customer buys $200+ worth of product and enters a Coupon Code they will get a free Mug. I only have a certain amount of Mugs to give away. I was hoping ...
1
vote
0answers
110 views

Magento Shopping cart sales rule not removed when applicable product removed from cart

I have added two products one is for eligible coupons another one not eligible. Then I applied coupon code, code is applied fine. After some time I removed coupon eligible item, coupon code is not ...
1
vote
0answers
245 views

Magento 1.9 Coupon code applied but subtotal, grand total and withdiscount totals not updating in quotes/carts

I m facing strange issue as follows: I have created one shopping cart rule - with 10% on every product and to all customer groups. Conditions and Actions applied for all the products. When i add ...
1
vote
1answer
1k views

Programatically apply coupon code in magento 2.2

How can i apply coupon code programatically in magento 2 using cartid.
1
vote
1answer
67 views

How to properly set up cart price rule for multiple SKUs?

I have set up these rules for my cart. And the cart is filled with 11 of the same product, or 5 of one variation and 6 of another. Either way, no discount is applied: Do I have errors in my ...
1
vote
1answer
258 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
1
vote
1answer
157 views

Cart Price Rules: Minimum Purchase of 2 of the same items to get 15% discount

I am trying to set up the following rule in Price Cart Rules: Promotion: 15% off selected products with minimum purchase of 2 items and above. Criteria: No combined purchased allowed, meaning, ...
1
vote
1answer
224 views

Invalid argument supplied for foreach()

I'm trying to use this code I found here Get Shopping cart rule coupon code (with alittle modifications) to get shopping cart rules: <?php $current_sku = $_product->getSku(); $rules = ...
1
vote
1answer
2k views

Magento2 : Something went wrong while saving the rule data. Please review the error log

I have Magento2 version 2.1.8, when I tried to create new cart price rules after entering all info it doesn't get saved and shows error. "Something went wrong while saving the rule data. Please ...
1
vote
0answers
30 views

Magento promotions cart rules

I'm looking for a solution to only give the products whom are in stock and have a qty more then 0 to have a discount regardless the total quantity the customer orders. Example: product 1 (qty: 1) ...
1
vote
1answer
49 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.
1
vote
0answers
161 views

How to Implement Multibuy discount in Magento 1.9?

One of the categories I'm selling are Greeting Cards. I want to offer a Buy 4 for £10 promotion, applicable multiple times within a single shop (i.e. if someone buys multiples of 4)... But all I see ...
1
vote
1answer
31 views

how to reward a customer that generates a sale

Let's say the shop sells once in a lifetime items. You won't buy again likely. So I can't setup a discount for a customer A that bought an item already and then recommends that item/shop to another ...
1
vote
0answers
150 views

How do I add a buy X get Y free product to cart programmatically with shopping cart rule?

I have a shopping cart rule, Buy product with SKU XXXXX and get Product with SKU YYYYY discounted. I want to automatically add Y product to cart when X product is added. What I've tried Creating an ...
1
vote
0answers
81 views

Stop child product discounts applying on Bundle product

We have about 20 simple products which have a Cart Price Rule for buy 4 and get 10% off. We also have bundle products which use these products but are already discounted. However when the rule ...
1
vote
0answers
964 views

Magento 2: Shipping methods are not displayed while checkout process when cart quantity is 1

I have integrated custom theme, when i add product in the cart and go to checkout page the shipping methods are not displayed and sometimes its shows shipping method error sorry, no quotes are ...
1
vote
0answers
295 views

Magento 1.9 Shopping Cart Price Rule apply issue

I'm struggling with an issue regarding the Shopping Cart Price Rules. I've created a rule with a single coupon and the only condition is Subtotal is equal or greater than 65,50. When I'm using this ...
1
vote
0answers
104 views

Magento 1.9.x show, value cart rules in products page

I want to show the value of the discount created with the cart rules, and applied to the products set in the rule with sku. The first idea, I came to mind was to create a dropdown attribute and then ...
1
vote
1answer
194 views

Magento 2.1.8 Cart Rules

I have created 2 cart rules, and I want them to override each other if conditions are met. The rules are: If quantity of products with attribute-set SHIRT is greater than 15, then give discount of ...
1
vote
1answer
316 views

How to give non-fixed discount for different fixed prices?

we are using Magento version 1.9.2.3 and we want to make one promotion on our site. We have some products in one specific category and our promotion will be: "Buy product from category 70 and get ...
1
vote
0answers
302 views

Magento 1.9.x Discounts deducted from Excl. Tax Price even when Including Tax is set in Apply Discount On Prices Settings

We struggle to make our Discount/Tax calculation working alright - we tried all possible settings and nothing seems to work as we need (and what we assume as usual need). We need: Discount to be ...
1
vote
0answers
587 views

Discount from Specific Shipping Method based on coupon code in Magento

I need in admin section to apply coupon only on particular shipping method not discount from other shipping method. I should be able to select shipping method in admin which I want to allow for ...
1
vote
0answers
48 views

How to give discount from Shipping price in magento?

I have created a Shopping cart price rule with Coupon 'EL10' and now I want that if a customer apply this coupon code then amount should discounted from Shipping Method price only, not from Subtotal ...
1
vote
0answers
38 views

Discount on products if selected from “Category A” but not from “Category B”

We have 8 products in "Category A" and same 8 products in "Category B". We want a functionality where when customer selects same product from CatB, they should get discount and not when they select ...
1
vote
0answers
28 views

buy one get one choose by customer

I want to create a custom module for the following requirement Purchase any product and get free products Free products for a particular product will be assigned from admin side like related ...
1
vote
1answer
374 views

New Shipping method but Shopping Cart Price Rules is not appllied

Following this tutorial https://code.tutsplus.com/tutorials/create-a-custom-shipping-method-in-magento--cms-23747 i have created a new shipping method and the price, following the tutorial, has been ...
1
vote
1answer
153 views

Shopping cart price rule percent discount

I would like to give a family & friends 40% discount with a max. subtotal of €250 Actions: Apply: percent of product price discount Discount: 40 Apply the rule: if all of these conditions are ...
1
vote
0answers
55 views

Multiple users are using single coupon simultaneously

I have created one shopping cart rule with uses per coupon "1" and uses per customer "1". For example, if user A adds product in cart and apply "COUPON01" on cart page. Also user B adds product in ...
1
vote
0answers
25 views

Separate tax config for promotions

I have an issue with a Magento store where my client would like to create more advanced configurations for checkout promotions. Default magento stacks all promotions in priority and calculates on at ...
1
vote
0answers
19 views

why use this code in magento?

I am new in magento can any one tell me why use this code???? and location of these file $content = $this->getChildHtml('', true, true); full code for show products in category page.. <?php ...
1
vote
0answers
48 views

Flat rate Shipping is not applying on Not Logged In customers

Flat rate Shipping is not applying on Not-Logged-In customers. But In Shipping Method Highlighted It is saying that KD 2 is shipping charge I have added free Shipping rule according to this answer ...
1
vote
1answer
36 views

Creating a coupon Product A + Product B and get 10% OFF

I want to create a coupon. The idea is Product A + Product B and get 10% OFF. How to create this I tried some Ideas but, that didn't worked. Here Product Variant A.1, A.2, A.3 Product Variant ...
1
vote
0answers
457 views

Magento : Fixed Amount Discount on Whole Cart Promo Not Working

I've created a promo rule for customers who spend $150, I will give $50 discount. Please find attached screenshots for conditions and actions settings. When cart total is above $150, promo rule isn't ...
1
vote
1answer
51 views

Free Shipping Calculation Problem, Possible Fraud Order, Exploit or Misconfiguration?

We have a rule setup to give free shipping on orders over $49. We had a very suspicious order come through where the discount didn't make sense: You can see in the screenshot the only coupon listed ...