Questions tagged [discount]

Indicates Questions regarding Shopping Cart discount

Filter by
Sorted by
Tagged with
13
votes
7answers
6k views

Magento 2 - discount depend on Payment Method does not work

I go to Magento 2 Admin > Marketing > Promotions > Cart Price Rules and create a new Rule: Bank Transfer Payment: Tab Rule Information: Rule Name: Bank Transfer Payment Status: Active Websites: Main ...
10
votes
1answer
10k views

sort products by newest, discount, most sold, reviews" in products list page

On the products list page, we can see sort by "Position, name, price" as in default Magento. How to sort by newest products (uploaded recently) Discount (highest discount products first) Best ...
10
votes
4answers
476 views

How to display configurable product discount in percent on product list in Magento 2

In the product detail page, it's showing a discount percentage. when I open the list page it can't be showing the percentage for the configurable product. Please give me the solution for that. I ...
8
votes
4answers
4k views

“Stop Further Rules Processing” not applying to all items

There appears to be a bug with "Stop Further Rules Processing" in Magento CE1.9 / EE1.13 where only the first item in your cart recieves the discount. I would expect: If I have multiple shopping cart ...
8
votes
3answers
471 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
5answers
3k views

Magento 2: How to implement First Order Discount?

I am planning to give the discount to the customers for their first order purchase. After shipment selection, I want to show the discount in the order summary(discount is only for the first order). ...
6
votes
2answers
5k views

How to determine if an item has discount from catalog price rule

Any ideas how to make sure the item in the cart / quote was affected by CATALOG price rule (not shopping cart rule)? There is a similar question without an answer: Do not apply catalog price rules ...
6
votes
1answer
8k views

Magento - Discount price including tax/vat

A client requested that discounts displayed in the shopping cart should be shown including tax/vat. The relevant tax settings at the time were: Apply Customer Tax: After Discount Apply Discount on ...
6
votes
0answers
705 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
2answers
17k views

How to get total discount amount of Coupon Code for all items in the cart

I'm using Magento 1.9.0.1 and here is the code on which I am working on: $quote2 = Mage::getSingleton('checkout/session')->getQuote(); foreach ($quote2->getAllItems() as $item){ $...
5
votes
3answers
9k views

How to set 30% discount on all products in magento shop

I want to set 30 % discount for all the product in my eshop, Is there any extension or any custom way i can made able to get this option.
5
votes
1answer
11k views

Magento 2 - How to add custom discount in cart programmatically?

I want to apply custom discount amount to cart programmatically. I have tried doing it in following 2 ways, none of which work: METHOD 1: I tried following the default way in which Magento2 applies ...
5
votes
1answer
6k views

Magento percentage discount amount/value being applied tax rule

I have strange behaviour which has always existed in my magento 1.7.0.2 as far as I am aware. I have a tax rule of 20% for all products so prices are input without tax. When creating a Percentage ...
5
votes
1answer
3k views

Working of discount coupons on the checkout page in Magento 2.2.2

I am trying to understand the working of discount coupon codes on the checkout page. When we apply any coupon code, then the discount is added to cart without reloading the page. I have checked and ...
5
votes
1answer
3k views

Magento 2: How to get the price of a product?

I know this might be a simple question to ask, but I'm wondering what's the proper way to get the price of a product? I know most of you might say "use Magento\Catalog\Api\Data\ProductInterface::...
5
votes
2answers
671 views

Magento individual discount for inner product of bundle product

Hello I have one question regarding bundle product in magento Let me take one example to be clear Suppose I have one bundle product named "bundle_test" and their child product which are simple ...
5
votes
0answers
575 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 ...
5
votes
2answers
2k views

How to exclude catalog-price-rule reduced items from a shopping card discount rule? [duplicate]

we are desperately looking for a shopping cart sales rule and a extension that allows us to do the following: We want to offer a shopping card coupon code (-15%) which can only be applied to ...
4
votes
3answers
3k views

Discount coupon is not working for minimum subtotal

I have created a new "Shopping Cart Price Rule" for discount coupon of 20% off on minimum shopping cart subtotal of Rs. 2000. For this I set values as under: Rule Information Status: Active ...
4
votes
1answer
8k views

Apply discount to only 1 item in the cart via Shopping Cart Price Rules

The situation is simple – I want to offer 25% discount on one product in the cart. So if you order 5 of Product A and 3 of Product B, you should receive 25% off either one of Product A or one of ...
4
votes
3answers
4k views

How can I add custom discount amount for specific quote Item/s?

What I know. What I have seen on my searches till now is that we can add custom discount to the quote and split the discount among the quote Items based on ratio calculated. What I want. But I want ...
4
votes
3answers
456 views

Should my product types be changed from configurable so that child discounts can be applied?

Issue: I need child products to have a special price that does not inherit from the parent product. Details: Currently I am using configurable products to list product options. We need to run a ...
4
votes
2answers
6k views

How can I get discount amount and grand total amount in mini cart ? (Magento 1.9)

I would like to display discount amount and grand total (including discount) in mini cart with Magento 1.9 instead of sub total. I didn't find out how to display discount (cart price rule without ...
4
votes
3answers
4k views

Discount for category and its subcategories

For example I have: Mobile -> Apple Mobile -> HTC Mobile -> Nokia I want to give 5% discount for all product in these categories. Is there any way to do it without creating a catalog price ...
4
votes
1answer
1k views

Magento 2 Core Bug Found For Multiple discount calculation in All 2.2.x version

This is the core issue in all Magento 2.2.x. When we add two cart price rule with action " Percent of product price discount". It makes little calculation issue in total discount. For example, I have ...
4
votes
1answer
278 views

Tax Calculation for discounted items

Having a huge problem with sales tax calculation. Magento 1.9 In NY state clothing and shoes under $110 cannot be charged with tax, and items in magento store that were more than $110 and after ...
4
votes
0answers
76 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
2answers
4k views

Magento 2 How can i remove coupon code from checkout

I'd like to remove coupon code from the last step of the checkout "Payment and Review". I have a custom theme with checkout_index_index.xml in Magento_Checkout/layout folder. Thank you
3
votes
1answer
9k views

How to display the total discount amount on my shopping cart?

How can I display the total discount amount on my shopping cart? I can get the subtotal and grandtotal from the code below, but what about the total discount? $quote = Mage::getSingleton('checkout/...
3
votes
4answers
10k views

Magento2 : Display percentage of discount on product list and view page

I want to display discount in percentage format on product list and product view page as like below 30% Discount How I can achieve this task in proper Magento-2 way. Code should be define in any ...
3
votes
2answers
5k views

Shopping cart rule : discount if 2 different sku are in cart

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, you get 10% off. It can be any ...
3
votes
1answer
9k views

Tax calculation after discount on Magento incorrect

I have a discount code on a Magento store that reduces the cost of the purchase by 10%. All works ok in that respect, except for the tax calculation. Example: Total value of the order is £34.18 ...
3
votes
2answers
2k views

Recalculate discount after change in order

Is it possible to recalculate discount applied to order after some changes done in it? For example: customer has ordered to 2 products and discount 10% was applied to order, we remove one of order ...
3
votes
1answer
4k views

How to apply an existing coupon code programmatically in Magento 2

I try to apply an existing coupon code programmatically in a controller by coupon id. The only thing I found these code lines for Magento 1. Mage::getSingleton('checkout/cart') ->...
3
votes
2answers
2k views

Displaying saving/discount price in cart page

/app/design/frontend/rwd/amaze/template/checkout/cart/item/default.phtml In above file i have added the bellow snippet code to display saving amount for each product and its working good now in this ...
3
votes
4answers
12k views

How to get discounted price

I create a Catalog price rule in admin. Now it's applying in the front-end. But, I want to show actual price in the shopping cart. So I did the below code in abstract.php file. After that I call it in ...
3
votes
1answer
5k views

Magento 2 - Add Custom Discount to Order Totals on Cart page

protected function productpointAjax() { $layout = $this->_view->getLayout(); $this->checkoutSession->setCartWasUpdated(true); $totalsBlock = $layout->createBlock('Magento\...
3
votes
1answer
319 views

How to retrieve individual discount split up (shopping cart price) on Cart page

We have created multiple shopping cart price rules and they have been applied to the user. In a single cart for a user, multiple shopping cart price rules have been applied. By default Magento can ...
3
votes
1answer
470 views

Multiple shopping cart discounts based on subtotal

I have set up multiple shopping cart promotion rules and sometimes, more than one rule is applied. What I want is that all discount rates are applied to subtotal and not one after the other. Example: ...
3
votes
3answers
5k views

Product with special price should not applied for a discount in shopping cart using promotion rule

I have made one promotion rule for shopping cart. If product has price $7.99 from specific category, will get fixed amount of discount $5. This promotion rule is not working well when some products ...
3
votes
2answers
1k views

Using reward points

I have a list of reward points earned by the user with a limited expiration time. During checkout process, i need to let the customer view the available (unexpired) rewards and let them use it to pay ...
3
votes
1answer
2k views

Discount calculcation bug in 1.9.0.1

I upgraded recently from 1.7 to 1.9.0.1 and I am wondering if this is a bug or if I just missed some new configuration, I am not using tax classes btw. When creating a shopping cart price rule, (e.g. ...
3
votes
1answer
785 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, ...
3
votes
1answer
155 views

Coupon Code £5 off / £50 spent, £10 off / £100 spent (but not 10% off)

I want to make a single code which gives you £5 off per £50 spent... So if you spend £250, you get £25/off however if you spend £220 then you only get £20 off. (Note that its not 10% off...) Any ...
3
votes
3answers
638 views

Discount percentage based on order value

Please could someone share their wisdom on how to implement a custom discount percentage based on order total? I'm relatively new to Magento but have had a good look through the admin back-end of my ...
3
votes
1answer
731 views

Add item to totals in pdf invoice

We have a pdf invoices with totals displaying both prices with included and excluded tax, but without a subtotal. What we need now only on pdf invoices is to display a total when the discount (coupon ...
3
votes
0answers
39 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
38 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
139 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 ...