Skip to main content

Questions tagged [coupon-codes]

Denote questions related to coupon codes or promo codes

Filter by
Sorted by
Tagged with
0 votes
0 answers
29 views

Magento 2 : Error of continues reloading while apply and cancel of coupon code in checkout page

When trying to apply and cancel coupon code on the checkout page it continues reloading and getting an error in the console of cannot read the properties of undefined. See the attached images below of ...
Aman Mamdani'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
0 votes
0 answers
30 views

Display the coupon code on the product detail page Magento2.4

<?php use Magento\Framework\Api\SearchCriteriaBuilder; use Magento\SalesRule\Api\RuleRepositoryInterface; use Magento\Catalog\Api\ProductRepositoryInterface; use Magento\Framework\Registry; class ...
GerranoMargeno's user avatar
0 votes
0 answers
44 views

Magento2 How to get Use auto generated coupon by website wise.?

// For all websites $websites = $this->_storeManager->getWebsites(); foreach ($websites as $website) { $websiteUrl = $website->getDefaultStore()->getBaseUrl(); $url = $websiteUrl . ...
Magecomp Product Team's user avatar
0 votes
0 answers
52 views

Magento2 how to get two tables data in my custom grid.?

I want to get data as name from salesrule table code from salesrule_coupontable. Here I attached the salesrule and salesrule_coupon table in which I want to get code column data. In the salesrule ...
Ekta's user avatar
  • 101
0 votes
0 answers
51 views

Coupon code is not validating the customer segment condition on cart page?

I have customer segment and sku condition in the cart rule with specific coupon code. This is working fine for sku condition but this is not working for exact customer segment id. Same coupon code is ...
Vinod Kumar's user avatar
  • 2,065
1 vote
1 answer
68 views

Magento 2.4 Restrict Apply Coupon code if cart has item with 0 price

In Magento 2.4, I want to create a cart rule and that can not be applied if any product in the cart with 0 price. For Example, I have created a coupon code that allows a 20% discount on the total of ...
Kishor Thummar's user avatar
0 votes
0 answers
117 views

Magento 2 coupon code is not used but it is show used on admin

Magento version 2.4.5-p1. In the Magento cart price rule, the coupon code is shown as marked on admin but it is not used from the frontend, and also coupon code is not visible when we checked from ...
sumeet bajaj's user avatar
  • 1,326
0 votes
1 answer
308 views

cart price rule exact expiration date

Is there a way to get the exact cart price rule expiration date (the hour and minutes), I see that magento only stores the years, month, and day for to_date field.
Bob's user avatar
  • 11
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
0 votes
1 answer
573 views

Coupon code auto generate not working

We recently upgraded from 2.4.1 to 2.4.5. After upgrading, the coupon code auto generate function is not working as expected. When I enter in my information and click "Generate", I get the ...
cjochum's user avatar
  • 141
0 votes
1 answer
66 views

Magento 2: How we can hide duplicate coupon details (label and amount) from order invoice pdf?

I want to hide cart price rule applied coupon code details (Label and amount) from order invoice pdf: I tried to hide this by applying condition on label wise but It's not working and it's failing ...
Faisal Sheikh's user avatar
2 votes
1 answer
373 views

magento 2.4 check coupon in checkout page

On my magento 2.4 I have a few coupon codes that should only be available to the admins via backend, which means that the customers on the frontend should not be able to use them. I was able to ...
Lou Nik's user avatar
  • 467
0 votes
1 answer
335 views

how to search by coupon code in magento 2 admin grid on crores of coupon code

I am using Magento 2.4.5 and i have crores of coupons in the coupon table. so when i am searching coupon code in the backend coupon grid it is taking lot of time. how we can optiomise this ? Thanks in ...
Pradeep Sanku's user avatar
0 votes
1 answer
75 views

Magento 2: Add Reset option in the Auto Generation coupon grid Manage Coupon Codes section

I need to add Reset option in Manage Coupon Codes Auto Generation coupon grid Action. When select record(coupon code) in the grid and click on the Reset option then Submit button should be display and ...
Kirti Nariya's user avatar
  • 3,091
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
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
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
1 answer
865 views

Magento 2.3.2. How do I change the default coupon error message?

I just need to find where to change the 'This Coupon is not valid' message. I want to make it a bit more informative - "This Coupon is not valid. Please make sure you have registered an account, ...
Andy's user avatar
  • 57
1 vote
2 answers
2k views

magento2.4.3-p1 coupon set to Uses per Customer = 1 is applied more than once for a customer

Sames as : Limiting coupon uses per customer But solution does not work. That feature worked as desired on Magento 2.4.2.
RoboxFuze's user avatar
  • 129
0 votes
0 answers
441 views

Magento 2.3.1 Is there a way to apply discount to only 2nd product added to cart?

We want to achieve or to have below discount rule. Please let us know if it is possible or it can be achieved through any plugin. There are 3 SKU's A, B, C. User added SKU A to the cart. The user will ...
vishal's user avatar
  • 25
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
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
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
0 votes
1 answer
326 views

How do I get customer's coupon list?

What should I do if I want to display the user's coupon in the checkout cart? thanks a lot for you help i used ambab-module-couponlist extension,Error shippingAddress is NULL While applying coupons
Bob's user avatar
  • 15
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
0 votes
1 answer
91 views

I need to exclude certain products from a general discount

I have a discount that subtracts 50 from the every total amount in the cart that's above 250. I did it in the cart rule using this method: How do I exclude certain products from this cart rule? ...
Tal's user avatar
  • 1
0 votes
1 answer
30 views

one coupon - same price

I need to create a coupon that will make all the products in ONE category have the same price. The prices of the products in that category are all above 200, and I would like to make a coupon that ...
Tal's user avatar
  • 1
0 votes
0 answers
335 views

How to re-validate the coupons in magento2 before place an order

at the time of place order re-validate the coupon-code used in the checkout. If code has already been used, the customer should not be able to place an order. Error message should say "Valid ...
venkata prasad's user avatar
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
  • 623
0 votes
0 answers
167 views

Set multiple amount for cart rule in single coupon code

I want to set multiple discount amount for cart rule in single coupon code Example : If TEST10% coupon has 10 amount and if i apply this coupon code then after deduction on subtotal i want to deduct ...
Mukesh Prajapati's user avatar
0 votes
1 answer
1k views

Magento 2 : How to add Coupon Code Section In mini cart like in the shopping cart

I want to display coupon code section inside the minicart with same functionality as shopping cart page.
quickshiftin's user avatar
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
0 votes
1 answer
678 views

Multiple Actions using two shopping cart rules with the same coupon code? still possible in 2.3.2?

I read in these two threads that seem dated on the status of this functionality on Magento. Multiple actions on shopping cart price rule Applying multiple action in Cart Price Rules Is it still ...
DragonSite111's user avatar
0 votes
1 answer
2k views

Magento2- How to validate coupon code to cart before apply

How to validate Coupon Code to Cart before apply in Magento 2? Is it possible?
Mahendra's user avatar
  • 716
0 votes
1 answer
144 views

Magento 2 - Apply coupon code on order excluding usage checks

I want to apply Coupon Codes on edited orders regardless if that coupon is active/expired. Right now my investigations lead me to the fact that setCoupon method of orders checks the validity of coupon ...
Arbab Ahmed's user avatar
0 votes
1 answer
438 views

Subtotal vs Subtotal (Excl. Tax) when creating a condition for discount rule

I'm creating a coupon code with a minimum order amount. While adding a condition, I'm not sure the difference between Subtotal and Subtotal (Excl. Tax). Could anyone help?
Ella's user avatar
  • 1
0 votes
1 answer
2k views

Magento2.3 generate coupon codes not generating

In Magento2.3 I create a cart price rule and then co to manage coupon codes and click the generate button after filling out the form to generate 5 codes. I then get a message that says Message is ...
Jayreis's user avatar
  • 725
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
0 votes
1 answer
347 views

How to change the coupon code success message Magento 2

How do I change the coupon code message?
gill's user avatar
  • 349
2 votes
1 answer
357 views

Magento 2.3 : Add free product in a cart after applying coupon

How to add product in a cart with custom price 0 after coupon code success. what is the way to achieve this. pls help me with the couponcode success event name.
Mahendra's user avatar
  • 716
0 votes
1 answer
938 views

Magento 2: Get attribute at which coupon condition fails and show it in a message

I need to show custom coupon error messages on frontend based on conditions.Where does the validation of coupon occurs when customer applies a coupon on the checkout page? As far as I know, Magento\...
Toji's user avatar
  • 610
0 votes
0 answers
262 views

While opening coupon code and trying to go next page it gives Jquery Validate error in Magento 2?

I have created some steps between address and payment form in Magento 2. When i open the coupon code and want to go on next step ( Payment Page Step ) It gives me an error Cannot read property '...
Prits's user avatar
  • 623
2 votes
1 answer
744 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
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
3 votes
3 answers
7k views

Message is added to queue, wait to get your coupons soon

I'm trying to create auto generate coupons in magento 2 but its showing as below: Message is added to queue, wait to get your coupons soon Any help will be appreciated?
MagentoDev's user avatar
0 votes
2 answers
343 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 6