Questions tagged [discount]

Indicates Questions regarding Shopping Cart discount

Filter by
Sorted by
Tagged with
0 votes
1 answer
9 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 ...
user avatar
0 votes
0 answers
17 views

Does Magento 2.4.2 Cart Price Rule's Applicability Check Works Fine?

lately I am trying to tweak Magento 2 Cart Price Rule feature for our business requirements and I realized something. First of all, I need to say that we override Magento\SalesRule\Model\Rule\...
user avatar
1 vote
1 answer
38 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 ...
user avatar
0 votes
2 answers
54 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 ...
user avatar
  • 1,838
0 votes
0 answers
8 views

Discount code or amount is not showing in Invoice Totals in Invoice Magento 2

We are using an online payment method to checkout. It generates the invoice during the checkout process even payment success or failure. Order totals Screenshot: https://nimb.ws/jtQ2m7 If payment ...
user avatar
  • 1,957
0 votes
0 answers
34 views

Magento2 cart price rule with configurable product and simple product

I have a configurable product and 5 simple products Configurable product sku is DF-123 and its child products which are 5 different simple products sku is a,b,c,d,e 5 simple products:- a1,b1,c1,d1,e1 ...
user avatar
0 votes
1 answer
29 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 ...
user avatar
  • 15
0 votes
0 answers
46 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 ...
user avatar
  • 11
0 votes
0 answers
15 views

Complicated products discount scenario

I need to make this scenario in my catalog with magento 2.4.3. I use a catalog price rule which gives a 10% discount to some products of a certain brand. I have this rule created easily with ...
user avatar
  • 892
0 votes
1 answer
31 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 ...
user avatar
  • 306
0 votes
0 answers
7 views

Paypal does not consider discount applied to magento

I'm having problems with Paypal, when making a purchase using a coupon, the discount is applied normally and everything works fine, but when choosing the payment (Paypal) I'm redirected to the Paypal ...
user avatar
0 votes
0 answers
13 views

[Cart price rule Discount problem

I have a problem connected with discounts on Magento. I don't know how I should set up a discount campaign. I mean, I want to create a discount of 50% for only 12 items. If there are more than 12 ...
user avatar
  • 3
0 votes
2 answers
46 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 ...
user avatar
0 votes
2 answers
109 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 ...
user avatar
  • 300
0 votes
0 answers
29 views

Error in Paypal Express Checkout

Below is the setting for the Tax Calculation. I have also created free shipping above 200. When I apply any discount to the cart, and proceed with the Papal Express checkout, it throws below error. '...
user avatar
0 votes
0 answers
25 views

cart rule with discount despite minimum order value

I want to create a discount code that allows costomer to buy article for 0€ (also shipping for free). Want to use cart rules because there I can easily create a list with 100 codes. Minimum order ...
user avatar
0 votes
0 answers
55 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: ...
user avatar
0 votes
0 answers
25 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 ...
user avatar
  • 1
0 votes
0 answers
24 views

Create promotions/discount codes for mobile app users

Is there any possible way to create promotions or discount codes for mobile users only that uses our IOS or Android app Thank you
user avatar
  • 1
0 votes
0 answers
22 views

How to remove Sale banner badge from discounted items in Magento 1?

good afternoon, I am facing an issue that is a bit strange, and not have enough experience to tackle it. We are migrating to Magento 2, so is not a core issue because will be temporary, but we wonder ...
user avatar
  • 1
0 votes
0 answers
40 views

Magento 2 Admin Edit Order Discount Amount is Missing

I've placed a order with the discount(cart rule),In admin order details page i can able to see the discount amount which was applied while placing a order. Then while edit the order from admin, the ...
user avatar
  • 1,588
1 vote
1 answer
899 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 ...
user avatar
  • 526
0 votes
1 answer
301 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 ...
user avatar
0 votes
1 answer
349 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, ...
user avatar
  • 1,838
0 votes
1 answer
67 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\...
user avatar
  • 1,474
1 vote
0 answers
24 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 ...
user avatar
  • 3,426
0 votes
1 answer
377 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 ...
user avatar
  • 1
1 vote
2 answers
816 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 ...
user avatar
  • 2,429
0 votes
2 answers
37 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 ...
user avatar
  • 1
1 vote
0 answers
49 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?
user avatar
  • 2,429
0 votes
1 answer
248 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 ...
user avatar
0 votes
1 answer
37 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 ...
user avatar
  • 1
0 votes
1 answer
223 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. ...
user avatar
  • 1
0 votes
0 answers
127 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 ...
user avatar
0 votes
2 answers
227 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
user avatar
1 vote
1 answer
114 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 ...
user avatar
  • 11
1 vote
1 answer
380 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 ...
user avatar
  • 1,474
1 vote
1 answer
179 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 ...
user avatar
  • 526
0 votes
0 answers
81 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-...
user avatar
  • 526
0 votes
1 answer
147 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 ...
user avatar
  • 526
0 votes
1 answer
94 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 ...
user avatar
  • 526
1 vote
1 answer
241 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']['...
user avatar
1 vote
1 answer
31 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 ...
user avatar
2 votes
0 answers
33 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.
user avatar
  • 1,094
0 votes
2 answers
156 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 ...
user avatar
0 votes
0 answers
23 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 ...
user avatar
0 votes
0 answers
81 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 ...
user avatar
2 votes
1 answer
65 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:...
user avatar
  • 1,107
1 vote
0 answers
565 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 ...
user avatar
0 votes
1 answer
287 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 ...
user avatar

1
2 3 4 5
10