Skip to main content

Questions tagged [discount]

Indicates Questions regarding Shopping Cart discount

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

Getting order items discount amount returns 0, but order discount returns right amount?

Magento 2.4.6 I ordered an item and applied a coupon code in checkout. I got a discount of $1.50. This amount is shown in the item on the order detail page as well as in the order totals. Now, trying ...
user4095519's user avatar
0 votes
2 answers
56 views

Adding if condition in checkout_index_index.xml

I want to add an if statement inside checkout_index_index.xml. The reason for these is to hide some of the element like discount code. I know this is possible with JS file but I don't want to use the ...
Avesh Bond's user avatar
0 votes
0 answers
14 views

Magento 2 : Cart price rules with bundle product issues

I'm having an issue with a discount cart price rule for bundle products. To understand the issue you might want to know we mostly sell USED hardware. The NEW products are not sold much and not much on ...
Ivar Kramer's user avatar
0 votes
2 answers
50 views

Magento 2 : Prevent Child product discounts from applying to bundle products

Is there a way to prevent child product discounts from applying to bundle products? I have a bundle product with its own discount, but both the bundle discount and the child product discount are being ...
Anass Hl's user avatar
0 votes
1 answer
19 views

Is it possible and how can I create a discount coupon via webapi or graphql natively?

I found this here in the documentation but I don't know where the value or type of discount goes, whether percentage or fixed
Rodrigo Araújo's user avatar
0 votes
0 answers
26 views

Apply Discount to Grouped Product

I want to apply discount on the grouped products. The associated products are visible, so when i use cart price rule, the discount is applicable to them as well. Please suggest me an alternate way to ...
surbhi agr's user avatar
0 votes
1 answer
22 views

Magento Cart Discount Rule

Hi i need a discount rule that looks at all the products in the cart > if the total of products in the cart from category A ≥$2500 > 15% discount is applied to the amount over 2500. is this ...
user21300793's user avatar
0 votes
0 answers
60 views

remove discount from the cart page

Is there any way to remove discount price [NOT THE COUPON FORM] from the cart page and adjust the Totals accordingly but should be visible on checkout page ?
Cv Gandhi's user avatar
0 votes
0 answers
13 views

Running a special discount, but the price not reflecting on cart page

So i updated the pricing for the discount campaign. However, for the people who have added the products added in the cart can see the old pricing and add the coupon code. please help
Spardha Kudalkar's user avatar
1 vote
0 answers
58 views

Magento 2.4.4: Discount on shipping amount not working with Paypal Payments Pro

I have created a Cart price rule with coupon code with condition where 85% discount is applied to the total. I have also enabled "Apply to Shipping Amount". When I placed an order the ...
mechanic's user avatar
  • 440
1 vote
1 answer
605 views

Magento 2: Add discount based on individual qty and item to cart

I need to set cart discount based on individual qty and individual item for cart. For example if cart have 2 item then lowest price item to give higher percentage discount, like need to add 10% and 20%...
Kirti Nariya's user avatar
  • 3,071
4 votes
0 answers
84 views

Discount Calculation Issue Magento 2

I am facing an issue with the discount calculation. There are three coupon which are applied automatically without coupon code (coupon 3, coupon 4, coupon 5) and one more coupon code which i have ...
Sunny Rahevar's user avatar
0 votes
1 answer
526 views

How can I set discount in price at product order by a customer programmatically

If a customer places an order for 5 Qty of a product, then a 10% discount would be given. How can I do in Magento2 programmatically
Muhammad Zahoor's user avatar
0 votes
0 answers
122 views

Add discount on each product based on product price

I have 100 products in my store and each product has different price. I want to add discount on each product based on specific price. For example, If a product is added into the cart and it has 100usd ...
Asad Ali's user avatar
1 vote
0 answers
203 views

Magento 2 discount value is removed for logged in user using cart rules

I have a problem with discount not subtracted from grand total in checkout. The discount is coming from a cart rule and is displayed correctly on the checkout page but the grand total is without the ...
AlaaL's user avatar
  • 21
0 votes
1 answer
260 views

Buy specific SKUs get 10% of on all other products

I am working in Magento 2.4.4 I am trying to set a Cart Price Rule where I say "Buy specific SKUs and get 10% discount on all the rest of products" Like "Buy X Get Y - Percent Discount&...
Ben's user avatar
  • 141
0 votes
1 answer
434 views

special price product collection working but loading speed is too slow ,I don't understand why the speed is so slow please help!

<?php namespace Product\Discount\Block; use Magento\Catalog\Api\CategoryRepositoryInterface; /* use Magento\Catalog\Api\CategoryRepositoryInterface; use Magento\Catalog\Block\Product\Context; use ...
Zargam Zargam's user avatar
1 vote
1 answer
842 views

Magento Cart Price Rule - How to Sum Specific Category For Discount

I want to create a discount code in Magento 2. The offer is £25 off every £250 spent on Garden Furniture. So, the rules must only apply on products from the garden category in the cart. For example, a ...
J Quatropi's user avatar
0 votes
2 answers
1k views

Magento 2 : How to calculate discount and shipping charges to programmatically created order?

I'm creating an order programmatically. I have added cart price rule in backend for subtotal above 1000 will get 30% product price discount on product When generating order(programmatically) as a ...
Mohit Rane's user avatar
  • 1,965
0 votes
1 answer
402 views

Cart Price Rules always applied - regardles of storeview, status or even expiry date

I have a problem with Magento 2 (2.4.3-p1) where the Cart Price Rules are always applied to products on the checkout. Regardless of the rule is active, conditions are met, the coupon code was entered ...
makey's user avatar
  • 15
0 votes
1 answer
191 views

Catalog Price Rule - Ignore Custom Options

I recently migrated over from a Magento 1.9 instance. When we applied the catalog price rules it only discounted the price of the product and the associated custom options remained as they were (no ...
Ryan's user avatar
  • 11
0 votes
1 answer
42 views

EMERGENCY: Everything on our Magento 1.9.4 is all of a sudden discounted by 19% exactly!

Magento 1.9.4 Smartwave Porto We never ever never had this problem. All of a sudden - ALL of our products on our Magento 1.9.4 website are discounted by exactly 19%. This is a huge problem for us! I ...
Allysin's user avatar
  • 260
0 votes
2 answers
930 views

Magento 2: Remove discount applied(Coupon code applied) on place order event

I want to remove discount applied(Coupon code applied) when order is placed. Any help would be appreciated. My controller code: class Success extends \Magento\Checkout\Controller\Onepage implements ...
mechanic's user avatar
  • 440
0 votes
2 answers
659 views

Discount the cart price which product price - Magento 2.4.2 CE

I need to discount the line item's total price in the total when the particular product is added to the cart. How to implement can get any suggestion. Eg: Product A added to the cart at the qty of 5 ...
Sabareesh's user avatar
  • 358
0 votes
0 answers
161 views

Apply rewards to products Magento 2 EE

I need to apply the reward points discount to the products and not to the subtotal as I need to calculate the tax after all discounts, includying reward points applied value. How can I do that? Note: ...
John Mahecha's user avatar
0 votes
0 answers
33 views

Magento Cart Rule: discount increases with number of items in the cart from the same category

I want to make a cart rule where if you put: 1 item in cart you get 20% off 2 items in cart you get 30% off the whole cart 3 or more items in the cart you get 40% off the whole cart All items are ...
E123LI's user avatar
  • 1
1 vote
2 answers
2k views

Is there is a way to apply automatic coupon code in Magento 2 if total is greater than 1000?

I have a Magento 2.4 Store in which i want to auto apply coupon code when the total of the product is greater than 1000. Like i don't want to enter that in discount box Like here i don't want to ...
Prits's user avatar
  • 625
0 votes
1 answer
928 views

magento 2 sort by discount calculation category page

if($currentOrder == "discount"){ $subject->getCollection()->order('((price_index.price - price_index.final_price) / price_index.price)', 'DESC'); } how i get the discounted ...
Ranjeet Kumar's user avatar
0 votes
1 answer
994 views

Magento 2: How to show multiple discount coupon code separately in backend while creating order (order totals)

I using Magento 2.4.2. In the front end, After applying the multiple discount coupon, It will show you both coupon code separately which is fine, as shown in the below screenshot, In the backend, ...
Mohit Rane's user avatar
  • 1,965
0 votes
1 answer
540 views

How to apply cart rules directly on Order?

I have added a BIN promotion which is needed to be applied just before payment directly on order. I have found 2 methods that apply discount but require a quote object. \Magento\SalesRule\Model\...
Milind Singh's user avatar
  • 1,594
1 vote
0 answers
36 views

Magento2 Add $20 discount to users (both Login & Guest) who subscribe for Newsletter & a coupon code to apply this discount, validity of 4 weeks

Magento2 Enterprise Edition - I need to provide $20 discount to users (both Login & Guest) who subscribe for Newsletter A coupon code to apply this discount & the validity of 4 weeks ...
Arjun's user avatar
  • 3,586
0 votes
1 answer
1k views

Bundle Cart Price Rule problem

I'm essentially trying to create a multi-pack listing where the customer can choose their colour options of up to 4 items and assign a discount using a cart price rule. I've set up the cart price rule ...
Rob's user avatar
  • 1
1 vote
2 answers
2k views

Percentage discounts using cart price rules being calculated incorrectly

I'm running a Magento instance of 2.3.6-p1 using PHP 7.3 and having issues with Magento not calculating the discounts correctly. How I tested Set discounts to be applied before tax in the admin Set ...
Goose84's user avatar
  • 2,621
0 votes
2 answers
107 views

100 off for any three product within category

I want to create the discount within the category. 100 off for any three product within category But my rule apply only when user buy three item from the same product. Not within Category any three ...
D 3's user avatar
  • 1
1 vote
0 answers
174 views

prevent brute force attacks on the discount codes

Is there a way to prevent brute force attacks on the discount code input eg limit the number of discount codes a customer can enter a day?
Goose84's user avatar
  • 2,621
0 votes
1 answer
896 views

Exclude products which are in more than one category from Cart Price Rules

I have a problem with Magento 2. We have products in more than one category. Now we would like to create a cart price rule, but we would like to exclude products for which one of the categories is ...
user10114196's user avatar
0 votes
1 answer
74 views

Will category discounts double if items are in multiple categories?

If I set up a catalogue discount for 40% off the women's category and 40% off the sale category, will items that live in both the women's and the sale category end up at 80% off? What is the best way ...
kayrod's user avatar
  • 1
1 vote
1 answer
1k 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. ...
DND's user avatar
  • 11
0 votes
0 answers
204 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 ...
Jancy Abraham's user avatar
1 vote
1 answer
583 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
ghanshyam saini's user avatar
2 votes
1 answer
623 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 ...
Ana S's user avatar
  • 21
1 vote
1 answer
2k 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 ...
Milind Singh's user avatar
  • 1,594
1 vote
1 answer
795 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 ...
Prits's user avatar
  • 625
0 votes
0 answers
298 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-...
Prits's user avatar
  • 625
0 votes
1 answer
422 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 ...
Prits's user avatar
  • 625
0 votes
1 answer
250 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 ...
Prits's user avatar
  • 625
1 vote
1 answer
535 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']['...
jykmhar123's user avatar
1 vote
1 answer
42 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 ...
Svapopiu 's user avatar
2 votes
0 answers
99 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.
Saravanan DS's user avatar
  • 1,126
0 votes
2 answers
297 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 ...
Allen Mark's user avatar

1
2 3 4 5
10