Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [shopping-cart-price-rules]

Denotes questions about shopping cart price rules.

1
vote
0answers
34 views

Buy one specific product and get another specific product for free: 1 gift per one chargeable product

I created rule for "buy one specific product and get another specific product for free" (which works for me): Only thing is that when I put chargeable product and two gift products in the shopping ...
2
votes
0answers
116 views

How to prevent cart price rules from applying to bundle products?

I can't find a way to prevent cart price rules from applying to bundle products that already have a discount. The Bundle product has Dynamic Price = No. I have tried to exclude items with a special ...
1
vote
1answer
27 views

I need to know that how can I add multiple vendor cost customization on shopping cart page

Basically, I have 5 vendors so I need to add shipping cost like this. If any customer selects one product from the first vendor then price added 15 dollars. And if user select product from any other ...
0
votes
2answers
97 views

Applying shopping cart price rules to one brand

We have over multiple brands on our site. I want to create a rule “30% off when you spend over $100 on that brand” Problem is if you have another brand in the cart that takes you over the $100 ...
0
votes
1answer
46 views

Cart rule in magento2

I have created cart with following conditions I have added one configurable product under category 3. But its not working .. If anything add to configure?
2
votes
2answers
94 views

Need Help? In one shopping cart price rule can we create two discounts 10% and 5% for 2 categories or more?

We sell copier parts, for one manufacturer Konica Minolta we want to give 10% off and for other manufacturer Ricoh we want to give 5% off. So in shopping cart if customer buys products from both ...
1
vote
0answers
78 views

Magento2: How to apply cart rules by condition?

I have accessories category products. If I add only accessories category product in the cart then apply to no free shipping for accessories category products. If I add accessories category product and ...
1
vote
0answers
27 views

Using special_price_to_date in shopping cart price rule

I have a shopping cart price rule that gives 10% discount. This needs to only apply to products without already existing discount (special_price). Sometimes a product has a 'special_price_to_date'. ...
5
votes
0answers
59 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
16 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
139 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
292 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
70 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 ...
0
votes
0answers
148 views

Magento 2 Cart price rule to exclude all bundle products

Is there an easy way for me to exclude all bundle products from a cart price rule? Unfortunately not all my bundles are in the same category so I can't exclude by category. I would have thought I ...
2
votes
1answer
500 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 ...
4
votes
4answers
525 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
92 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
41 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
292 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
0answers
35 views

How does Magento 2 discounts / coupons / cart price rules work?

If I have an order which has 2 item such as Item 1 - £11.00 Item 2 - £6.00 Subtotal: £17.00 If I then apply a £2 discount via a voucher code Magento takes the discount off each item but oddly. ...
0
votes
0answers
56 views

Promotional Rules => Autogenerated Codes are not working

I have created a shopping cart rule with specific Coupon and generated some auto-generated coupon codes. When I am trying to use these codes, few worked but the rest of the coupon codes are not ...
0
votes
1answer
202 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?
0
votes
0answers
70 views

Magento2 - Cart Price Rule & Tier Price Issue

I have a couple of products Product A - Price = $10 & no Tier Price Product B - Price = $10 & Tier price 10% if qty in cart is equal or bigger than 6 Product C - Price = $20 & Tier ...
1
vote
1answer
113 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 ...
1
vote
2answers
135 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
10 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
36 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
307 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
0answers
78 views

Shopping cart price rule with category exclusions

I'm attempting to setup a shopping cart price rule for the following scenario: spend over $75 receive free product exclude specific categories, but ONLY when these categories are purchased by ...
0
votes
0answers
14 views

Add percentage of cart total depending on location

I would like to add X% to the cart total depending on the customers location, I have looked in Cart Price Rules and this only seems to be for discount only. Does anyone have any straight forward ...
0
votes
0answers
72 views

Ajax add to cart not getting a correct price in minicart

I have some problem when I auto add a product on product pages as below: click add to cart a product with ajax. I allow auto add another product after class validator in function process. Example ...
0
votes
0answers
119 views

Using Custom Attribute in Shopping Cart Price Rule

In my magento store (1.9.3.7) I have a custom product attribute called 'points' which varies by product between 1 and 10. I need to be able to create a shopping cart price rule where by if the total ...
0
votes
1answer
332 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
160 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
241 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
125 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?
0
votes
0answers
27 views

Magento Checkout cart rule based on Grand Total

i want to create checkout cart rule based on the grand total currently in magento it gives based on sub total but my requirment is to create rule based on grand total http://prntscr.com/k1y8de ...
2
votes
0answers
183 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
85 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
480 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)?
0
votes
0answers
23 views

Create a Free Shipping coupon in Cart Price Rules and works with Magento Shipping (M2)

I'd like to create a Cart Price Rule for customer to receive free shipping via a coupon which works with Magento Shipping. We used to be able to do this on M1 with Temando. Now on M2, Magento ...
0
votes
0answers
82 views

Magento 2.1.4 Cannot exclude Category from Promotional Cart Price Rule Conditions

Magento 2.1.4 Cannot exclude Category from Promotional Cart Price Rule Conditions
1
vote
1answer
598 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
69 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?
0
votes
0answers
25 views

How to filter gift cards by category

a client has a Magento shop setup with Magento 1.9 and they have an extension to manage gift cards. These gift cards can, by default, be bought with giftcards and coupon codes and the client would ...
0
votes
0answers
68 views

Discount for payment method

I would like to add a discount for a certain payment method.From what I've gathered browsing the net and this stack exchange it should be possible, or at least it must have been sometime in the past. ...
0
votes
0answers
76 views

Magento 2: Cart rule with minimum is only working if there is an item over the minimum. Not if whole basket is over minimum.

I've got a promotion code for 5 off when you spend over 50. However, it's only working if there is an item over 50 not if the basket is over 50 but from multiple items under 50. I've tried using ...
1
vote
1answer
113 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
96 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
757 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 ...