Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [discount]

Indicates Questions regarding Shopping Cart discount

Filter by
Sorted by
Tagged with
0
votes
1answer
26 views

How to show Applied discount from Shopping Cart on Shipping Step Checkout Page Magento 2?

Please Check Attached screenshot: On Checkout Page under Shipping Step i want to display Shopping Cart page applied discount Coupon Code and Amount. Please check below code: app\code\Vendor\...
0
votes
0answers
10 views

Magento 2 - base price + percentage to be displayedand used for calculating price

A Magento store needs to update prices based on CSV every day. The price given is "base price", instead of pre-processing said CSV to add profit, how can I add a certain percentage to price? Found ...
0
votes
1answer
20 views

How to remove particular coupon code if other cart rule without specific coupon is applied on product in magento2?

condition 1: I have 2 cart rule which are directly applied on product if specific conditions are true as given in cart rule. condition 2: there is an another cart rule in which i have added one ...
0
votes
0answers
17 views

Magento 2 Apply Custom Discount to the Quote Programmatically

I want to add custom discount to the quote programmatically but the total not updated and when place the order the discount is not affected. $cartId = 199; $quote = $this->...
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 ...
1
vote
1answer
24 views

How to set special price for specific customer group

Guys I'm wondering how to add special price for specific customer group? For example, I have a group called "VIP", I want to set 10% discount on every product for this specified group only. Thank you ...
0
votes
1answer
48 views

when coupon code apply and discount amount 0 then coupon not showing in order summery

I want to coupon code showing when discount amount is 0.00 Note: when discount coupon code is 0 or more then rule working fine
0
votes
1answer
60 views

Magento 2: Show subtotal without discount in Cart page

In my custom module, I need to Display subtotal without discount(subtotal - discount) how can I achieve my needs? , any help appreciated. Thank you
0
votes
0answers
29 views

Set discount only for one category for product who has multiple categories - Magento 2

I have some products which have 2 categories: Fabric and Wallpaper. I set cart condition that apply if category is Fabric and quantity is > 2. This works perfect. But I have a problem because some ...
0
votes
0answers
14 views

How to automatically apply a 50% discount to the order total for all re-orders?

As a client requirement, I need to automatically apply a 50% discount off the order total for all re-orders. This will be for all registered users. Is there a way to customize the re-order function to ...
0
votes
0answers
7 views

Generate 50% off coupon on already discounted products.If there is 10%, 20%, 30% or 0% OFF then the coupon should make it 50%

I want to generate coupon that apply 50% OFF on the products but if there is already discount on them like 10% OFF then the coupon should make it 50% OFF.Like wise if there is already 30% OFF the ...
0
votes
1answer
36 views

Magento 2 cart rule conditions and action to exclude specific product using sku

I have added cart rule and its working properly, I need to exclude specific product from cart rule and others to go with cart rule. EX: sku1 need to exclude from cart rule. 1.Only "sku1" in the ...
2
votes
3answers
190 views

Magento2 How to Discount Description add on Checkout order summary

I Want to add Coupon Description in Order Summary I have to Find the file here app/design/frontend/[VendorName]/[theme]/Magento_SalesRule/web/template/cart/totals/discount.html <!-- ko if: ...
0
votes
1answer
18 views

How to Get Special Prices to Show with Original Price Strike-through in magento 2

Am adding special price with Original Price Strike-through
0
votes
1answer
29 views

Discount attribute is not visible in attributes set

I am new to Magento 2 and I am wondering why discount attribute is not visible in the store -> Attribute set -> Default -> Groups. I checked that the discount attribute is present in the ...
0
votes
0answers
27 views

Magento 2: Show discount and summary on mini cart (canvas)

I need to show the total summary and discount information on canvas cart. I am using a mini cart as canvas cart. https://prnt.sc/pcud8e May I call the api /V1/guest-carts/:cartId/totals-information ...
0
votes
0answers
12 views

Discount Message showing twice

Can anyone help me figure this out? I added text (as the default rule label) when creating a coupon code but for some reason in checkout the message shows up twice
0
votes
0answers
12 views

Discounts can not be applied to manual entered orders

I have a annoying issue that when we are entering an order manually in the backend we can adjust the product price to a custom price all OK but we are unable to use the discount box. It seems to be ...
1
vote
0answers
39 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:
0
votes
1answer
68 views

Magento 2: Remove coupon code from discount label

I want to remove Coupon code from Discount title on order summary from the Checkout page. please refer screenshot. i have checked console: <tr class="totals discount"> <th class=...
0
votes
0answers
15 views

Event for apply discount coupon Magento 2

I want to add custom validation for Discount coupon that it can be used only on first order of any customer. For this i want to create an observer for an event which will trigger when customer ...
0
votes
0answers
31 views

Magento 2: Shopping Cart Rule discount based on item quantity

I'm a Magento 2 newbie. My customer wants to add a cart rule like, apply 2% discount if item quantity >=12 apply 4% discount if item quantity >=24 apply 6% discount if item quantity >=36 apply 8% ...
0
votes
1answer
37 views

Magento 2.3.X: GraphQL does not reflect catalog rule discounts

I'm using Magento 2.3.2. I've successfully completed all cart-related tasks (create cart, add a product, select shipping& payment methods, and place the order) using GraphQL. GraphQL seems not ...
0
votes
1answer
24 views

How to show discount on all products without applying it in checkout page

I want to show X percent discount on all products in my website. I dont want to apply that on checkout page. Just only want to show visually like below image Is there any way to show this ? ...
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 ...
0
votes
1answer
36 views

Can anyone explain me the code and what is been returned in $discountData : Magento 2

$rulePercent = min(100, $rule->getDiscountAmount()); $discountData = $this->discountFactory->create(); $itemPrice = $this->validator->getItemPrice($item); $baseItemPrice = $...
0
votes
0answers
11 views

Magento 2: Fetch coupon details from coupon name without applying it to the cart

How can I fetch coupon details ie discount amount or percentage from coupon name without applying it to the cart?
0
votes
1answer
65 views

Magento2 : Product not saving set custom attribute using Observer

I want to set Discount on my product after Save product so I'm using catalog_product_save_after then I am creating an attribute 'discount' and set the calculated value, but when i save the collection ...
0
votes
2answers
52 views

Round Special Price displayed in Catalogue pages (Product Listing Pages) - Magento 2.3.2

Magento 2.3.2 - I have set discount through Catalog Price Rule. And so in Catalog pages (Product Listing Pages) there are two Prices displayed 1) Regular Price 2) Special Price (discounted ...
0
votes
0answers
19 views

Catalog Rule - Discount price application

What is the exact location where discount is applied ? How can we markup the discount price ? Are negative values acceptable in discount price ? If we want to set negative values and increase ...
0
votes
0answers
24 views

Magento 2: create coupon code

I want to create a coupon code which can work as a gift card. Gift Card will be applied separately (not in discount form/ Multiple coupon can be apply) I followed Coupon code to achieve this but the ...
0
votes
2answers
75 views

Magento 2: How to pre Open Apply Voucher Code in Checkout page

When checkout page is loaded it shows apply discount code section like this We want that it should be preopen as shown in below image How to modify core magento functionality to pre open this ...
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 (...
0
votes
0answers
65 views

Magento 2, Applied discount amount not display on checkout and order item table

I have created a Catalog Price Rule for 10% discount like the below image It applied product price, but its not showing on checkout details and also the discounted amount details are not saved in ...
1
vote
1answer
82 views

How to get discount amount for each item from order id / item id

How can I get the discount amount for each item in an order? using its order id/item id. I am not able to retrieve the discount amount from its order id/item id.
0
votes
1answer
123 views

How to get discount amount in Magento 2

I am trying to get discount amount, but no success How to get discount amount from $block->getShipment() <?php /** @var $_item \Magento\Sales\Model\Order\Item */ $_item = $block->getItem(...
0
votes
0answers
94 views

Apply discount amount on cart line items in Magento 2

I am trying to set discount amount on each cart item in the cart with some condition. I have followed like this to achieve that. Vendor/Module/etc/sales.xml <config xmlns:xsi="http://www.w3.org/...
0
votes
0answers
26 views

Hide reward points payment when discound code is applied in magento 2

I want to hide reward points payment option while discount code is applied but I don't know if that can be set somewhere in the Magento admin panel. I want to do it in reverse direction too, so if ...
0
votes
1answer
25 views

Magento 2 complicated shopping cart rule

I can't figure out how I can create a complicated cart discount rule I need and if it can be done. Conditions for customers should be: One specific brand called "Xbrand" If customer add 2 products ...
0
votes
1answer
180 views

Discount Codes Not Working After Update (Magento 2.2.9)

After an otherwise successful update to Magento 2.2.9, the discount code functionality has stopped working. When I try to apply it on the Cart page, nothing happens. When I try it on the Payment ...
0
votes
0answers
11 views

Discount on related products magento 2.3.1

We are using magento 2.3.1, I was wondering if there is a way to apply a discount on related products if a product is added to cart. Do I need to create a custom rule or something? any suggestions? ...
0
votes
0answers
14 views

How to set custom tax and custom discount while placing order programmatically magento 2

hi all, we are placing order programmatically at this momemnt we are trying to add custom tax and custom discount. If you guys have any idea please guide me thanks in Advance.
2
votes
1answer
68 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
21 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, ...
0
votes
0answers
28 views

Magento2 Product discount by customer attribute

I am using Magento2.3.1. I need to discount a product by a customer custom attribute. I've added "DynamoCustomerType" to customer attribute. I used this first order discount tutorial to add customer ...
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 ...
0
votes
0answers
20 views

I want to apply table rates shipping based on price AFTER DISCOUNT in Magento 2

I want to apply table rates shipping based on price AFTER DISCOUNT in Magento 2. For Ex. Here(https://prnt.sc/o4albv) is shipping apply on Subtotal amount $2676. I ...
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 ...
0
votes
0answers
27 views

Split cart rules/discount over multiple lines

I am trying to work out where or how I can get the discounts/cart rules to be applied across multiple lines eg Current Display Subtotal: $xxx.xx Discount (Free Shipping, Applied Coupon Code ...