Questions tagged [shopping-cart-price-rules]

Denotes questions about shopping cart price rules.

Filter by
Sorted by
Tagged with
1
vote
1answer
813 views

Set Individual Product's Minimum Qty Allowed in Shopping Cart for a particular customer group

I'm looking to setup a particular product with a minimum order quantity but only for a single customer group ("Wholesale"). Is there a way to do this using the core Magento 2 functionality? Barring ...
1
vote
1answer
326 views

How to give non-fixed discount for different fixed prices?

we are using Magento version 1.9.2.3 and we want to make one promotion on our site. We have some products in one specific category and our promotion will be: "Buy product from category 70 and get ...
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:...
1
vote
1answer
22 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 ...
5
votes
1answer
263 views

Magento 2 Enterprise : Get Coupon code Expiration Date

I am using Magento 2.2.5 Enterprise Edition. I'm created cart price rule from admin. Now I want to display coupon expiration date in front-end but in enterprise edition start/end date is saving by ...
0
votes
1answer
680 views

Magento 2 : How to Display Cart Price Rule on Product Page?

I started in Magento 2 a week ago and don't know much about it, I created a Cart Price Rule named "10% billet discount" that is applied in a few items, with specific attributes. I want to display ...
0
votes
2answers
4k views

Magento 2: Programmatically create & apply shopping cart rule

I'm having an issue with creating a shopping cart rule in Magento 2.1. Is there a way to create shopping cart rule programmatically and then apply it to specific group of customers?
3
votes
2answers
3k views

Magento 2.1.3 EE - Cart Price Rule is missing “From” and “To” fields for expiration date

I am attempting to create some Cart Price Rules (essentially coupon codes). I believe M2 is supposed to support expiring coupon codes, just like M1. Click the Calendar next to the From field, and ...
0
votes
1answer
840 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 ...
1
vote
1answer
987 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
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 $...
1
vote
2answers
2k 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 ...
0
votes
1answer
17 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...? ...
0
votes
1answer
843 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
2answers
754 views

cart price rules collection filter with store id not working in magento1.x

cart price rules collection filter with store id not working in magento1. $rules = Mage::getModel('salesrule/rule') ->getCollection() ->addStoreFilter($storeId); OR $rules = ...
3
votes
2answers
870 views

Why was “cart price rule based on payment method” removed from Magento 2.1.8?

When Magento 2.0 came out, the well-known feature from Magento 1 - to add the payment method as a condition for a cart price rule - was not implemented. Magento 2.1 added this feature. Lately we ...
1
vote
0answers
22 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.
1
vote
2answers
1k 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 ...
8
votes
3answers
9k views

Buy X Product and Get Y another product free of same category

How to implement and apply Buy X And Get Y another product of same category free in the shopping cart price rules in magento.
0
votes
1answer
34 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.
1
vote
0answers
201 views

How to see the guest-cart in the webpage

I successfully added a product with the api rest using and the access point '/rest/default/V1/guest-carts/:cart-id:/items'. Now, I need to show this guest-cart in the cart page of the client Any idea?...
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, ...
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
905 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
0answers
15 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 ...
1
vote
1answer
610 views

Buy X get Y free

Trying to implement the buy 1 get 1 free but making it incremental. If a customer adds 2 products, customer gets 2 of the same product free. If a customer adds 3 products, customer gets 3 of the same ...
0
votes
2answers
282 views

Can't get Buy X get Y Free for a category

I am trying to set up a Buy X Get Y Free promo. The idea is that if you buy 10 items in a specific category and get 1 (the 11th) item free. No matter what I do I am not able to get this done. In ...
2
votes
1answer
61 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
34 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\...
1
vote
1answer
749 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 ...
0
votes
3answers
634 views

How to add cart rule for specific categories in magento 2

I have magento 2.2.3 store, I am try to add shopping cart rule for products in specific categories only.But if someone adds has one product from selected categories and has more products from ...
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
74 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 ...
8
votes
1answer
1k views

Shopping Cart total percentage discount when specific item is in cart

I have a specific type of shopping cart rule I'd like to create. You can think of it as a 'variety discount'; the more products from different categories the customer has in their basket, the greater ...
0
votes
0answers
15 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 ...
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
39 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\...
1
vote
1answer
2k 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 ...
0
votes
1answer
690 views

Customise Shopping cart price rule

I am new to magento. I am using magento 1.9 version. I want to create Shopping cart price rule module programmatically like default magento shopping cart price rule. How to do this. What are the ...
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 ...
3
votes
3answers
2k views

Create coupon code programmatically (in Magento 2.x)

I'm trying to port over tens of thousands of coupons from a custom e-commerce website into Magento 2.0.8 and I'm having a hard time getting it to work. These are simple coupons either fixed $ or % off ...
6
votes
0answers
272 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 ...
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 ...
1
vote
1answer
2k 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 ...
0
votes
2answers
2k views

how to add shipping city attribute to the cart rules

Promotions -> shopping cart price rules -> conditions tab, there are cart attribute option like the shipping country,shipping state/province. I also want the shipping city. How to get that shipping ...

1 2 3 4 5 17