Questions tagged [shopping-cart-price-rules]

Denotes questions about shopping cart price rules.

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

Cart Price Rule - Discount Quantity

I've set up a cart price rule: Buy A, B, or C sku and get $30 off another A, B, or C sku. So the customer would have to purchase say two A skus to get $30 off. The problem I'm running into, is that ...
2
votes
1answer
624 views

Apply custom discount to admin order

I have a client that would like to do the following when creating an Admin Sales Order (without creating a Price Rule); Give £10 discount when ordering 4 of Product A (Unit Price: £10). At present, ...
0
votes
1answer
16 views

is Magento2 supports the multiple coupons from same rule?

I'm using the 3rd party extension for multiple coupons extension. it working as differnt rules apply but I need same rule different coupons need to apply in the cart. this is work in magento2? my ...
0
votes
1answer
30 views

Magento 2 - Cart rule - Buy X get free gift

Is there any way or extension to set their cart rules? Rule 1: buy X > 50 - get free gift A Rule 2: buy Y > 100 - get free gift B If order is made with Y > 100 AND X > 50 only get ...
0
votes
1answer
659 views

How to show $x to free shipping in the mini cart?

I want a script that will subtract the real-time subtotal from a set dollar amount declared for free shipping that I can display in the drop-down mini cart on our site. Example Display: "You are $27....
0
votes
1answer
17 views

Magento 1 creating a variable fixed-amount coupon code in PHP

I'm trying to create a coupon code for a customer that gets a fixed value from PHP (essentially it can be a different amount for each customer/instance of generation). For the coupon code generation, ...
10
votes
1answer
270 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 ...
2
votes
1answer
38 views

How to Modify Discount amount of cart price rule on cart page in magento 2

I would like to modify Discount Amount of cart price rule on the cart page. Actually Magento apply rule using class Magento\SalesRule\Model\RulesApplier and function is protected function ...
3
votes
1answer
779 views

OnePage Checkout Page Error - Free Shipping error : “Please specify a shipping method”

My condition, free shipping for selected zip-code/postal code, range is, from 600003 to 600151 I am using Shopping Cart Price Rule, my workout Note : Shopping Cart Price Rule condition Matching ...
0
votes
1answer
19 views

Magento2: How can I apply shipping cart rules?

I want add shipping method on subtotal. If subtotal equal or greater $250 Shipping method should be Free and If less $250 Shipping method should be Flat Rate. Any one help in this? I have applied ...
0
votes
2answers
2k views

How to add Discount for a Product base on Quantity

I was tried to add Product rules but didn't worked. This is what I tried to do. Ex: I have 4 products named A,B,C,D. I want to give 50% discount for B product if someone buy more than 2 qty of B ...
0
votes
1answer
13 views

Integrity constraint violation when attempting to create salesrule

I've been trying to programmatically create a salesrule that applies a fixed discount if the given conditions are met: The customer email is emailtest@test.com The skuvisible (custom product ...
6
votes
0answers
662 views

Magento : Validate Product against shopping cart rule

I have a Shopping cart rule which applies to a particular category with some discount. I have a situation wherein I want to validate product against this rule whether this rule can be applied to that ...
11
votes
1answer
476 views

Magento2 : Create Custom Condition Field like Catalog Price Rule with my Own values

In Magento 2 Custom form i would like to add condition field like Catalog Price Rule with my custom values. Please find below screen shot. Screen shot: please suggest me how to get.
2
votes
1answer
874 views

Magento2: Apply coupon code to regular price not to special price

When applying a coupon, it gives a discount to final price (special price if set). How to make modification that discount would apply only to regular prices (before the previous discount). Note: I ...
1
vote
0answers
16 views

Pricing rule : Percent of product price discount

I want to set up a "buy more save more" rule in Magento where one gets a 20% discount for every 150USD spent in a specific set of product categories. Is it possible to make sure products from ...
0
votes
1answer
35 views

How to Create Cart Price Rule Conditon in backend Configrations(system.xml)?

How to Create Cart Price Rule Conditon in backend Configrations system.xml
0
votes
0answers
10 views

How can I add a promotion like flat 15% + additional 10% on order above 1299?

I am configuring the promotions and need help with applying discounts like Flat 15% off + additional 10% off on purchase above Rs. x
1
vote
1answer
1k views
10
votes
2answers
164 views

All payment methods are not coming in Cart Price Rule

In Magento 2.3.1 I'm creating Cart Price Rule for Payment Methods. I have to create for Bank Transfer but there is Bank Transfer option not coming. https://www.screencast.com/t/h4rc4PnQU
1
vote
1answer
30 views

Magento 2 : Difference between is_used_for_price_rules and is_used_for_promo_rules?

Catalog product attributes have two properties (can be found in catalog_eav_attribute table) is_used_for_price_rules is_used_for_promo_rules I suspect that they connect to cart and catalog rules. ...
0
votes
0answers
20 views

Split cart rules/discount over multiple lines

I am trying to work out where or how I can get the discounts/cart rules to be applied across multiple lines eg Current Display Subtotal: $xxx.xx Discount (Free Shipping, Applied Coupon Code ...
0
votes
0answers
12 views

Incorrect Shipping Cost after returning to shipping page to change address, when Cart Price rule is active

I think I found a bug in how Magento 2 calculates shipping cost and I was wondering if anyone came across this issue and found a solution. Here's the breakdown: Magento 2.3.1, default front end theme,...
0
votes
1answer
389 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">...
0
votes
0answers
27 views

Configure cart rule in magento2?

I want to create a cart rule with the following conditions: Buy 3 products at £50 (Price of each product must be equal to £30). How to do that. Thanks.
0
votes
1answer
794 views

How to make Cart Rule test against Subtotal *with* Discount?

Consider the following snippet from my populated Magento CE 1.9.0.1 cart: I have two test cart rules in play here: "50 Bucks Texas", Priority 1, discounts the cart by 50.00 if the customer has ...
0
votes
1answer
774 views

Pincode based shipment restriction for each product

Help me to set the pin code based shipping for each product. Example: Product A - shipment available in xxx pin code but Product B - shipment not available in xxx pin code. Suppose user add both ...
0
votes
0answers
11 views

How can I how effect of cart rule on product and category page

I'm using a get method (via the URL) to apply coupons on my site. Is there a way I can reflect the effects of the coupon on the product and category pages as if the product has a special price. ...
0
votes
0answers
19 views

$15 off when you spend $100 or more coupon

We added a cart price rule that gives you $15 discount when you purchase a total of $100 or more. We recently got an order having a discount of $100+ when the customer used the coupon code. I've read ...
6
votes
2answers
1k 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 ...
0
votes
0answers
12 views

Product price issues after custom discount

I have built a custom salesrule which implements the DiscountInterface. When the sales rules criteria is met, the calculate() method runs on the for each product in the cart. Rather than apply a ...
0
votes
0answers
26 views

Cart Price Rule, buy one get one free product range

Currently looking at a sale option with a group product on the website. Buy one simple product get any other simple product from the same group product free. I've setup a cart price rule with the ...
1
vote
1answer
82 views

Magento 2.2.4 cart price rules - serious bugs in discount

I have created a cart price rule as per the following 2 pictures When I added 3 items to the cart, the discount is given correctly However, when the quantity is changed to 2, the discount is still ...
1
vote
2answers
997 views

How to get discount value round up in magento

I need to show round value of discount coupon, like if i have apply 10% discount on cart and after apply if 99.90 value is deducted from subtotal then if need to show 99.90 value round off and then ...
0
votes
1answer
851 views

apply custom discount in cart magento2 via observer

I have created a custom promotion in magento2. To get that working I needed to do some customization in cart which I am trying to do with salesrule_validator_process event. I needed the rulename and ...
0
votes
0answers
12 views

shopping cart price rules ( Buy X and Get Y product ) for different sku's

I have a scenario, Where i have created shopping cart rules of type, **Buy X and Get Y product Free** Currently, If I add 1 product with quantity 3 then discount is applied. My Requirement: Need ...
0
votes
0answers
19 views

shopping cart rules magento 2.2.1

I have done below steps to Set up a buy x Get y free on Shopping cart rules 1st. Go to Marketing > Cart prices rules 2nd. Click on Add new rule 3rd. Define a name, a short descritpion, select ...
1
vote
2answers
1k views

Magento cart price rules conditions not working properly

I have a discount of free shipping which I want to apply when the shipping address is in the U.S. and the subtotal is $100 or over. I am trying to exclude Hawaii and Alaska from receiving the free ...
1
vote
1answer
16 views

Pre populate the discount code in checkout/cart

I want to know if we can pre populate the discount code in the checkout/cart page when customer clicks a button from a page. Aim is when customer clicks a button from a page it should redirect them ...
0
votes
1answer
850 views

How to show Promotion description on associated product page

I have created a promotional shopping cart price rule for category id 87 as shown in below image- Now I want to show its description on all those product's view page on frontend which satisfy this ...
0
votes
1answer
1k views

Apply discount if 2 of the different item from a category are added

I'm looking to build the following Shopping Cart Rule and I have no idea how to do it. I have multiple sku available, if you add 2 different sku in your cart from the same category, you get 10% off. ...
0
votes
1answer
93 views

Magento 2: Promotion percentage off, but only upto a fixed amount

I want to make a rule where I offer my customers a discount of: 50% on their whole cart, but the max discount amount is fixed to 20$. Can I make this in Magento 2, using one or a couple of rules?...
0
votes
0answers
22 views

Magento 2.2.8 Cart Price Rule with Country doesn't work when Coupon Code used

I have Magento 2.2.8 with a live and working store. We can not seem to make Cart Price Rules that have a Country/Region/Postcode/Shipping Method work when coupon codes are used. when remove that ...
0
votes
1answer
26 views

CustomerGroupsId always true for cart price rules

I'm a bit new here in the forum som feel free to slap me on the fingers if I'm dumb. I want to change the logic in the sales rules engine so it doesn't check the salesrules_customer_id table and ...
0
votes
0answers
20 views

How to make one cart rule like 1 Shirt =Rs.1900 , 2 Shirt =Rs.3200 , 3 Shirt =Rs.4400 in magento-2.2?

Original Price of shirt is different like Rs.3199 ,Rs.3799,Rs.2999. I want to make a cart price rule with following conditions: If cart having 1 shirt it will give in Rs.1900 1 Shirt =Rs.1900 , 2 ...
1
vote
1answer
622 views

Magento 2 get catalog rule product details in final_price.phtml

I will try keep simple and short. e.g I have set a rule in catalogrule table and I am interested in 2 fields value: simple_action: by_percent discount_amount: 40.0000 and in catalogrule_product ...
1
vote
1answer
1k views

How do I configure a Cart Rule for Free Shipping in Magento 2?

I'm using Magento 2.1.7. Trying to figure out a simple Cart Rule for Free Shipping using a Specific coupon code: Specific Code No conditions Actions: Apply - Fixed amount discount for whole cart ...
3
votes
1answer
136 views

Cannot select conditions for Cart and Catalog Price Rules

I currently have a problem with Magento 2 (2.2.7) where I cannot select conditions in the Catalog or Cart price rules. This problem also occurred on Magento 1 and seems to have migrated across along ...
1
vote
0answers
17 views

Magento 2.2.4 - Free Shipping Cart Price Rule ONLY for given products

We are trying to include a free shipping method for Specific SKU/Products that have a subtotal over 500 when in the cart by themselves. This is accomplished by using the conditions: If ALL of these ...
3
votes
2answers
93 views

Magento: Buy 3 pay for 2 does not work for me

I like to set a "Buy 3 pay for 2" item rule. I have created a "Cart Price Rules" but it does not seem to apply. If I add 3 of the same items or 3 different items it still results in the original ...