Questions tagged [shopping-cart-price-rules]

Denotes questions about shopping cart price rules.

Filter by
Sorted by
Tagged with
0
votes
1answer
201 views

Magento 2 : Cart Price Rule

How I can create a cart price rule which will provide 10% discount, but max amount of discount should be 100. For example below are some conditions rule should satisfy: If my cart item total is 500 ...
0
votes
1answer
551 views

Magento 2 : How to Display Cart Price Rule on Product Page?

I started in Magento 2 a week ago and don't know much about it, I created a Cart Price Rule named "10% billet discount" that is applied in a few items, with specific attributes. I want to display ...
1
vote
0answers
57 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
2answers
108 views

magento Remove cart item attribute

how to remove product attribute from conditional select box
0
votes
0answers
24 views

Cart Price Rule in magento2

How to create a rule Buy X get @888? Please explain me. Thanks.
0
votes
1answer
566 views

Give discount % based on products category and quantity in cart

I am planning to give the below offer. Buy 1 product from X category and 1 product from another category and get 15% off. I set my cart rules like below both condition and action. It is working ...
0
votes
1answer
396 views

Magento 1.9.2.2 Free Shipping Coupon Not Working

Currently we are using Magento version 1.9.2.2 and out free shipping coupon is not working correctly, I have set up a product cart rule in which if cart subtotal is >=100 and place by General or Guest ...
0
votes
1answer
321 views

Cart rule in magento2?

I have created a cart price rule which contains specfic coupon and percentage of product price discount(10%). How to checkflow of Magento apply these rule.
0
votes
1answer
68 views

Need help on creating Shopping Cart Rule for Specific Brand and of Fixed Value with Minimum Shopping Value of that Brand

For example INR 100 off on purchasing a item of XYZ brand of value 500 and above. I have Brand as an Attribute. In the Cart there is 1 item of ABC Brand, 1 item of EFG Brand and 2 Items of XYZ Brand....
0
votes
0answers
72 views

Magento 2 : prevent promo rules to be applied

I don't want any Promo/shopping-cart rules to be applied for some conditions. (Eg: When using store credit etc..)
0
votes
1answer
327 views

Save cart price rule custom fields in database

I need to save values of two custom fields which I have added using xml. Below is the xml in which I have added that fields also they reflect in cart price rule form. <fieldset name="custom ...
0
votes
1answer
134 views

Automatically activating disabled shopping cart pricing rule in Magento2

I had a shopping cart price rule running last week which automatically applied 40% off at the checkout on full price product. This was expired on last Friday at 12:00 PM but I also disabled the promo ...
0
votes
1answer
144 views

Display Discount % when selecting some payment methods on checkout page (Onepage)

This is a very challenging thing for me. I gave up and I'm asking for help :) How Do I Display the Discount % for some payment methods on the checkout (onepage)? Customer sees: Select your Payment ...
1
vote
0answers
105 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 ...
0
votes
2answers
58 views

buy a product from X category and buy a product from Y category and get 15% off on total price of two products , How to setup this?

buy a product from X category and buy a product from Y category and get 15% off on the total price of two products, How to set up this? 15% should apply only to the total price of two products, not ...
1
vote
1answer
261 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?
3
votes
2answers
682 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, `$...
0
votes
0answers
39 views

How can I display all active shopping cart price rules via a custom controller?

I've been asked to make a controller that will display all active shopping cart price rules. Then add description, number of uses etc. I've created a custom module with a controller index: app/code/...
1
vote
1answer
89 views

How can i apply custom condition on one-page checkout before grand Total?

Below is my code for getting checkout cart grand total weight, <span class="label"> <?php echo $this->__('Cart Weight:') ?></span> <?php echo Mage::getSingleton('checkout/...
0
votes
1answer
521 views

client denied by server configuration

when I try to apply coupon code in server its showing 403 forbidden error . But its working on local machine. below the error. please check it. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">...
1
vote
0answers
239 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
339 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
226 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 (...
2
votes
1answer
1k 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
0
votes
1answer
900 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']...
0
votes
1answer
416 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 ...
0
votes
2answers
290 views

How to change shipping cost per weight if is more than 10kg

Im using magento v2.2.2 Im trying to fix some shipping rates that shipping company gave me. I have 4 options Destination | shipping time | price up to 10 kg | price for extra 1kg In city ...
0
votes
1answer
154 views

ReferenceError: Translator is not defined in Magento 1.7.0.2

I am trying to add shopping cart price rule by going through Admin -> Promotions -> Add New Rule. But when I try to apply condition by clicking on "Condition" tab and clicking on plus icon, it ...
2
votes
2answers
240 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 ...
1
vote
0answers
31 views

Issue in adding the product to cart [closed]

The problem is when I try to add a non-veg item to the cart, it is not adding. But when i come back and add other products like fish, fruits etc to the cart and again go back and add that non-veg item,...
1
vote
1answer
122 views

Override Coupon Code in Cart Programmatically

Magento 1.7.0.2. I need to check for a coupon code that the customer enters and then if the subtotal is over a given amount I need to change that rule so that I can cap the discount using another rule....
1
vote
1answer
828 views

Catalog price rule to exclude some categories

I have to give $100 discount when cart subtotal is greater than $1000 and quantity is greater than 1 and also exclude some categories. For example, if the cart have the following items from category ...
1
vote
1answer
564 views

Can't upload and save table rates in magento 2

this my csv sample file. I upload csv file and press save config then show this is my setting.How can i fix this.
12
votes
1answer
323 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 ...
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
109 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 ...
0
votes
1answer
202 views

Add X number of product get Y number of product free

I tried many variants but could not find the correct combination in shopping cart rules. Here is the condition: In category pins I have some products where all have the same price. What I want is ...
2
votes
1answer
497 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. ...
0
votes
2answers
614 views

How do I create a cart percentage discount with a coupon code?

I'm trying to create a 25% discount code for the whole cart, not just for one product. Is this possible? I'm pretty new to Magento and the only rules I find is either a percentage for one product or ...
1
vote
2answers
2k views

Magento 2 - Where cart price rules applied in codebase?

I am working on magento 2.2.0. I have created some cart price rules with discount. I have added 5% product price discount in rule action. And 3 to 4 AND conditions for rule. I want to know in magento ...
0
votes
1answer
526 views

How to Remove cart products if a specific product is added in cart

This is my onpage.phtml page to get product id. I need to remove all other products in cart except the mention product id below if this product is on cart. $objectManager = \Magento\Framework\App\...
0
votes
1answer
294 views

Magento Shopping Cart Price Rule For Total Items Quantity 1

i need some Customize into the shopping cart rule for ex: i want to set the 100% discount for 1 Quantity into cart i have created it and working fine. but when i am try to 2nd qty into cart then ...
1
vote
0answers
228 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
64 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
243 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
146 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
221 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 = ...
4
votes
1answer
1k views

Magento 2 Core Bug Found For Multiple discount calculation in All 2.2.x version

This is the core issue in all Magento 2.2.x. When we add two cart price rule with action " Percent of product price discount". It makes little calculation issue in total discount. For example, I have ...
2
votes
1answer
201 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 ...