Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [coupon-codes]

Denote questions related to coupon codes or promo codes

0
votes
0answers
10 views

Magento 1.9.3.1 - Coupon - set condition calculate cart total on non sale items?

I've a client with a request for a coupon that seems to have hit a restriction in what magento 1.9.3.1 can actually do. We have products that are normal price and 'special price'/sale items. The ...
0
votes
1answer
21 views

Magento 1.9 - how to determine if customer already used discount code

How Magento know if the customer already used coupon code (unregistered customer). Is Magento checking customer's IP or some other specific data?
0
votes
0answers
22 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?
1
vote
1answer
32 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'...
1
vote
0answers
20 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 ...
0
votes
0answers
22 views

how to exclude special prices and multiple purchase discount from coupon code discounts

I want to create a discount code which will allow x% discount on the customers basket but I want to exclude items that are already have a discount applied (Special Price) but also want to exclude ...
0
votes
0answers
6 views

Can't get BOGO to reflect in cart, but applies. HELP

I am trying to create a BOGO coupon in Magento. 2 things. Is there a configuration to turn on the website field in the Cart Price Rules (it's not available to me)? When i create the BOGO, i can ...
0
votes
1answer
20 views

how to display list of valid coupon code on cart page

how to display list of valid coupon code on cart page in magento 2 $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $objectManager->create('Magento\Catalog\Model\...
1
vote
1answer
28 views

Apply coupon code only to non discounted products

I need to make a coupon code which should be applied only to non-discounted products and certain categories. In Cart price rules->Actions I tried the following conditions: If ALL of these ...
1
vote
1answer
45 views

how to get all coupon code which can apply on cart page in magento 2

How to get all coupon code which can apply on cart page in magento 2 $getRules = $objectManager->create('Magento\SalesRule\Model\Rule')->getCollection(); using the above code i get the all ...
1
vote
0answers
38 views

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

How to get available coupon code of current product
0
votes
1answer
25 views

How to move Apply coupon code button on product page

Is it possible to move apply coupon code button on product page and it will work or not ?
0
votes
1answer
31 views

How to display list of coupon code in product page in magento 2.2.7

How to display list of coupon code in product page.
0
votes
0answers
13 views

Coupon code being applied only to the first product in cart insead of whole cart

A coupon code is generated programmatically on a particular day. The coupon code when applied shows the correct discount amount and even the checkout shows the correct discount amount, but when the ...
1
vote
1answer
35 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(...
2
votes
2answers
25 views

Magento 1 - Free Shipping after applying Gift Card Code

I've been struggling with an issue regarding free shipping and gift card codes. So basically I have a free shipping rule which applies to orders above $100, based on subtotal after applying discount ...
1
vote
1answer
51 views

How to validate custom coupons in magento 2?

I want to validate coupon code which is not in magento sales rules. I have millions of coupons in another table. I want to apply coupon from another table. If user enter any coupon first i want to ...
3
votes
2answers
89 views

Magento: Buy 3 pay for 2 does not work for me

I like to set a "Buy 3 pay for 2" item rule. I have created a "Cart Price Rules" but it does not seem to apply. If I add 3 of the same items or 3 different items it still results in the original ...
1
vote
0answers
63 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 ...
2
votes
1answer
61 views

Get RuleId from Coupon Code in checkout\cart\item\default.phtml

I have overridden the checkout\cart\item\default.phtml in my theme. To get the 'used' coupon code I've found below rules in other questions: $getCoupon = $block->getLayout()->createBlock('...
1
vote
0answers
32 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 ...
1
vote
1answer
18 views

How to get coupan code(Promotion code) amount for an order (Magento 2)

I am getting the coupon code(promotional code) for an order For a coupon code, I am using this $order->getCouponCode(); How to get the coupon code discounted price so I can show it to the user. ...
1
vote
1answer
51 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 ...
0
votes
0answers
88 views

Magento 2 coupon generate api exceptions

I'm having a hard time understanding why the v1/coupons/generate is throwing a {"message":"One or more input exceptions have occurred."} (status_code 400) error I'm using this call to batch generate ...
0
votes
0answers
17 views

Customer ID for Coupon codes

We´re trying to find a solution where we can add a new rule to coupon codes saying that the coupon code can only be used by one or more specific Customer IDs. Reason for this is that we want to make ...
0
votes
0answers
12 views

How to add shipping price while creating coupon in magento2

Is it possible to create a coupon with shipping price so that we apply discount on shipping price. I know this is not default magento functionality. We can only generate coupons with free shipping. ...
0
votes
0answers
211 views

Magento 2.2.5 coupon codes not working

I have added several cart price rules to magento but every time i enter the code to a shopping cart i get the error that the couponcode is not valid. How can this be solved?
0
votes
0answers
49 views

Magento 2.2.4 - Discount Code not working on checkout page

We have a discount code and it works in the view cart page but doesn't work in the checkout/#payment. In fact no action is taken when we click on Apply discount. Does anybody know the solution for ...
4
votes
2answers
546 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 ...
2
votes
1answer
236 views

how to show Promo code or coupon code on Checkout page in magento 1.9

How can i show Promo code or coupon code on Checkout page in magento 1.9. And we can have option in admin panel or we do by code? please help me!!!
0
votes
0answers
25 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?
0
votes
1answer
39 views

generating lowercase Coupon code

I used Use Auto-Generation Magento coupon code but all coupon codes generated uppercase like F1Z8Z2FPQQYL how can I generate the lowercase coupon?! I found code but I can't understand it, how ...
0
votes
1answer
172 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.
0
votes
1answer
21 views

Sell Product - Customer get Coupon Code that will expire after 6 months of sell date

I read document/google/tested on my Magento 1.8.1+1.9.2CE but I can't get it to work: I have a product like sku123. The customer buys it and gets a coupon code for free (10€ discount for the next 6 ...
3
votes
0answers
112 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 ...
0
votes
0answers
101 views

Magento 2 Discount/Coupon Code Can Only Be Applied in Cart Page

I am using Magento 2.2.5 and if I apply a discount code in the cart this works OK. However, if I try to apply discount code in payment/checkout page this does not work. Can anyone please advise a fix?...
1
vote
1answer
116 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 ...
0
votes
1answer
79 views

Use Per Customer without Coupon Code

I am using magento 1.9 for my website and I wish to set one time promotion without Coupon Code. So I have set "Use Per Customer" to 1 with "No Coupon". But customer can still use this promotion ...
2
votes
0answers
38 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 ...
2
votes
0answers
28 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 ...
2
votes
0answers
28 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+ ...
2
votes
1answer
452 views

how to retrieve Coupon Code by rule Id on Checkout Success Page?

I have coupon rule collection created at admin side and displaying rule names in the system configuration of the custom module. Actually, I wanted to get coupon code of a cart rule that has been ...
4
votes
4answers
500 views

How to get Coupon Code on Success Page in Magento 2

I am trying to get coupon code created in cart price rule from backend on success page. I am doing it as: In Block file public function getCouponCollection() { $om = \Magento\Framework\App\...
2
votes
0answers
51 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 ...
0
votes
0answers
28 views

How does Magento 2 discounts / coupons / cart price rules work?

If I have an order which has 2 item such as Item 1 - £11.00 Item 2 - £6.00 Subtotal: £17.00 If I then apply a £2 discount via a voucher code Magento takes the discount off each item but oddly. ...
2
votes
1answer
55 views

How to remove automatic applied coupon in magento 1.9

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

Disable Coupon code for specific category in magento 1.9

How to restrict coupon code functionality for specific category of products in magento 1.9?
1
vote
1answer
85 views

How to restrict free shipping if the minimum order value below as defined after coupon code apply in Magento 2?

I have enabled free shipping when minimum order value above $500. Which is working fine. but if customer applied any discount coupon and total order value below $500 then free shipping should not ...
2
votes
0answers
119 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?
0
votes
1answer
203 views

Validate and apply coupon when create an order programmatically

I create an order programmatically like this: $store = $this->storeManager->getStore(); $websiteId = $this->storeManager->getStore()->getWebsiteId(); $customer = $this->...