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

Questions tagged [discount]

Indicates Questions regarding Shopping Cart discount

216 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
3answers
442 views

Magento 2: Use of priceModifiers

While browsing the code of magento 2.0.7's catalogrules module, i came accross a class Magento\CatalogRule\Model\Product\PriceModifier, Which was passed to Magento\Catalog\Model\Product\PriceModifier\...
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 ...
6
votes
0answers
694 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 ...
5
votes
0answers
552 views

Magento 2 : How can I add discount to a custom option

I have a product with custom options and a catalog price rule (that applies to a certain customer group). When your in this customer group (group X), you get a discount of 15%. This works for the ...
4
votes
0answers
71 views

Invalid form key. please refresh the page. Discount code and Paypal review

This one seems different to all the previous questions about this error message. I'm getting the following message "Invalid form key. please refresh the page." when trying to enter a discount code or ...
3
votes
0answers
38 views

Magento 2: Set custom discount price to existing cart/quote in controller

I would like to set a custom discount price to an existing cart/quote in my controller and found some other people that had this question but none of them got answered: I want to add discount to ...
3
votes
0answers
37 views

How to get the applied custom discount amount in observer?

I followed the steps in the below link to apply custom discount [https://magento.stackexchange.com/a/93349/21007][1]. But I need to get the applied custom discount amount in the observer event of ...
3
votes
1answer
126 views

Magento 2 Add Discounts to totals to Quote

I am trying to create my custom reward points module. I need to apply discount to customer based on his reward points when he click use my rewards in cart/checkout page. For that i am followed below ...
3
votes
0answers
27 views

bundle vs single quantity discount

I write you because I am trying to create a shopping cart rule that applies a discount to a bundle of materials (2 different materials in each BOM) if the user places more than 10 bundles in the ...
3
votes
0answers
33 views

Different discount for category products

I want to know is there a way to get different discount for the products in the same category if quantity exceeds a limit. For example: I have these products with these prices: A=10 B=15 C=12 And ...
3
votes
0answers
131 views

Add dynamic discount value in custom discount section html file Magento 2

I have created the module for the custom discount from https://www.mageplaza.com/how-add-custom-discount-magento-2.html. But there is a static value '$10'in customdiscount.html file.I want to add the ...
3
votes
2answers
1k views

Catalog price rules work only on the catalog page, not in single product page, cart and checkout

I have Magento 1.9 I created a rule for discount 3 of my categories. Immediately the rules works perfect, I see that everywhere sould be. But after a few time (I tried, but I didn't understand how ...
3
votes
0answers
548 views

Discounted shopping cart not working with PayPal

I am trying to add a surcharge to anyone who pay with PayPal. There are couples of extensions but the free one don't work too well. Then I was pointed to a direction to put "Negative Discount" under "...
2
votes
1answer
44 views

Set custom discount price to existing cart/quote in controller

I know I asked the question once before, but i got no answer, so I try it again and hope for an answer this time. I also saw some other guys that tried to get an answer for this question, but none of ...
2
votes
1answer
61 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 ...
2
votes
1answer
29 views

Order has discount but the discount was not applied in the item level

Can someone help me understand why my order has a discount but the discount is not divided into each of the items accordingly. In most of the orders, the discount amount is divided into each item ...
2
votes
0answers
20 views

Magento 2 shopping cart and checkout: show discounts tax included

In my checkout and shopping cart discounts are appearing tax excluded. I would like to show it tax included I'm searching where is defined the displayed value to place something like amount * 1.21, ...
2
votes
0answers
15 views

Magento 2 : Category products dynamic rules get scope between 10% and 20% discount

We have a category where we need to add all products from another category with between 10% and 20% discount. The problem is that some of the products have a special price AND a price-rule which ...
2
votes
0answers
139 views

Magento 2: How to get discount price for each cart rule in quote

I need to get all discounted price from each cart rule which is applied on current quote. I am getting applied rule ids from $quote->getAppliedRuleIds() and I am getting total discounted amount but ...
2
votes
1answer
154 views

Apply catalog price rule on all products of one category

i have different cataloge price rules for different products of different categories. Now i want to add a new minus discount to a category with 60 products (-5%), which i implemented successfully. ...
2
votes
1answer
90 views

Crons not working in Magento 2.2.6

I am using Magento 2.2.6 with a theme. www.rbhomoeoshop.com The store is using rule to offer x amount of discount on each and every product. There is no condition for discount. after every 2 or 3 ...
2
votes
0answers
64 views

Cart price roles - Discount 20% on a cheaper product - Magento 2

I am trying to set in Cart prices roles discount 20% on a cheaper product and I can't find a way.
2
votes
1answer
39 views

Customer in more than customer group

One customer asked me, if it's possible to add a customer in more than one customer group. He wants to give his customers a discount which is manufacturer based. Example: Customer 1 get a discount ...
2
votes
0answers
106 views

How to display Catalog Price Rule Discount and Special Price Discount along with Cart Price Rule Discount?

I'm using Magento version 2.2.4. Currently on view and edit checkout page, only Cart price rule discount is shown as below How to show Catalog Price Rule and Special Price (added while adding a ...
2
votes
0answers
72 views

Magento 2 Cart Price Rule Coupon Specific Coupon Does not Apply for some porducts in Admin Order

There is an issue which I am not sure if it's a bug and I hope someone can tell me, the bellow screen shoot were taken from an order: As you can see the product in red circled didn't apply the ...
2
votes
0answers
30 views

Free Delivery and Coupon Codes

A client has a site that offers free shipping over £20 as a delivery method. However, there are also some discount codes 15% off etc. The client has a major issue with peoples baskets being £20+ ...
2
votes
1answer
74 views

How to remove automatic applied coupon in magento 1.9

I want to remove automatic applied coupon when user enter another coupon code.
2
votes
0answers
199 views

How to move coupon code to shipping step of checkout in Magento 2?

I am trying to move coupon code to shipping step instead of payments & review step. how this can be implemented? I need discount code form to appear in shipping step after shipping methods ...
2
votes
1answer
500 views

Magento 2 : How to Set custom Discount from controller?

I am developing module which set discount to total , Whenever customer will press Get Discount. I can able to reduce Subtotal and GrandTotal in customer quote, Also my quote table is getting updated. ...
2
votes
1answer
133 views

Magento 2 : Catalog Price Rule Based On Time Period

I have come across a requirement where my client wants to provide a discount on specific products which is based on time period. Below is the condition. Discount Start - Every day after 22:00 Hrs ...
2
votes
0answers
287 views

Magento 2: Percent coupon with discount amount limit

I want to give customers a 10% discount coupon but I want to enforce a discount amount limit, that is that the maximum discount amount is $250. Is there a way to limit this using a coupon?
2
votes
0answers
417 views

Discount amount not showing on checkout

I have created rule 50% discount. When buying product it does apply discount on the price but it does not showing that discount amount on checkout. I tried to do my research and I found that I need ...
2
votes
0answers
422 views

Magento : Catalog Price Rules “Apply Rules” Programmatically

i'm create Catalog Price Rules Programmatically it's work fine. The issue is, I need to login with admin and click button "Apply Rules" other wise discount is not apply in magento store. So I need "...
2
votes
1answer
698 views

Customer Tax and Discount Rules

Even though I've been working with Magento for some years now, the combination of discount rules and tax rules has always been some kind of mathematical mystery. In basic, there are 2 parameters: ...
2
votes
1answer
372 views

magento 2 - call payment method render function after discount has been applied

i defined a function RecalculatePlan in */view/frontend/web/js/view/payment/method-renderer/installment-method.js that recalculates the installments displayed in a table contained in the method ...
2
votes
1answer
747 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, ...
2
votes
1answer
1k views

Coupon for specific product not for subtotal of cart

I would like to setup a promotion in my Magento system, I not sure defualt magento can do this, Anyway here is the task: I have Three products in cart •Product A: $50 •Product B: $100 •Product C: $...
2
votes
0answers
48 views

Discount For Specific Order Number

We want to offer special discount for Order Number "10000900 - 10001000". Anyone who's order/purchase comes under this range will get a special discount of 40%. As far as i know magento doesn't have ...
2
votes
0answers
827 views

Magento catalog price rule apply percentage discount but it's rounding up to 21% and 22%

I am applying a catalog price rule to reduce certain items by 20%, however some items are showing a reduction of 21%, 22% and 23% which is shown on the sale tag. We are using the theme 'Harbour' which ...
2
votes
0answers
97 views

New filter condition: Add cart id as attribute to shopping cart rule => Solving discount on first item only

we have been trying to solve this for ages. Apply 50% on first product in cart only. As I understand this cannot be done as is. Magento 1.9.0.1 So I was thinking. Can I add a new filter condition? ...
2
votes
0answers
55 views

Discount Option In Magento

I want to apply the 10% discount option for two of my products for which it has to show that on online purchase it show the discounted price in the invoice that will be generated for the product. how ...
2
votes
0answers
225 views

Add Fee or Discount to Order Totals - Problem with Order Confirmation Email

I am finding difficulty in getting discount to order confirmation email template . I am working on enterprise version 1.12.0.2 . Discount label and price is not displaying in order confirmation email ...
2
votes
0answers
334 views

Product Discount Groups and Customer Groups

How can I set-up Product Discount Groups and add different prices for the Customers Groups? I want to import different products in Magento: E.g. one sheet has 30.000 products. The products are sorted ...
2
votes
1answer
925 views

Add shipping on subtotal after discount

I want to add freeshipping on subtotal but after discount i already have tried with if ($request->getFreeShipping() || $request->getPackageValueWithDiscount() >= $this->getConfigData('...
2
votes
1answer
361 views

Subtotal Discount not Applying to Multiple Shipping Addresses

I'm trying to implement a coupon code subtotal discount (10% off over $150) but it is not applying when shipping to multiple addresses. For example, I can place an order totaling $200. Adding the ...
1
vote
0answers
38 views

How to remove coupon from payment dive after clicking order summary discount code close button in magento2?

I have made custom discount remove button on checkout order summary. coupon removed successfully but how to refresh payment div discount box code after removing coupon? order summary: payment div:
1
vote
0answers
27 views

Different price between PDP and cart

A client uses bundle products with discounts, which are set as a percentage of the original price. The discounted price is rounded to two decimals on the PDP and used in the total price calculation (...
1
vote
0answers
18 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 ...
1
vote
1answer
43 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 ...
1
vote
0answers
48 views

100% Discount for matching products with discount code, Max qty 1 per product, Maximum fixed total, with 5 items

We have a clothing shop and are offering the following discount with a code to select customers only... 1 Free Sweatshirt (any size) 1 Free Polo (any size) 1 Free Fleece (any size) 1 Free Coat (any ...