We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [shopping-cart-price-rules]

Denotes questions about shopping cart price rules.

Filter by
Sorted by
Tagged with
5
votes
0answers
70 views

Magento 2.2.5: Adding cart-attribute for cart-rules / conditions tab

I use a product attribute called "carton" which describes in how many carton a product is packed. I want to add a cart-rule which counts the amount of all cartons in the cart (accordingly the amount ...
2
votes
0answers
17 views

How can i add $5 extra fee on choosing of UPS shipping if order is greater then $200 using shipping rules in Magento2?

I want to add shipping rule for ups shipping to add extra $5 if order total is greater then $200. I want to use shipping Rules only as i will set many rules for different conditions.
2
votes
4answers
141 views

Make one of article X free, if article Y is N times in the cart

I have an article "Wood" (Articlenumber 1115). If the user puts 42 wood in the cart, then he should get one Axe for free, but he must put the Axe to his cart himself, because he has too choose one. ...
1
vote
0answers
330 views

Magento2: How to get product collection which cart rules apply on this?

I have added cart rules on some product. I want to display the message on the free product which has rules applied. How to get product collection which cart rules apply on this? My Magento version ...
1
vote
1answer
112 views

Magento 2 Extension Extra Fee based on Shopping Cart Price Rule

Magento provides by default Discount using shopping cart price rule. I want to create the same rule to Add Extra fee in this discount rule. I have added one extra field(extrafee) in salesrule table ...
2
votes
1answer
795 views

how to retrieve Coupon Code by rule Id on Checkout Success Page?

I have coupon rule collection created at admin side and displaying rule names in the system configuration of the custom module. Actually, I wanted to get coupon code of a cart rule that has been ...
5
votes
4answers
693 views

How to get Coupon Code on Success Page in Magento 2

I am trying to get coupon code created in cart price rule from backend on success page. I am doing it as: In Block file public function getCouponCollection() { $om = \Magento\Framework\App\...
3
votes
0answers
110 views

Apply Cart Price Rule (Coupon) on empty cart

Is it possible to apply a Cart Price Rule using a Coupon to a customers cart when the cart is empty? The reason is the following: We’d like to apply a discount code (cart price rule) for customers ...
1
vote
1answer
52 views

Shopping Cart rule to apply fixed discount on different product

I want to add a shopping cart rule which gives the discount of 21 when there are specific five products in my cart. Eg: Five products with SKU S01, S02, S03, S04, S05, all having different product ...
1
vote
1answer
349 views

Magento 1.9 : How to add product with discount automatically in the shopping cart?

Hope you're all doing well. I need some guidance in how or if some tool already exist for this: If an specific product enters the shopping cart, automatically one other specific product appears in ...
0
votes
1answer
283 views

first order discount in magento2

tried below script but it is not applied discount for first Order. Any suggestions? Magento 2: How to implement First Order Discount?
1
vote
1answer
191 views

How to fix “403 forbidden” redirect issue happens while adding shopping cart price rule condition in magento 1.9?

My task is to add new shopping cart price rule in magento admin section. I have added rule information, then I need to add conditions for that rule .When I change the condition select box option, it's ...
2
votes
2answers
375 views

How to get cart price rule collection in magento 2?

I want to show cart price rule on product page. How to get collection of cart price rules?
1
vote
0answers
12 views

Magento 2: How to get the image from salerule?

I am showing the data of the salerule in the product view and is necessary for me to also show the image and description of the rule. All the information I need is in Top Banner: Is possible get it ...
1
vote
0answers
46 views

Magento2 without cart price rule how to add a custom coupon code

In to Magento 2.2.2 site. I want to give different price coupon code to the customers. How to create coupon code programmatically if i create cart price rule then cart price rule is many created. ...
0
votes
2answers
419 views

Product is available to buy in increments of x

In Magento 1.x, a pop up used to appear when the shopping cart did not contain the correct quantity increment according to the inventory setting in the backend. In M2, I do not see that message. ...
0
votes
1answer
463 views

Get rule condition and other details in checkout

Not getting description and condition, can you help me in this if there is any way to get rule condition and other details $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $rule=...
1
vote
1answer
197 views

How to get cart rule id when cart rule apply

How to get shopping cart rule information? I need to change/add custom logic when the cart rule apply in the shopping cart page.
2
votes
1answer
326 views

Magento 2 : Check before Cart Price Rules Applies

I have been looking for event || Plugin || Whatsoever !! I have a rule that will apply to the customer only one time, without using coupon code. I am willing to add some conditional statements ...
2
votes
0answers
139 views

Check if coupon code is valid by using customer id and product id

How to check if a coupon code is valid if i only have customer id and product id data? and how to get this coupon sales-rule data?
2
votes
0answers
211 views

Magento 2 Free Shipping Rules not Applying to FedEx

Magento 2.2.3 We use only FedEx for shipping. FedEx shipping is setup and working fine, rates are being calculated correctly. We want customers to be able to receive free shipping on orders over $50 ...
1
vote
1answer
108 views

Shopping Cart Price Rule Not Working in magento 1.6.0

I have a magento store running 1.6.0 and I cannot get a shopping cart price rule to work. I have set below condition but this condition are not worked. I am not able to how to work below rule Any ...
2
votes
1answer
586 views

Rule for BOGOGO(Buy 1 get 1 same product free) in magento 2

How to create a rule in Magento 2 for BOGOGO(Buy 1 get 1 same product free and give another product)?
1
vote
1answer
680 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
0answers
94 views

Magento2 add custom logic to shopping cart rule using Observers

How can I add custom logic using observers when cart rules apply in checkout? I want to apply buy 3 of x,y,z get 2 of a,b free and discount. Is it possible in cart rules?
1
vote
1answer
148 views

magento 2 : event to capture the cart price rule coupon?

How to get the coupon code which customer enters in the checkout page and giving custom discounts to the customer according to the country code using observers. please help me out.
0
votes
0answers
109 views

Magento 2.2.0 - Unable to create voucher code

We have a weird problem with Magento where the client is trying to create a voucher code for customers with her logins, but this does not work. This is the error message she is getting. We've even ...
1
vote
2answers
1k 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 ...
0
votes
1answer
26 views

Shopping Cart Price Rule Magento ver. 1.9.2.0

I'm adding Shopping Cart Price Rule from magento backend, and specified specific products sku which if added to cart it will be a free shipping. I'm using FedEx as the default shipping method. My ...
2
votes
0answers
41 views

Ajax custom cart not applying shopping rule

In my ajax custom cart after applying a coupon code, adding a free gift product to cart programmatically. That new product is not detected for shopping rule validation. But the product is available in ...
1
vote
1answer
459 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 ...
0
votes
0answers
126 views

Shopping Cart Price Rules & Discount Coupons Not Working On 1.9.2.2

We are facing a strange issue. We have set up a sitewide discount rule for one week. The shopping cart pricing rule does not require any coupon code & is available for guests & logged-in ...
0
votes
1answer
136 views

Shopping Cart Price Rules Admin Error

I received a phone call from a customer who said a coupon code was not working. I then proceeded to Shopping Cart Price Rules in my Admin and the whole site crashed with an exception error. The report ...
1
vote
1answer
199 views

Shopping Cart Price Rules - Category Discount Issue

Workout: Output: Condition : Selected Category Product Discount -> 10%
1
vote
0answers
38 views

Magento 1.8 Shopping Cart Price Rule Actions Reloading Back to Admin Mainscreen

Magento 1.8.1.0 site, I can setup a coupon code in Shopping Cart Price Rule, however if I click on Actions and try to add a rule under, Apply the rule only to cart items matching the following ...
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
87 views

Magento1 :shopping cart price rule

our product has both special price and shopping cart price rule I need to apply shopping cart price rule on normal price of the product, not the special price? particular wholesale customer1. >> this ...
1
vote
1answer
186 views

Category-selector in Cart Price Rules freezes

I have only barely used the CPR before, but I seem to remember it working fine. Now I'm set to enter some discount codes, but don't want them to apply to sales items. I figure I could solve this by ...
3
votes
1answer
865 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
2answers
425 views

Free Shipping for just one type of product

This might be an easy question, but it has me stumped. I have a rule set up that automatically gives the customer free shipping if they're ordering a certain type of product. Fixed Amount Discount ...
4
votes
3answers
343 views

How to Debug Shopping Cart Pricing Rule Error?

Shopping Cart Price Rule - By using ZIP Code and Subtotal - Free shipping Not Working Shipping Method : Webshop Matrix Rate I am applied Shopping Cart Price Rule using zipcode, May I know where I ...
2
votes
2answers
879 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 ...
0
votes
0answers
400 views

magento 2 cart page rules for free shipping not working

I have two customer groups one is general another is wholesaler for this groups I need to enable free shipping for some specific price. For example if general customer subtotal is 100 means it will ...
1
vote
0answers
31 views

I need to Set Promotion Buy A or B and Buy C Get Free D

I need to Set Promotion Buy A or B and Buy C Get Free D Example: Buy pen or pencil and buy ruler i will get free soap 1 piece Please suggest me to set cart price rule ?
0
votes
1answer
191 views

Magento 2 : Cart Price Rule

How I can create a cart price rule which will provide 10% discount, but max amount of discount should be 100. For example below are some conditions rule should satisfy: If my cart item total is 500 ...
0
votes
1answer
522 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 ...
1
vote
0answers
57 views

Different Coupons for Different Products in same cart

I have 5 items in my cart, say A, B, C, D and E. and I want to apply 10 % discount of Item A and 5 % discount on item B and no discounts on the rest. How can this be achieved?
1
vote
2answers
101 views

magento Remove cart item attribute

how to remove product attribute from conditional select box
0
votes
0answers
23 views

Cart Price Rule in magento2

How to create a rule Buy X get @888? Please explain me. Thanks.
0
votes
1answer
532 views

Give discount % based on products category and quantity in cart

I am planning to give the below offer. Buy 1 product from X category and 1 product from another category and get 15% off. I set my cart rules like below both condition and action. It is working ...