Questions tagged [shopping-cart-price-rules]

Denotes questions about shopping cart price rules.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

Add free product in cart on orders above 999/- in magento 2

I want to add 1 product as free on orders above 999/- and 2 same product on orders above 1499/- in Magento 2. Please help.
0
votes
0answers
15 views

magento 2 cart price rule issue

I have created a promo code for a specific category with 10% off. It's working well if a single item of this specific category is added or the multiple items of this category are added. But it has ...
0
votes
0answers
7 views

How to setup on two or more discount promotion in one price cart rule in Magento 2?

I would like to set up multiple promotions each with the same coupon code I wonder if if it possible on magento 2 ? Or is there any script to apply this kind of feature?
0
votes
0answers
10 views

Cart price rule - Get Product Applied Cart Price Rule

Example: I add new cart price rule "Discount 50% for product A or B or C" -> rule_id =1 How can I get A, B, C with rule_id ? Thanks.
0
votes
0answers
15 views

Magento 2 Discount doesn't show correct

When the discount is bigger than 0, It show like this: When I have a discount with discount amount is 0(I have a gift), It doesn't show the discount, it will only show discount code in shipping. How ...
0
votes
0answers
8 views

How to create a scheduler for existing cart price rule in Magento 2?

I would like to create a programmatically scheduler for cart price rule/s and content changes in Magento 2 Enterprise. Can anyone guide me?
1
vote
1answer
30 views

Magento 1.9 - How to apply handling fees if selected products available along with other products in the cart?

If the cart contains any one of the selected products along with other products that should be applied handling fees and cart contains only the selected products no need to apply handling fees. Here ...
1
vote
2answers
41 views

Magento 2: Coupon code makes an order free

I have a Magento 2.3.1 that makes this problem: I have a coupon code that makes 90 EUR discount defined as: Add a product to cart of 70 EUR (below 90 EUR) Goto to cart, apply the coupon code Total ...
0
votes
0answers
17 views

Multiple cart price rules for % off subtotal

I have been trying to apply multiple cart rules to apply a % off discount of the whole cart based on items in the cart with no luck. The rules are as follows: Buy 2 Items - 10% Off (should apply ...
0
votes
0answers
9 views

Can I discount tax + additional percentage off?

Is there a way in magento to set up cart rules that will remove the tax based on the cart items + add an additional percent off? We're using Magento 2.3.2. For example: Buy 2 Items: No Tax + Extra ...
0
votes
0answers
16 views

Magento 2 add custom discount before cart rule discount in checkout

Here we add custom discount but here the problem is I want a custom discount to calculate before a cart rule. But here first calculate cart rule then my custom discount.
0
votes
0answers
31 views

Magento 2 : create custom coupon code programmatically while excluding category ID

I am working on Custom Discount Coupon (Cart Rule) I am using following Data Patch but I don't find to exclude Categories namespace Vendor\ReferAFriend\Setup\Patch\Data; use Magento\Framework\Setup\...
1
vote
1answer
15 views

Magento 2 Commerce Edition: how to manage promo date ranges?

We are on M2.3 Commerce Edition. I have some cart price rules that were working fine and then suddenly quit working. They remain active and all conditions are met. The only thing I can think of is ...
1
vote
0answers
26 views

Magento 2 how to add customer chooser in cart price rules condition

I want to add customer chooser in cart price rules conditions like category and product chooser. Can anyone help me with this?
0
votes
0answers
9 views

Apply Cart Promo Rules on backoffice created order

I'm having trouble with backend created orders. As the shopping cart price rules such a gift item are not applying .. Is there a workaround in order to call their execution in such context ? Thanks ...
0
votes
0answers
8 views

How to set a coupon $10 off from the shipping cost with purchase over $50 - cart price rules

How to set a coupon? $10 off from the shipping cost with the purchase over $50. Is it possible?
0
votes
0answers
22 views

Apply gift vouchers to the total invoice amount (including taxes & shipping)

I am looking for a way to offer and process gift cards in Magento 2.3.4. The vouchers should be able to be used to cover the entire shopping cart including all taxes and shipping costs. Is this ...
0
votes
2answers
60 views

Negative Cart Price Rules Magento2

I want to add a Cart Price Rule in Magento2, which is negative: Actions: Fixed amount discount Discount amount: -2 However, when I save it says: Please choose a valid discount amount. How can I ...
1
vote
1answer
42 views

Magento2 - Customer Specific Coupon Codes Generation

By default, magento2 promotions have the feature to create coupon code for specific customer groups. I want to send coupon code to users who already purchased products with us. Are there any settings ...
0
votes
0answers
38 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
0answers
24 views

Magento2 - Get X product and Y product at some discount?

Suppose a scenario I defined for a Cart Price Rule buy X product and get Y Product at some discount , suppose customer added X product to cart how can we notify him about Y product, I have used the ...
0
votes
1answer
30 views

Magento2 - How to get cart sale-rules information with respect to specific Product?

I am using event checkout_cart_add_product_complete which is triggered after Doing Add to cart any product, in the observer of this event I want to get associated cart price rule if any applied?
1
vote
1answer
33 views

Enable free shipping only for coupon only

How do I configure the Magento2 can do below promotion? Free shipping with coupon code: (order >= $50)? I did google some result, some ask to enable free shipping method and set min-order-amount ...
0
votes
0answers
24 views

Magento 2 form xml visibility fieldset conditional

I have added a new fieldset tab on the Cart Price Rule. But I would like to hide on a conditional, I've tried: ...<fieldset name="custom_rule" sortOrder="100"> <settings> ...
0
votes
1answer
15 views

Magento 2 new fieldset/field in cart price rule show unwanted Currently Active Tab

This is in my custom module xml sales_rule_form.xml: <?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:...
2
votes
1answer
35 views

Magento2 - show/notify customer when they reach x in the cart to spend x more to get free item or discount

Basically I am looking If there is something out there or anyone has used anything or suggestions for when in a cart price rule where the rules is E.G: spend $100 and get Y for FREE. So It's ...
0
votes
0answers
20 views

Set magento Shopping cart rule

I need to set the following Shopping cart rules, When products from particular set of 5 brands namely Brand 1, Brand 2, Brand 3, Brand 4, Brand 5 are present in cart and cart total is greater than $...
0
votes
1answer
22 views

Magento 2 notify shopper when reach $x to spend $y to get Z item for free

Is there any extension out there about a promo rule that if they reach $90 in their basket notify with a pop up or place banner etc... that if they spend $100 they'll get X item for free etc...? ...
1
vote
0answers
26 views

Magento2 - Buy y get x for x off where y is one simple product and x is another

How we can set up the following? Buy y get x for x off where y is one simple product and x is another. Selling clothing different sizes and want to sell one size for a discount if we buy another.
0
votes
1answer
100 views

Magento 2: Apply coupon code programmatically

I want to apply coupon code programmatically when the condition is true. If condition false coupon code should be not applied. Please help me.
0
votes
0answers
24 views

Magento 2 Cart Price Rule How to apply for specific Customer

I have created the "Cart Price Rule Programmatically". Cart Price Rule has Only one Coupon. Can you please tell me how to apply this coupon for a specific user. Thanks in Advance.
1
vote
0answers
27 views

How to fillter Cart Price Rules by website id?

I want to get active sales rule which is valid and filter Cart Price Rules by website id as the store is multi-website so try using bellow code but getting an error My Code protected $sales_rule; ...
0
votes
0answers
13 views

Set up Cart Price rule where when any 11 of a selection of SKUs are purchased, one is discounted off the price

trying to achieve the above. Currently my set up is this: But I only get a discount if at least one sku has a total quantity higher than I've specified. And then the discount is only applied on that ...
2
votes
1answer
66 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 ...
0
votes
0answers
21 views

Magento 2 - Cart rule not working automatically

we have Magento 2.1.16 ce I have made a shopping cart rule like this: Percent of product price discount Priority 0 Conditions: If ALL of these conditions are TRUE: If ANY of these conditions are ...
2
votes
2answers
58 views

How to get rule id with respect to customer group id

class CouponCode extends \Magento\Framework\View\Element\Template { protected $_customerSession; protected $_customerGroupCollection; public function __construct( \Magento\Customer\Model\...
0
votes
0answers
17 views

How to show UPS and USPS even when free shipping is enable Magento2?

I've tried applying a Free Shipping Rule to Products brand if the Order is over $25. However, it does seem to actually apply. The rule I have is: but the problem is another shipping method is hidden. ...
0
votes
0answers
17 views

Magento 2 : Cart price rules and tablerate

I have only one shipping method on a magento 2 website - tablerates. 0-25 usd => shipping charges = 5 USD above 25 => shipping charges = 0 USD I have setup a new cart price rule which gives a 100% ...
0
votes
0answers
23 views

Shopping Cart Price Rule Discount Problem

We have Magento ver. 1.9.3.4 and are attempting to have a shopping cart rule that gives 10% off on all items in our store. However, when orders come through the discount is showing but is not truly ...
0
votes
0answers
202 views

Magento2: Cart rule not working properly

I go to Magento 2 Admin > Marketing > Promotions > Cart Price Rules and create a new Rule: Rule1: Tab Rule Information: Rule Name: Rule1 Status: Active Websites: Main Website Customer Groups: select ...
2
votes
0answers
82 views

Magento2 : Custom Sales Rule condition and validation

I am using this article to create custom condition in cart rule where I want to add the stock qty including other product attributes in rule condition. For example if product_attribute1 = Adidas and ...
0
votes
0answers
67 views

Magento2 : How to validate cart rule using plugin?

I was trying to validate the cart rule using plugin, but not able to do this, here I am explaining my approach in form of code files, please let me know how to do this. app\code\Vendor\Module\Plugin\...
0
votes
0answers
19 views

Listing coupons / price rules separately in checkout?

Magento 2.2.3 I have a cart price rule which will give a 4% discount depending on the payment method. I also have a coupon called MYCOUPON giving another 5%. Magento adds those together and shows a ...
2
votes
0answers
93 views

Magento 2 Export all coupon codes in the XML format

Like sitemaps, I wanted to export/ get all active coupon code/ cart rule in XML format. Please guide me how to do it?
0
votes
0answers
19 views

Magento2: How to get/display Coupon Code expiration date as front-end side?

I want to get/display coupon code expiration date as front-end side. Please help me with this.
1
vote
1answer
23 views

Magento 2 Add 35% price to product and 16% tax

Is it possible to add 35% more price to products in one category, and also add 16% as tax? I want products from certain categories to have 35% more prices in catalog price, and then add 16% of taxes ...
0
votes
0answers
22 views

How to disable a Rule on a specific date by the Schedule New Update feature on Magento 2.3 Enterprise

On the Community version, there is a To date field and I can make it works by setting the date there. See here - https://screencast.com/t/Pczg59xjGj0 But on the Enterprise version, there isn't any To ...
1
vote
1answer
106 views

How to hide the Cart Subtotal amount in mini cart popup in magento 2

Please suggest the solution to hide the Cart Subtotal amount and product price in the mini cart popup. Only i need to show the number of quantity items in the popup.
1
vote
0answers
11 views

Magento Automatic Shopping Cart Promotions not working

I have installed a "Giftcard" module in Magento 1.9. and due to this Magento's Automatic shipping promotions are not being applied. but when I remove this code from this module's config.xml ...
1
vote
0answers
35 views

How to disable the product price for entire website in magento2

I have used the below code its not working. Please suggest the solution. if someone know the answer please share the exact code and folder structure. since i'm new to magento. di.xml file: &...

1
2 3 4 5
18