Questions tagged [discount]

Indicates Questions regarding Shopping Cart discount

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

In magento 2 how can i give discount to product if particular category's product exist in cart?

In Magento 2 I am want to give a 15% display to the product which do not exist in the "member" category but in cart must be 1 product available which is from the "member" category. ...
0
votes
0answers
11 views

Magento 2 add tooltip for the discount section on checkout page?

I would like to display tooltip on checkout page for discount section in the magento2. Can anyone provide me the steps to achieve this? Please refer the screenshot
0
votes
0answers
48 views

Magento 2 multi line discounts

I want to save the discount amount of each applied cart rule in a column. I have created a column in the quote table and I have saved the applied rule names in the field using the ...
0
votes
0answers
10 views

Magento2 Cart Discount rules - 2 different rules for two different products

I have tried setting up the following Magento2 Cart Discount rule and have not been successful : If cart total with tax is equal to or greater than 50 15% discount on products A or B or C or D if in ...
0
votes
0answers
11 views

Discount Calculation Problem

Am using Magento 2.3.5, I have created two Cart rules, one is 1+1 offer another one is 2+2 Offer, When I added these products in cart discount calculation is wrong. check the attached image. in this ...
0
votes
0answers
6 views

Auto-select and apply whichever offers higher discount: Special Price/Catalog Price Rule or Cart Price Rule (coupon)

I have seen some of the shopping websites which run promotions across the site and offer base-discount. They then also give coupon code to all kind of users via dm on social media sites. For example: ...
0
votes
0answers
13 views

grand total not update discount applied

I've this same behaviour Grand Total not updated when discount code is applied but not always... sometime, when I apply discount coupon, the grand total cart, not update and when I go to pay (redsys), ...
0
votes
1answer
20 views

how to add discount on custom option by qty in magento 2

how to add discount on custom option by qty in Magento 2? on add to cart magento version 2.3.4
0
votes
1answer
16 views

Coupon Code Discount for Product in Certain Categories

I'm trying to create a coupon code that will apply a discount to an item in a cart if it is in a certain category but won't discount other items that are also in the cart. I tested out what I created ...
0
votes
0answers
16 views

Magento 2: Calculate discounts based on Base Original Price

I'm looking to add a functionality to my site where all discounts are calculated on the base original price of a product. This is our scenario: A customer adds a set of products in their cart. Upon ...
0
votes
0answers
11 views

Magento 2 sale price on additional items

Is there a concise way to have Magento apply a discount for multiple quantities of the same item, but only apply the discount to the additional items and exclude the first? For example, we would want ...
0
votes
1answer
26 views

Is there any way to get all Applied Discount (for cart rules and coupons) line items in cart/order in Magento 2?

I need to show all cart/order discounts in the following manner: Subtotal ----------- 100.00 CHRISTMAS10 (Christmas Sale 10 % off) ----------- -10.00 CHDLL1242DK (Coupon ...
1
vote
1answer
47 views

How to move apply coupon to Tab in Magento 2 in Checkout?

I want to move apply coupon to Custom created Tab in Magento 2 in Checkout. I want to add " apply coupon " on Summery Page. I have added this code in my checkout_index_index.xml <item ...
0
votes
0answers
13 views

Apply Discount and Cancel Discount is not work on my Custom Tab

I have created a Module in which Created some custom Tab and on that tab i have added discount coupon code. I have added <div class="payment-option _collapsible opc-payment-additional discount-...
0
votes
0answers
14 views

How apply multiple discounts to cart/quote in Magento 1?

I have situation where I need to apply two discounts at the same time in magento 1 cart. One of them is Subscription product discount - catalog price rule Second one is discount coupon - shopping ...
0
votes
1answer
63 views

How to add discount coupon code on Custom tab in Magento 2?

I have created Custom Tabs in Magento 2 Between Shipping and Review and Payment. I want to remove Discount Coupon Code from Review and Payment to my Custom Tabs.How will i do it ? I have already ...
0
votes
0answers
10 views

Apply/change sales rule discount programmatically based on customer group

Is there any way to apply a global discount dynamically based on the customer group. Eg. Customer A belongs to Group1 and defines global sales discount 10% when he logs in and add products to the cart....
0
votes
1answer
68 views

How to apply coupon code on Custom tab in Magento 2?

I have created Custom Tabs in Magento 2 Between Shipping and Review and Payment. I want to remove Discount Coupon Code from Review and Payment to my Custom Tabs.How will i do it ? I think this part is ...
1
vote
1answer
34 views

how to get configurable product price on recently viewed products in magento 2?

first one simple product it is getting discount price but configurable does not getting discount price in recently viewed product. getRegularPrice: function (row) { return row['price_info']['...
1
vote
1answer
14 views

Invert product regular-price and old-price

someone could help me to know how to invert regular-price and old-price on bundles products (M2). I found other threads about but them seems to not run on my site. So I need to have as first old-price ...
2
votes
0answers
17 views

In Magento 2, How to apply Discount code to order

In Magento 2, I am Creating order programmatically using this tutorial. I need to apply Discount code(Cart) to order. I am using this link. But not working. Any other solutions worked out.
0
votes
0answers
13 views

What is the purpose of sorting items by priority when computing \Magento\SalesRule\Model\Quote\Discount::collect()

In Discount::collect() at a certain point this executes \Magento\SalesRule\Model\Validator::sortItemsByPriority($items, $address) What is the purpose of this, why is necessary to sort the items in the ...
0
votes
0answers
9 views

When I apply a discount to a specific group, everyone can see it

I have a problem. I want a group of customers to be able to view and buy at a discounted price. To do this, create a group of clients and add me to that group (me). Call it "Wholesalers = ...
0
votes
0answers
13 views

Checkout page discount code problem

I have a question. In checkout page when user put a discount code, the page refresh change language. Thank you
0
votes
0answers
6 views

I would like to discount only when 5 or more qualifying lines exist

I need to set up a discount system where when the customer is buying 5 or more kinds of things from a category they get a discount on everything from that category. It doesnt mater how many of each ...
0
votes
0answers
22 views

Rounding percentage discount

I'm using the following formula to show pergentage discount on frontend $sconto = 100 - ($_product->getFinalPrice() / $_product->getPrice())*100); It's working well with > 1 € prices, but ...
0
votes
0answers
88 views

Magento 2.3.5-p1 Expand Discount Code field on checkout payment step by default (luma)

I try to have the discount field on the checkout payment step expanded by default but it seems my changes do not have any effect. My theme inherits from luma. I have the following code in my Namespace/...
0
votes
0answers
20 views

Magento 2: How to sort products by discount

I want to add a new custom option "Discount" inside Sort By dropdown on category page so that I can sort the discounted products from sort by options. Please help, How can I implement this ...
0
votes
2answers
58 views

Is it possible to create a non-ecommerce site using Magento?

I have a site to develop that needs to be a kind of voucher code site. This means that the site will provide voucher codes for other sites, the user will come to my site and pick voucher codes for ...
0
votes
0answers
34 views

Magento 2 Commerce Cloud catalog price rule

Can anybody explain to me how Catalog rules working for an item in Magento 2 commerce cloud edition? I cannot see the start/end date while creating a rule. also when I create this rule ...
0
votes
0answers
115 views

Programmatically Apply Catalog Rule Not update product price in tables - Magento 1.9

I have a catalog price rule whose one condition is short_description contains Discount word. For the rules having contains condition with flat catalog enabled system we need to disable flat catalog ...
0
votes
0answers
16 views

Magento 2 Discount doesn't show correct

When the discount is bigger than 0, It show like this: When I have a discount with discount amount is 0(I have a gift), It doesn't show the discount, it will only show discount code in shipping. How ...
0
votes
0answers
8 views

display cart discount block depending on product category

Looking to display or hide the discount block on the cart page based upon the categories of the products in the cart. Say for example, if a customer added products from categories 2, 3, and 4 to the ...
0
votes
0answers
24 views

Multiple cart price rules for % off subtotal

I have been trying to apply multiple cart rules to apply a % off discount of the whole cart based on items in the cart with no luck. The rules are as follows: Buy 2 Items - 10% Off (should apply ...
0
votes
0answers
11 views

Can I discount tax + additional percentage off?

Is there a way in magento to set up cart rules that will remove the tax based on the cart items + add an additional percent off? We're using Magento 2.3.2. For example: Buy 2 Items: No Tax + Extra ...
0
votes
0answers
16 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
22 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 ...
2
votes
1answer
27 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
59 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
208 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
101 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
114 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
47 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
10 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
34 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
97 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
30 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
12 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
2 3 4 5
10