Skip to main content

Questions tagged [coupon-codes]

Denote questions related to coupon codes or promo codes

123 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
1 answer
3k views

Magento 2: How to Apply Coupon Code based on Product Customizable Option

I want to create coupon code for specific product and custom option E.g. Sku: Test1 Custom Option: Name: Demo Custom Option Option Type: Field I want to apply the coupon code ...
Ashish Viradiya's user avatar
4 votes
1 answer
628 views

Custom error message for invalide coupon code magento2

I want to be able to set a specific error message for when the criteria of a promo code is not met. For eg. I have promotion rule for t-shirt qty 1. Entered valid promo code No tshirts in shopping ...
Rahul Hedaoo's user avatar
4 votes
2 answers
3k views

Apply Magento Coupon in Ajax Without Redirecting to Cart Page

I have coupon code on sidebar on my product categories list, cart and checkout page. Whenever I'm trying to add coupon code while being on the product or category list page or checkout page, it is ...
Shoeb Mirza's user avatar
3 votes
0 answers
149 views

How to Add discount code form to multi shipping address

I have been working for 2 days for applying multiple coupon on cart I know there are modules which are available for that. But i don't want to use it. I want some custom code so that i can apply more ...
Rv Singh's user avatar
  • 1,637
3 votes
0 answers
2k views

Magento Coupon code is not valid

I am using Magento 1.9.0.1 and I am trying to use the magento coupon code feature. However, it's not working when I add any condition on subtotal. My condition is if the subtotal is greater than or ...
Mohammad Faisal Ahmed's user avatar
2 votes
0 answers
602 views

Magento 2 checkout, I need to display or hide a shipping method depending on if a coupon code was entered and is valid. How can I do this?

I have a price rule attached to the flat rate shipping method as an option, and I want to intercept when the coupon is added, so that I can hide this flat rate method unless the coupon code matches ...
Justin Collins's user avatar
2 votes
0 answers
111 views

Magento 2 Coupon code restriction

I'm trying to modify the coupon code scenario and below is the scenario that I need to achieve. Full cart total should be >= $499. I added the condition that if a configurable product is found in ...
Ronak's user avatar
  • 797
2 votes
1 answer
745 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
2 votes
0 answers
246 views

I am facing issue of "Specified rule does not allow auto generated coupons" while saving cart rules

I am customising module where i want to save cart rule without Use Auto Generation. When i save cart rules its showing this error Unable to save program with ID 37. Error: Error occurred when saving ...
Mukesh Prajapati's user avatar
2 votes
1 answer
2k views

How to Modify Discount amount of cart price rule on cart page in magento 2

I would like to modify Discount Amount of cart price rule on the cart page. Actually Magento apply rule using class Magento\SalesRule\Model\RulesApplier and function is protected function ...
Chirag Patel's user avatar
  • 6,166
2 votes
1 answer
36 views

Two item category coupon code with fixed amount for whole cart

Magento version, 1.9.2.4 How do I generate a coupon where a person puts in there cart one item each from two different categories and then gets a fixed discount off the whole cart. But, if only ...
OlisoJoe's user avatar
2 votes
1 answer
2k views

Magento 2 REST API: Get list and details of all active coupons

Is there an API to get the list of all active coupon codes from magento 2? /V1/coupons/search this shows me all the coupons, but it doesn't give any information about if the coupon is active or it'...
Fokker's user avatar
  • 385
2 votes
0 answers
193 views

How to get list of available coupon code of Current Product Only

How to get available coupon code of current product
Mahendra's user avatar
  • 716
2 votes
0 answers
118 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 ...
Juliano Vargas's user avatar
2 votes
0 answers
45 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+ ...
Tom Jolly's user avatar
2 votes
0 answers
176 views

how to add coupons Limit to a single customer do not use multiple coupon on same cart

how to set rule for customer so he do not use multiple coupon on same cart. Customer can apply only one coupon code at a time. I dont want to give access to use another coupon code. (You can use only ...
Mahendra's user avatar
  • 716
2 votes
1 answer
206 views

How to remove automatic applied coupon in magento 1.9

I want to remove automatic applied coupon when user enter another coupon code.
Ankush Deora's user avatar
2 votes
0 answers
390 views

Check if coupon code is valid by using customer id and product id

How to check if a coupon code is valid if i only have customer id and product id data? and how to get this coupon sales-rule data?
Tiny Dancer's user avatar
2 votes
2 answers
2k views

Magento 2.2 Programatically apply coupon code

How can i apply coupon code programatically in magento 2 using cart id. Thanks.
christy's user avatar
  • 157
2 votes
1 answer
381 views

How to create coupon code to be used only by people who have subscribed to the newsletter

I need a help to create a 15% OFF coupon code for products. This coupon is only for people who have subscribed to our newsletter. As far as I know, there is no option in Magento to do so, but is ...
Anurag Khandelwal's user avatar
2 votes
0 answers
287 views

Promo rules not applied when using custom attribute in condition

In magento2, I'm using the product custom attribute and setting a condition in promo rule. When the product is in a cart and if I use that promo rule, it's showing the coupon is not valid. Somebody ...
vinothavn's user avatar
  • 1,349
2 votes
0 answers
157 views

How to give discount to simple product under a bundle product?

I have bundle products which has 5 simple products as its options to be selected (Say, Product-A,Product-B,Product-C,Product-D,Product-E) I want to design a coupon code which should offer like this: ...
Anurag Khandelwal's user avatar
2 votes
0 answers
210 views

Cancel discount on creditmemo when conditions do not match anymore

I have a discount code that gives a client 20 euro discount on an order, if the cart contains a specific SKU (this is just an example, it could also be an attribute color with the value blue). This ...
Peter Jaap Blaakmeer's user avatar
2 votes
1 answer
2k views

Coupon for specific product not for subtotal of cart

I would like to setup a promotion in my Magento system, I not sure defualt magento can do this, Anyway here is the task: I have Three products in cart •Product A: $50 •Product B: $100 •Product C: $...
Riyas Muhammed's user avatar
2 votes
1 answer
1k views

How to display used coupon code in order details page in admin

I need to show used coupon code in backend order details page. In my searches i found coupon code does not store with order details. So I was thinking to save coupon code somewhere just after order ...
Akhil Gupta's user avatar
  • 1,956
2 votes
0 answers
226 views

create coupon code that should apply only for new accounts

create coupon code that should apply only for new accounts. I created a coupon code to give discounts for customers . that coupon code is working for all customer accounts but i want that coupon ...
Baby in Magento's user avatar
2 votes
0 answers
563 views

Uses per Customer limit of magento coupons is not working

I have limit the Uses per Customer to 1 only. But unfortunately it's not working when I used the Free Shipping for matching items. Tested the coupon many times but the store is still accepting it. ...
Marjørie Jram's user avatar
1 vote
1 answer
22 views

Create Rule in Magento 2.4 If a combined $X amount of items in Y category, then get free ship

I have been searching for days but cannot find a way to do this. If you know of an extension to pull this off, I'm open to it. We want to offer a coupon code. If you have $100 or more of products in X ...
David S.'s user avatar
1 vote
0 answers
152 views

Coupon code is not saving at quote table in magento 2

I upgraded my website from 2.3.6-p1 to 2.4.5-p1 . After that when i applied the cart rule with coupon code, it shows the error that The coupon code "GHSDYFEWFCER" is not valid. When ...
jaisa2's user avatar
  • 15
1 vote
0 answers
169 views

Magento2.4.5-p1 coupon with uses per coupon 1 and per customer with coupon not working

Magento Version - 2.4.5-p1 Using FPC (full page cache enabled) Issue: Create a coupon with uses per coupon as 1 and uses per customer as 1 also. Even both uses type set to 1 even after that we are ...
Preetesh's user avatar
1 vote
0 answers
266 views

How to apply multiple coupon codes on cart / quote in Magento 2.3.x?

Need custom logic to apply multiple coupon codes on a Cart / Quote in Magento 2.3.x. Core Magento allows to apply only one coupon code on Cart. However, I need to apply multiple coupon codes on an ...
nikin's user avatar
  • 1,142
1 vote
0 answers
95 views

Magento 2 : Coupon code couldn't be applied. Too many coupon code requests

Magento 2: coupon code couldn't be applied. Too many coupon code requests, please try again later Sales rule API : Request: http://localhost/demonew/rest/V1/salesRules/1 Body: > { "rule": { > "...
Gagan's user avatar
  • 565
1 vote
3 answers
992 views

Limiting coupon uses per customer

I have currently got the 'Uses Per Customer' set to 1 on a specific coupon. However, it can be used in multiple orders by the same customer, despite them being logged in. I am using Magento 2.4.3. Has ...
magento-dan's user avatar
1 vote
1 answer
507 views

Magento 2: How to include auto-generated coupon code in Newsletter Subscribe email template

I want to include auto-generated coupon code that expires in 1 usage in newsletter subscribe email template. Any help will be appreciated.
mechanic's user avatar
  • 440
1 vote
1 answer
2k views

Magento 2: Free shipping should not work after applying discount coupon and total less than $50?

I want to apply free shipping for subtotal more than $50 and it's working fine. but if customer applied any discount coupon then free shipping should not apply because grand total is less than $50. ...
mechanic's user avatar
  • 440
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,641
1 vote
1 answer
708 views

Checkout billing address getting blank in magento 2

I'm getting issue on checkout when I apply coupon code on checkout cart or checkout shipping page at the end of checkout payment page I'm getting issue with my billing address same as shipping ...
Jitendra prajapat's user avatar
1 vote
0 answers
360 views

Custom error messages on coupon codes

I want to get Custom Error Messages for invalid Promo Codes. To some extent I achieved by using this Extension https://marketplace.magento.com/ambab-module-couponerrormessage.html, but I need to ...
purna gattu's user avatar
1 vote
0 answers
34 views

Magneto 2.x Questions | Get Shipping Methods Clears Credit Card Data

We completed our 1.x to 2.x upgrade and we are having some lingering issues. Magento ver. 2.3.5 Our shipping method is always free shipping When we are taking phone orders and we go to Sales >>...
Justin Krauss's user avatar
1 vote
0 answers
22 views

M2 - Weird coupon date change on save

Magento version: 2.3.4 When I create a new shopping cart price rule (coupon code) and choose a date range like this: Then in the coupon overview list I see this date: So that correct, but when I ...
n00bly's user avatar
  • 623
1 vote
1 answer
2k views

How to get coupon code in newsletter subscription Email Template in Magento 2?

get coupon code in the newsletter email template.
Jayesh's user avatar
  • 92
1 vote
0 answers
259 views

Magento2 coupon code not working

I have generated multiple coupon codes inside the same rule. However, one coupon code is not working. I tried to add that coupon code and it was working but suddenly it stopped working. I also checked ...
Ashar Riaz's user avatar
  • 1,035
1 vote
0 answers
144 views

How to add an automatically generated coupon code to the welcome email

I want to add an automatically generated coupon code to the welcome email. Each coupon code can only be used once. I don't know much about magento. Can anyone tell me what to do?
yoyo's user avatar
  • 31
1 vote
0 answers
422 views

Magento 2 : Coupon codes - auto generate

We already have a rule with 500 coupon codes auto-generated which are due for expiry in a few days. If we generate a new set of auto-generated codes with a new start and finish date on the same rule ...
user79903's user avatar
1 vote
1 answer
61 views

Magento Shopping cart price rule with free shipping and discount

I'm trying to set up a shopping cart price rule to create a customer coupon code that accomplishes two goals: IF customer apply coupon code then 1) 20% off all customer and 2) free shipping(...
sumeet bajaj's user avatar
  • 1,326
1 vote
0 answers
704 views

How to display Coupon code on cart page and checkout page?

My webshop is using Magento 1.9.3.2 using default OnePageCheckout. See screenshot: https://snag.gy/OinRzW.jpg I found this article answere solution for my question: Get Coupon code on cart page ...
J.G. van der Horst's user avatar
1 vote
0 answers
107 views

Magento 1.9 add coupon code to payment page

I want to add the coupon code to the payment page. That works perfect, but when a coupon code is applied, it redirects back to the cart. Is there a way to add the coupon code, without redirect to ...
JGeer's user avatar
  • 1,422
1 vote
1 answer
400 views

discount coupon code is not working on checkout page

My discount coupon code is not working on the checkout page, if I'm clicking on the apply button or canceling the button, both buttons are not working and the coupon code is working properly on the ...
zeshan rahman's user avatar
1 vote
0 answers
33 views

Get Voucher when you enter email address on a page

I want to give voucher code if user enters email address soon as they enter the email (Discount should be showed in page) I want to set cart rule for the voucher Is this possible?
jibin george's user avatar
1 vote
1 answer
1k views

How to reload checkout page after applying the coupon code or removing the coupon code magento 2?

I am facing an issue related page refresh on checkout page and it is solving after refreshing page when discount applied or removed.
Hitesh Balpande's user avatar