Questions tagged [shopping-cart-price-rules]

Denotes questions about shopping cart price rules.

Filter by
Sorted by
Tagged with
1
vote
1answer
21 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
19 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
12 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
24 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
16 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
18 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
23 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
35 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
16 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.
0
votes
0answers
22 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
10 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
62 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
18 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
36 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
14 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
16 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
20 views

magento 1.9 shopping cart rule not working properly

i have cart rule when customer place order $500 or more then we have given discount to $50 but i have checked order in some products in $50 discounts added not grandtotal how can debugging that? Any ...
0
votes
0answers
19 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
78 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
36 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
42 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
18 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
70 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
14 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
22 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
14 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
48 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
10 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
34 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: &...
0
votes
1answer
22 views

How to hide product price for entire website in magento2 [duplicate]

I have used the below code its not working. di.xml file: < config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/...
1
vote
0answers
6 views

Cart Rules for tiered promotion with exclusions

I'm trying to run a simple rule based on cart subtotal. If itfalls between 2 amounts, a $ discount gets applied. The problem starts when I need to set conditions about what items can be "counted" ...
1
vote
0answers
17 views

How to hide or disable the product price for all the pages in magento 2.3.2 [duplicate]

I don't want to use any commercial module for hiding price. And i don't want hide by using templates. Is there any way to hide price from entire site using plugins or rewrites?
0
votes
0answers
14 views

How can I select Minimum Sale Quantity as Quantity in cart in cart price rules conditions?

I need to retrieve Minimum Sale Quantity as a selectable value in conditions for cart rules actions. Instead of inserting a numeric value I would like to insert this value dinamically. For example ...
0
votes
0answers
11 views

Over rule special price with discount code

Currently, on our website we have both tier pricing and special price conditions applied for a mix of percentages. However, I have a trade customer who receives 10% off across everything. Is there a ...
0
votes
0answers
31 views

M2: coupon code for cart price rule applies percentage discount to whole cart instead of specific products

If I apply my Magento 2 cart price rule coupon code which is set up to give a 10% discount on products of a specific attribute set the coupon code will show as having been applied to my whole cart; ...
0
votes
0answers
33 views

Set discount only for one category for product who has multiple categories - Magento 2

I have some products which have 2 categories: Fabric and Wallpaper. I set cart condition that apply if category is Fabric and quantity is > 2. This works perfect. But I have a problem because some ...
0
votes
0answers
27 views

Buy x get y Free Cart Rules for all Items from Category

Tell me, please. How to set up "Buy X Get Y Free", I can’t get it. let's say I have a Category in which there are 4 Articles (4 different products of wine). I want to configure CART so that if there ...
0
votes
0answers
30 views

Magento 2 Same Coupon code with different Actions

I am having 3 types of Category C1,C2 and C3. In every category there are products. 1) C1 has P1,P2 and P3 (Each P cost $38) 2) C2 has P4, P5 and P6 (Each P cost $58) 3) C3 has P7 and P8 (Each P ...
0
votes
0answers
20 views

magento 2 add one more text field in cart price rule and save the data in salesrule table

How to add one more text field in cart price rule and save the text filed value in sales rule table.
0
votes
1answer
98 views

Magento 2 cart rule conditions and action to exclude specific product using sku

I have added cart rule and its working properly, I need to exclude specific product from cart rule and others to go with cart rule. EX: sku1 need to exclude from cart rule. 1.Only "sku1" in the ...
0
votes
0answers
40 views

Magento 2 cart rule not working

I have created a cart rule in my magento 2 site. It's working on my local environment. but it's not working in live( production) site. All the target items not able to add to cart after rule ...
1
vote
0answers
59 views

How to apply coupon code only to normal price not special price

I created one shopping cart rule for 10% discount using coupon code tenoff for all products but I want to apply this discount only on products which don't have active special price. Is this possible? ...
0
votes
0answers
60 views

Magento 2 Uses per Coupon not working on cart price rules

I have Create new Cart rule to apply 10% discount with Coupon Code OFF10, when we set Uses per Coupon Value to 50 Then Coupon is not apply, it show error message 'The coupon code "OFF10" is not valid'...
6
votes
0answers
275 views

Error in add or update a cart in magento 2?

Error in add or update a cart in magento 2? In magento2 , when create a new cart_price_rule in admin after update or add a product to cart its shows a error In admin, i was create a new ...
1
vote
0answers
24 views

I am facing issue of “Specified rule does not allow auto generated coupons” while saving cart rules

I am customising module where i want to save cart rule without Use Auto Generation. When i save cart rules its showing this error Unable to save program with ID 37. Error: Error occurred when saving ...
0
votes
1answer
42 views

Magento 2 : How to override price functionality on cart

Want to override cart price display functionality. Want to apply some additional formula before displaying Price on the cart and mini cart. Can anyone tell me how can I achieve this? Any help would ...
0
votes
0answers
32 views

Magento2 - how to apply cart rule on grouped product?

I have no idea about how to apply the discount for grouped product on the shopping cart page. If anyone have an idea please let me know how to do?
0
votes
1answer
17 views

how to check an array with cart price rule ID magento 2

I am trying to get Cart_Price_Rule. public function test() { $ruleArray = $this->adventCollectionFactory->create()->getData(); $ruleArray = array_column($ruleArray,'promo_rule_id')...
0
votes
0answers
34 views

Magento 2: Shopping Cart Rule discount based on item quantity

I'm a Magento 2 newbie. My customer wants to add a cart rule like, apply 2% discount if item quantity >=12 apply 4% discount if item quantity >=24 apply 6% discount if item quantity >=36 apply 8% ...
0
votes
1answer
38 views

Buy 3 items and get the cheapest one free: Magento 2

I'm searching for at solution for being able to sell a customer 3 different product items and then getting the cheapest one for free. Can I accomplish this through the magento admin or does it ...

1 2 3 4 5 17