Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [shopping-cart-price-rules]

Denotes questions about shopping cart price rules.

2
votes
2answers
96 views

Shopping Cart Buy One is $15, buy two for 25. Only when buying groups of two does discount apply [closed]

I would like a shopping cart rule that allows the customer to buy one product at regular price and the second one at $5 discount. BUT I only want this to happen in groups of two. For example: One is ...
2
votes
0answers
92 views

Magento 1.7 Shopping cart rule, category not obeyed when config product in cart

Let's keep it simple, I have the following categories: Caps (ID: 1) Accessorries (ID:2) I have the following rule: "Any 3 caps , 10% OFF (discount applied to caps only)" And now I have the ...
2
votes
3answers
621 views

Magento cart rule buy x and y get $ off

I'm trying to create this cart rules without real success. I will need some help. 1/ Buy x + y get $50 off This means that you can buy 2x + 2y and get $100 off Or buy 2x + 1y and get $50 off... 2/ ...
2
votes
2answers
401 views

Reason behind strange per-item discounts for bundled products?

When bundled products, which have simple products associated to them, are purchased, and a cart-wide discount (Shopping Cart Price Rules) is given, the per-item discounts are very strangely divided up....
2
votes
1answer
575 views

Adding Cart Price Rule to Store Pickup not working

I'm using Magento 1.7.0.2 and enabled the checkout store pickup function as described here: http://www.magentocommerce.com/boards/viewthread/12703/ It works fine so far. But I also need to apply a ...
2
votes
0answers
500 views

how to create a 30% off promotion with flat shipping and exclude one category [closed]

I want to create a promotion that gives flat shipping rate and and 30% discount as well but I want to exclude one sale category from it. I made one myself for the discount but whenever I add anything ...
2
votes
1answer
392 views

Magento 2 : How to Check Cart Items Satisfying Cart Price Rule Condition?

In my module I have condition like cart price rule. How to check item in cart satisfy condition or not.
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 ...
1
vote
2answers
3k views

Can't see SKU as an option on shopping cart price rules

We're new to Magento community and I'm trying to set up a shopping cart price rule offer on a single product however I want to set it against a single SKU. When I click in the dropdown for conditions ...
1
vote
2answers
3k views

Apply coupon observer to set message in cart view

I've created observer method for salesrule_validator_process event. How can I access coupon code and whole cart to check, if there are specific products in cart? If it found products with a specific ...
1
vote
1answer
2k views

How to remove coupon programmatically in salesrule_validator_process event

I want to add some custom condition based on cart item's custom option on coupon code. For this I am using salesrule_validator_process event and also added code for cart item's custom option ...
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
4answers
2k views

Show only free shipping if subtotal is greater than 100 and not to show if less than 100

I have two shipping method enabled Free Shipping and Flat Rate I would like to show Free Shipping is the only option if total order amount is greater than 100 And show Flat Rate as only option if ...
1
vote
1answer
69 views

Shopping cart price rule SKU-A and SKU-B condition

How can I set a condition if I require two unique SKUs to be purchased first, before a discount is availed? For example, if SKU 0001 and SKU 0002 exists on the cart, then you'll get 50% OFF. Both ...
1
vote
3answers
641 views

Charge shipping based on discount code

Our store has blanket free shipping in the UK, and flat rate shipping elsewhere. I need to create a shopping cart rule (discount code) for 50% off everything, but I also need that code to trigger the ...
1
vote
1answer
989 views

How do I create a “Spend and Save” style promotion? 10% off $99, 15% off $149, 20% off $199 with no coupon

I'd like to create a promotion where the customer saves 10% if they spend $99, 15% if they spend $149, and 20% if they spend $199. It works with just having one of these rules but I'd like to apply ...
1
vote
1answer
1k views

Find all salesrules (shoppingcart price rules) for a given product

I would like to find all salesrules for a given product without the need to add it to the cart. I've been trying to find a solution for this all day but I can't come up with anything usefull/working. ...
1
vote
1answer
332 views

How to add custom field in catalog price rule and cart price rule?

I've custom module of banner. I want to add banner id as drop-down in price rules to select as custom field. When, I select banner Id during sales rule then the particular banner must be activated ...
1
vote
1answer
80 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/...
1
vote
1answer
779 views

How to take product final price after a discout rule was applied

I have a custom script located in the root of magento and here i takle all the product prices and create a csv with those values. I have a problem with the product price when I tried apply a discount ...
1
vote
1answer
270 views

Shopping cart price rule : product price percent discount

I want to create rule to apply 25% of product price but maximum discount amount is 1000 . So how can I do this?
1
vote
1answer
1k views

Magento 2: Cart Price Rules - Buy X get Y free (discount amount is Y) is Not Working

I'm using Magento 2 CE Version 2.12 I have followed the below one, as well other tutorials. https://www.mageplaza.com/kb/how-setup-buy-x-get-y-free-in-magento-2.html Still, it's not working.
1
vote
1answer
634 views

Why is Magento not discounting my cart with the full discount amount?

I have a cart with 2 items added: Product 1 for £100 Product 2 for £65 Product 2 is effectively a free gift, and to achieve this an automatic £65 discount is applied to the entire cart using a ...
1
vote
2answers
1k views

Empty the Cart and Add the Product Via Link

Situation: I have this single product cart as rules on my cart page. What I did was I detect the other product being added by the user and display it on the top of the cart. See this photo: I want ...
1
vote
2answers
65 views

Discount on certain grand total of a specific category

What is the best way to do this discount on a category level? That category is a specific brand which 93 products there all apply so i don't want to make a ton of actions and conditions. Is this ...
1
vote
2answers
181 views

Magento Shopping Cart Price Rules

if a customer purchase with a specific coupon code, i wanted to disable the COD Charges COUPON CODE -> Applied -> Payment method -> COD : NO COD Charges , COUPON CODE -> Not Applied -> Payment ...
1
vote
2answers
2k views

Always display Shopping Cart Price Rules Label above cart (not just when rule is first applied)

I have just started using Amasty's Promo Items extension to add free items to the cart when certain products are purchased. The label I wrote telling the shopper why a free item was added appears ...
1
vote
2answers
2k views

Discount on multiple identical items

I am able to apply discounts in a few areas pretty easily, but one area I cannot and want to be able to is apply a 20% discount if you purchase 4 or more identical items. Below is the current ...
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" ...
1
vote
2answers
479 views

why magento 1.8 discount missing

we update from magento 1.7.0.2 to magento 1.8.0.0 and are missing all cart rules discounts. We have full price without discount only. We are stuck and dont understand why.
1
vote
1answer
294 views

Get applied sales rule ids for quote in Magento 2

I want to retrieve all salesrule ids applied to the quote, by using my quote id for example: $quote = $this->quote->create()->loadActive($quoteId); $salesruleIds = $quote->...
1
vote
2answers
61 views

Get salesrule id from order id in Magento 2

How to get salesrule id from order id,for example: public function getSalesruleIdByOrderId($orderId){ //??? }
1
vote
2answers
756 views

Magento 2 : Product Attribute Rule Conditions

I have added following field in my UI Component Form in a custom module to get the Product Attributes ** in conditions, but the options given in the drop-down are **Cart Attributes whereas I need ...
1
vote
2answers
724 views

How to Change Shipping Cost for Specific Products?

There are five product SKU that I would like to add a $10 shipping fee for each product added to the cart. Example: if all 5 of the skus are added to the cart, there would be an additional $50 ...
1
vote
2answers
87 views

magento Remove cart item attribute

how to remove product attribute from conditional select box
1
vote
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
1
vote
1answer
469 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.
1
vote
2answers
1k 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 ...
1
vote
1answer
1k views

Magento 2 Discount Rule does not show Default Rule Label

I set up a Cart Price Rule that gives 30% discount. The 30% discount is given to the order, however, it displays "Discount" instead of the Default Rule Label specified. Cart Price Rule Setup The ...
1
vote
1answer
1k 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
1answer
175 views

Shopping Cart Price Rule for European Union Countries

In Shopping Cart Price Rule I can set condition as "Shipping Country" "is" or "is not". I need to extend this condition to all European Union Countries. Since Magento has this configuration in ...
1
vote
1answer
739 views

Limiting “Free Shipping” to Lower 48 States in Magento 2

I'm trying to limit the free shipping rule to just the Lower 48 States (i.e. not including Alaska and Hawaii). I've searched around for guides on how to do this is Magento 2 and all I saw are guides ...
1
vote
1answer
54 views

how create a shopping cart rule buy 1 prod A and 1 prod B, receive free 1 prod c?

Hi for holiday i do create a grouped product and i need create a rule for add a free product when the order include the group. how the rules don't works for group directly i thing the rule If (buy ...
1
vote
1answer
185 views

Create discount if products from two specific categories are in cart

I need to create a $100 discount on the cart total if products from two specific categories are added to the cart. I can only get the cart to apply the rule always -- despite the rules saying ...
1
vote
1answer
298 views

should free shipping be disabled when enabling table rates

I Created a table rate for price vs destination. I had to use table rates because in "City A" the shipping is free , but for rest of the cities in the country can have free shipping only if the cart ...
1
vote
1answer
1k views

Show discount in cart page even without applying a coupon

In cart page we can see the discount row only if a customer add a coupon code(?). What I want to do is adding the discount as zero for every cart page even there is not any coupon code applied. What ...
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
132 views

Reporting tools for shopping basket price rules useage

I'm looking for a way to find information on promotional code in the Shopping basket price rules such as how many times it's been used, on what products etc. Using a standard google search I've been ...
1
vote
2answers
67 views

Special Offer 4+1 or 7+2

I am wanting to run a special offer on a group of products where if they buy 4 they get a 5th free, OR if they buy 7 they get two additional free i.e. 4+1 (total of 5+ in basket) OR 7+2 (total of 9+ ...