Questions tagged [discount]

Indicates Questions regarding Shopping Cart discount

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

Magento 1 - Discount for all products except

I am trying to add a discount code for 25% off everything except for specific SKUs but it isn't working. Under the Actions tab, under "Apply the rule only to cart items matching the following ...
0
votes
0answers
14 views

Hide old price when group price is setted - Magento 2

I am using magento version 2.3.1 with the "Porto" theme installed. I have set a group price for a product. In the frontend I see the original strikethrough price and the set price for user group. Is ...
0
votes
0answers
13 views

Tax calculation after discount

So I have a custom discount applied the following way: on vendor\module\etc\sales.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
0answers
17 views

Split cart price rules and discounts over multiple lines in checkout page?

Split cart price rules and discounts over multiple lines in checkout page? Anyone? after debugging for a while I found that I likely need to save rule/discount detail in 'extension_attributes' of $...
0
votes
0answers
26 views

Magento2 - Tax including pricing and discounts

I'm configuring a UK Magento website and I came to a problem with tax including Prices and applying a discount with a coupon code, my prices were added with tax included so I configured the Store >...
1
vote
0answers
15 views

Custom total/discount is being calculated after tax instead of before

A client of us wants to give logged in customers a discount based on the full order amount of the cart. The discount amount is saved in a custom attribute as percentage. The discount is working as ...
0
votes
0answers
18 views

How to develop membership extension for magento

I want to develop a membership functionality extension for my Magento 2.3.3 site, All I want is my customer can purchase 3 membership plans Gold, Silver, Bronze. The person who has purchased our ...
0
votes
1answer
26 views

How to import 20.000 coupon codes in Magento 2 without paid

I want to import 20.000 coupon codes on my website, and for this reason, I created the following script: <?php use Magento\Framework\App\Bootstrap; /** * If your external file is in root folder ...
0
votes
0answers
9 views

How can i add membership functionality in my magento 2.3.3 C.E store

I want to add membership functionality in my magento store where i can sell membership packages and according to the package customer can take advantage of several facilities. For example person ...
0
votes
0answers
30 views

Magento 2 : Customer Group dropdown Tax option on product page

I created a customer group Tax, name corporate, and apply two tax rule, IVA Nomraml 21% Govt 4% and IVA Nomraml 10% Govt 4%. Now I need the customer has to be an option to choose the tax amount from ...
0
votes
0answers
6 views

Add or show the discount amount for the special priced product on the invoice?

Currently, Magento 2.2.7 is showing the discount amount in the invoice and orders, if coupon gets applied. But I need to show the discount amount also for a specially priced product. Suppose if any ...
0
votes
0answers
32 views

How to apply as percentage of special price in Magento 2?

I am attempting to apply a discount to the special price instead of the original price. Is there a way I can get an option in the Actions section to say "Apply as percentage of special price"? Thanks
0
votes
0answers
52 views

Magento 2: discount coupon not working ONLY on checkout page

In Magento 2.3.3 and I have noticed that the discount code is not working on the Checkout Page. The weird thing is that, It is working on the Cart Page, but on the Checkout Page It doesn't do ...
0
votes
1answer
24 views

Magento 2: Calculate sale price based on Special Price not Standard Price

I am attempting to do a "sale on sale" promotion for one of my clients. They would like to add a discount on top of items that are already on sale. Example: "take an extra 30% off sale items." Now, I ...
0
votes
0answers
9 views

Distribution of order discount does not take conditions of discount into equation

Everything I have read indicates the formulat for distributing the cart discount among the items of the order is: To calculate the discount amount for each item, Magento uses the following equation: $...
1
vote
0answers
25 views

Change coupon discount calculation

I'm new in Magento, and if someone can bring me some light is there a way to overwrite the calculation method when discount is applyed? Mage version 1.9.4. The problem is for eaxmple how mage is ...
0
votes
0answers
20 views

Magento 2.x - Display discounts with tax

I would like to be able to display discounts on the checkout page inclusive of tax. I can not just set the tax rules in the Magento back end to enable this, as I get the warning that I need to set ...
0
votes
1answer
40 views

How to show discount form on checkout page?

I want to show a discount form on the checkout page. I have added this below code on checkout_index_index.xml <?xml version="1.0"?> <!-- /** * Copyright © 2016 Magento. All rights reserved. ...
0
votes
1answer
132 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
18 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
89 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
27 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
54 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
35 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 ...
-1
votes
3answers
218 views

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

Coupon code not showing when discount amount is 0.00
0
votes
1answer
141 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
33 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
115 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
588 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
58 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
30 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
36 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
13 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
46 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
119 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
32 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
35 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
98 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
28 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
43 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
45 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
101 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
60 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
30 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
255 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
2 3 4 5
10