Questions tagged [shopping-cart-price-rules]

Denotes questions about shopping cart price rules.

Filter by
Sorted by
Tagged with
0
votes
0answers
69 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
258 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
111 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
129 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
85 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
55 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
227 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
648 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
88 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
470 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
233 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
335 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
209 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
845 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
383 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
260 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
128 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
214 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
115 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
773 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
546 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
313 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
56 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
197 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
461 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
561 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
506 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
272 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
215 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
62 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
228 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
133 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
213 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
986 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
198 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 ...
1
vote
1answer
140 views

Magento 2 Shopping Cart Buy 2 products, get 25% off on cheapest one

Can we make this rule Buy 2 products, get 25% off on cheapest one without third party extension?
0
votes
1answer
490 views

Shopping Cart Price Rule Not Applying

I have a magento store running 1.9.3.6 and I cannot get a shopping cart price rule to work. Essentially, I want 4 items from a particular category with 3 attributes to be discounted to £10 from full ...
0
votes
1answer
71 views

How can i apply the Shopping Cart Pricing Rule?

Row total in cart, Below $25 get 25% discount below $50 get 30% discount Below $75 get 35% discount Above $75 get 40% discount
0
votes
2answers
2k views

Magento 2 - Check if Cart Price rule is active for product

I am exploring the possibilities to show active Cart Price rules on a product page. For example, if I have a blue shirt in the category 'shirts' and I create a Cart Price rule for 20% discount on the ...
2
votes
0answers
25 views

Condition rules in Promotion

I wanted to add BOGO (Buy one Get One Free) promotion on my website. I have Successfully added it but it is applied on same product only. Actually my requirement is like if user purchases 2 products ...
1
vote
1answer
1k 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) ...
6
votes
2answers
2k 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 ...
1
vote
1answer
47 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.