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
0answers
105 views

Magento2: How to add custom discount in percentage the whole cart?

I want to add a custom discount in percentage for the whole cart programmatically. Also, view the custom discount label on the cart page.
0
votes
1answer
253 views

Magento2: How to apply discount on all cart items programatically

I want to add a discount on cart items for the specific customer.
0
votes
2answers
1k views

Cart rule free shipping on subtotal after discount magento 2

I am working on Magento 2.2.5. I have one cart rule that gives free shipping if the subtotal is equal to or greater then $50. It is working well, but if the user gets any discount from a coupon or ...
0
votes
2answers
794 views

Set Category wise Discount in Magento2

I want to set Discount Category wise. MEN=>5% WOMEN=>7% SHOES=>5% ELECTRONICS=>10% If I create coupon for all rule customer can not apply multiple coupons in single order. How is possible? with ...
1
vote
1answer
33 views

Magento 2. What is the entity/class responsible for calculating the discount amount?

What is the entity/class responsible for calculating the discount amount? Where is this discount amount calculated?
1
vote
1answer
96 views

Apply discount for price steps

On Magento 1, I can create a promotion to apply a discount with a discount step quantity. How can I create a discount for price steps? For example: every 500$ of 50$ discount. 501$ = Total 451$ 1020$...
0
votes
1answer
239 views

Magento 1.9 version Custom discount is not working

I am using these 2 observers - 1 - sales_quote_collect_totals_after 2 - sales_order_place_before Custom discount(which is 3%) is working fine when customer do order from Cash on delivery but ...
1
vote
1answer
138 views

coupon code at level checkout in Magento 1

kindly note i need to display a coupon code worth 10% for selection of products to all clients once they checkout any product from my store; i.e. I made a transaction for a washer worth 500$, i need ...
2
votes
0answers
106 views

How to display Catalog Price Rule Discount and Special Price Discount along with Cart Price Rule Discount?

I'm using Magento version 2.2.4. Currently on view and edit checkout page, only Cart price rule discount is shown as below How to show Catalog Price Rule and Special Price (added while adding a ...
0
votes
1answer
25 views

How to set discount code for one country using only?

Can anyone help to teach me how to set specific discount code only for specific country only? Thanks!
0
votes
1answer
196 views

magento 1.9.2.4 row total price in negative(minus) after shopping cart discount

Magento 1.9.2.4 in admin row total price is in minus after shopping cart discount - 1 - Product tier price - 2 - Product price with quantity - 3 - Checkout - 4 - Admin row total - 5 - ...
0
votes
1answer
51 views

Remove flat rate handling fee on orders above 1000

How can i remove flat rate handling fee if the order is above $1000 ?I cant do it with a rule, as it still shows as if some discount was applied.I need to remove the handling fee itself. Thanks for ...
2
votes
0answers
72 views

Magento 2 Cart Price Rule Coupon Specific Coupon Does not Apply for some porducts in Admin Order

There is an issue which I am not sure if it's a bug and I hope someone can tell me, the bellow screen shoot were taken from an order: As you can see the product in red circled didn't apply the ...
1
vote
1answer
115 views

Magento 2 Extension Extra Fee based on Shopping Cart Price Rule

Magento provides by default Discount using shopping cart price rule. I want to create the same rule to Add Extra fee in this discount rule. I have added one extra field(extrafee) in salesrule table ...
1
vote
0answers
52 views

Discount to apply after coupon code

I have a discount code for -100% of the shipping cost when 24 hour delivery is selected. The discount code works and deducts the amount (in this case £15.00) from the total. However this is not ...
2
votes
0answers
30 views

Free Delivery and Coupon Codes

A client has a site that offers free shipping over £20 as a delivery method. However, there are also some discount codes 15% off etc. The client has a major issue with peoples baskets being £20+ ...
1
vote
1answer
1k views

Remove apply discount code from Cart

How do I remove the discount code from the cart ? There are loads of examples of how to remove it from the checkout but I also need to remove it from the cart.
0
votes
0answers
72 views

Buy X Get Y Free With auto add the same product in the cart

How to implement the custom functionality without extension i.e Buy X Get Y free. If customer buy the 2(X) quantity then the third (Y) will free and the third product will automatically add in the ...
1
vote
1answer
35 views

All products are discounted

I added a discount code and noticed all products were applied by the discount, so removed and deleted. However all products are still discounted. No codes are active, all deleted. HELP !!!!
1
vote
0answers
32 views

How to apply magento discount on custom fee in Magento2.2.X

I have created a custom module that will add custom fee on order and show it everywhere in cart, checkout, order details etc, But When I applied magento discount it will not include this custom fee ...
0
votes
0answers
42 views

Magento2: Impossible add discount code in checkout

We have any issue with approve discount code in checkout. In cart work correct and is possible add discount code. I describe issue on movie below: https://streamable.com/dq8io Anyone know how to ...
1
vote
0answers
155 views

Magento 2 - How to show amount "save $100 considering custom options also on detail page?

How to show "YOU SAVE $XXX.XX" amount considering custom options (type RADIO/CHECKBOX) also on the product detail page when changing different option based on customer selection? I have a simple ...
0
votes
1answer
19 views

Where does a discount come from?

Let me go directly with an existing sample. I have a product with entity_id=319 that as I'm seeing in sales_flat_invoice table has a discount_amount equal to -100000. I want to know from where this ...
1
vote
2answers
1k views

Magento 2- Show Discount percentage in product view page

I have set the discount in percentage but its showing only for the simple products.Also I want to show it in the configurable products. For the Simple Products: vendor\magento\module-catalog\view\...
2
votes
1answer
74 views

How to remove automatic applied coupon in magento 1.9

I want to remove automatic applied coupon when user enter another coupon code.
0
votes
1answer
162 views

Show discount including tax, calculate discount excluding tax

I want to display the discount amount including tax on cart overview page (totals summary). Magento 2.1.8 Relevant settings: Catalog prices: Excluding tax Apply Customer Tax: After discount Apply ...
0
votes
1answer
69 views

Zero subtotal for custom discount giving error, during order place

When I place an order it is showing the following error: {message: "The requested Payment Method is not available.",…} message : "The requested Payment Method is not available." trace : "#0 E:\xampp\...
1
vote
0answers
73 views

Move Discount from Review step to Shipping in magento2 Checkout

How to move Apply Discount form in Review step of magento2 Checkout into Shipping step? I want to move it before Shipping method of the Shipping step.
0
votes
0answers
212 views

how to show you save percentage in product page magento 2

I wanted to show you save percentage in product detail page for simple and configurable both. I have added code in default.phtml file location Theme/Magento_Catalog/templates/product/view/type/...
1
vote
0answers
33 views

Override PDF invoice coupon discount

I cannot found function to override (and relative core magento file) for edit total invoice coupon discount I need to print discount value vat excluded
0
votes
1answer
208 views

unable to checkout with paypal express when using a discount code

never seen this problem before on any other website but when we try to checkout via paypal express when trying to use a discount code we get an error Transaction refused because of an invalid ...
0
votes
1answer
838 views

How to Add Custom Quote Discount on Product Line

I'm trying to add custom discount amount on quote to specific product line, I saw event sales_quote_address_discount_item, when I use it like that : $item = $observer->getData('item'); $...
2
votes
0answers
200 views

How to move coupon code to shipping step of checkout in Magento 2?

I am trying to move coupon code to shipping step instead of payments & review step. how this can be implemented? I need discount code form to appear in shipping step after shipping methods ...
0
votes
1answer
68 views

How to apply coupon code if specific products are available on the cart?

The cart contains two products ex: product1+product2 then only my discount can be applied, otherwise should not allow even individual also. Based on SKU
1
vote
1answer
199 views

Shopping Cart Price Rules - Category Discount Issue

Workout: Output: Condition : Selected Category Product Discount -> 10%
0
votes
0answers
120 views

Discount amount is not showing on cart page

In cart page (mysite.com/checkout/cart), there is a section that shows as Summary. In this section, usually displayed as, a section to Estimate Shipping and Tax and after that, sections for Subtotal ...
0
votes
1answer
192 views

Magento 2 : Cart Price Rule

How I can create a cart price rule which will provide 10% discount, but max amount of discount should be 100. For example below are some conditions rule should satisfy: If my cart item total is 500 ...
1
vote
2answers
2k views

Magento 2 how to get row total with discount?

Normally in Magento 2 cart page show subtotal. But I would like to get subtotal after deducting discount if any cart rules applied or coupon code applied to any product.
1
vote
0answers
57 views

Different Coupons for Different Products in same cart

I have 5 items in my cart, say A, B, C, D and E. and I want to apply 10 % discount of Item A and 5 % discount on item B and no discounts on the rest. How can this be achieved?
5
votes
1answer
3k views

Working of discount coupons on the checkout page in Magento 2.2.2

I am trying to understand the working of discount coupon codes on the checkout page. When we apply any coupon code, then the discount is added to cart without reloading the page. I have checked and ...
0
votes
1answer
30 views

How to remove discountcode from checkout and transactional emails?

I'm working with magento 1.9.3.4 and I wold like to remove the Discount code (e.g. COUPONCODE1) from showing on the checkout and transnational emails. Is this possible? Is there a controller/model/...
2
votes
2answers
3k views

How to get discount details by coupon code in magento 2 programatily

I need to get the details of an already created discount rule in magento 2. I am using this code but don't work public function __construct( \Magento\SalesRule\Model\Coupon $coupon ) { $this-...
1
vote
2answers
248 views

How to show “apply discount” option on checkout magento 2

I want to use apply discount option on the checkout page. How can I show this?
3
votes
0answers
132 views

Add dynamic discount value in custom discount section html file Magento 2

I have created the module for the custom discount from https://www.mageplaza.com/how-add-custom-discount-magento-2.html. But there is a static value '$10'in customdiscount.html file.I want to add the ...
0
votes
2answers
56 views

buy a product from X category and buy a product from Y category and get 15% off on total price of two products , How to setup this?

buy a product from X category and buy a product from Y category and get 15% off on the total price of two products, How to set up this? 15% should apply only to the total price of two products, not ...
2
votes
1answer
505 views

Magento 2 : How to Set custom Discount from controller?

I am developing module which set discount to total , Whenever customer will press Get Discount. I can able to reduce Subtotal and GrandTotal in customer quote, Also my quote table is getting updated. ...
0
votes
0answers
424 views

Magento 2 : How to add custom discount Programatically?

I need to apply custom custom discount in cart ? There's option for applying this in M1. Check here.https://stackoverflow.com/questions/24308094/magento-dynamically-change-discount-cost-in-cart How ...
1
vote
0answers
93 views

Magento 2 : How to Apply Custom Discount from Controller?

How can i apply Custom Discount to cart using my custom controller ?? I've read many answers on web but all are same, All uses Model,CustomDiscount.php file to apply discount. I would like to apply ...
1
vote
0answers
19 views

Creating a 2 product kit for a specific combined price

We want to be able to offer our customers kits. If you buy one of the following top SKU and one of the following bottom SKU you get the kit for a set price. How do we setup this in our promotions.
0
votes
1answer
880 views

How to add condition in cart price rule?

Function to generate cart price rule public function generateCoupon($value='') { $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $coupon['name'] = 'PROMO1'; $coupon['desc']...