Stack Exchange Network

Stack Exchange network consists of 174 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]

Denotes questions specific to shopping cart coupons. Consider using the shopping-cart-price-rules tag if the question is regarding shopping cart price rules in general.

0
votes
0answers
8 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
16 views

magernto 2 set multiple coupon on quote

I know many post asked before i asked this question but all of them are about magento 1 or does not have good response I wanna to set multi coupon on quote. i wanna do like this code $...
4
votes
2answers
68 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 ...
0
votes
0answers
8 views

Voucher is sending even the payment is failed. Can I stop sending vouchers forcefully?

dears, I receive voucher even my payment is not done. Can I forcefully stop this ??? is there any way to overcome the issue??? Plz help urgent.... using Magento 1.9
0
votes
0answers
26 views

Coupon not valid for non loggedin users

I'm setting up a sale rule with a coupon which is £10 off if you spend more than £50. While logged in this seems to work fine however when not logged in the coupon code is flagged as invalid. http:...
0
votes
0answers
20 views

Magento 2: Applying Coupon to non sale items only

I'm trying to setup a shopping cart rule with a coupon to target only items which aren't already on sale using the Actions rule "If all of these conditions are false: Special Price greater than 0" ...
0
votes
0answers
11 views

Coupon used in Invoice but doesn't show up in Sales Coupon Report

I have an order that has been completed, this order is created at 07 DEC 2018: The coupon is successfully used, but when i tried to show sales coupon report from the 01 DEC 2018 until 31 DEC 2018, it ...
0
votes
1answer
39 views

magento 2 add coupon for guest with api

I use magento 2.1.8 and when i add coupon by API i get this error {"message":"No such entity with %fieldName = %fieldValue","parameters":{"fieldName":"cartId","fieldValue":null} this is my url /rest/...
3
votes
0answers
27 views

Magento 2 Enterprise : Get Coupon code Expiration Date

I am using Magento 2.2.5 Enterprise Edition.I created cart price rule from admin.Now I want to display coupon expiration date in front end but in enterprise edition start/end date is saving by ...
1
vote
0answers
13 views

Query string to add product and apply promo code: M2

I currently have set up a query string that automatically adds a set amount of products to the users cart when they click a specific button. I already have everything set with with the FormKey() and ...
0
votes
2answers
29 views

Create Coupon/Price rule for first 10 Customers .(Magento 2)

I want to create a price rule in magento 2, and want that to be active only for the first 10 Customers . Is it possible to achieve that ? Thank You !
0
votes
1answer
27 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
0answers
19 views

Quantity discount for same category

I would like to have a sale where if you buy 3 items from category 'widgets' you get 25% off. I setup the following rule. It works fine if you add 3+ products from category 'widgets(118)', however ...
3
votes
0answers
59 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
12 views

Coupon always fail when conditions have “greater than”?

No matter what coupon I create, free shipping or xx% discount, when I set the conditions to be subtotal "greater than" or "equals or greater than", say, $100, the coupons always fail. That means no ...
1
vote
1answer
11 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
23 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
0answers
21 views

One coupon code for different quantity discounts?

Is there a way in Magento 2.2.5 to set up a rule where one coupon code "sale2018" can apply different discounts depending on the quantity? Say we have Blue Widget If customer buys 1 they save 15% ...
0
votes
2answers
45 views

Magento1 Coupon code Position

I am applying coupon code on Magento ver.1. Its works good but its showing before Shipping & Handling ( I want to moved down after shipping and handling.
1
vote
1answer
31 views

How to customise the coupons in Magento 2?

I want to apply 50% coupon to lowest product only. If the cart has 2 products means when the customer applies the coupon "COUPON50". Product A = $20 Product B = $10 then the coupons must be apply to ...
1
vote
0answers
29 views

In Magento 1, Restrict a coupon code to a Not logged In customer Group?

How to restrict coupon code for the guest user? I want to the guest user can apply code only one-time.on the other hand other customer groups can apply same coupon code more than one time.
1
vote
0answers
27 views

If condition satisfies Not to apply any coupon (No coupon)

We have a customization like a quote edit and approve functionality. Ex: Original product price is 350 where customer write a note "I need this product for 200" admin can approve the request at ...
0
votes
0answers
24 views

How to apply multiple coupons to a single cart magento 2?

I found the multiple-coupons for magento2 extension at amasty, but after using that extension Magento's default frontend is working fine but the rest APIs(from Magento dev docs) to apply the coupon on ...
2
votes
0answers
28 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
18 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. ...
0
votes
0answers
30 views

Magento 2 how can apply multiple coupons in checkout

public function collect( \Magento\Quote\Model\Quote $quote, \Magento\Quote\Api\Data\ShippingAssignmentInterface $shippingAssignment, \Magento\Quote\Model\Quote\Address\Total $...
0
votes
0answers
17 views

How to display shopping cart rule on mini cart also in 1.9

I applied some promotion rule on shopping cart but I want to display in mini cart also, is any way to display same rule on mini cart.
1
vote
0answers
61 views

How to update Knockout using PHP window data with Ajax? - Magento 2.1

I have the following code which is working fine. I want to update coupon Name, Description and Amount based on a coupon code name change. This is my php file use Magento\Checkout\Model\...
0
votes
1answer
87 views

Magento 1.9 - issue creating coupon rule. An error occurred while saving the rule data

I can create a new Shopping Cart Price Rule, but when using Actions or Conditions it won't save, resulting in a red error: An error occurred while saving the rule data. Please review the log ...
1
vote
0answers
19 views

Magento2 without cart price rule how to add a custom coupon code

In to Magento 2.2.2 site. I want to give different price coupon code to the customers. How to create coupon code programmatically if i create cart price rule then cart price rule is many created. ...
0
votes
0answers
58 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
60 views

Coupon Label Does not Show if discount 0%

I want a way of adding a coupon code that is basically just an identifier for a promotion e.g. Free Gift Wrapping or a free product give away. I do not want to go the route of having to have the ...
1
vote
1answer
47 views

Magento 2: Restrict customer to use 1 coupon code

I have multiple coupon codes in my store. The customer should not be able to use a coupon if he/she has already used a coupon before? Is that possible? Thanks.
1
vote
1answer
108 views

Magento 2 - Not able to override CouponManagement Model

I am trying to override Magento\Quote\Model\CouponManagement core vendor file. What I am trying to achieve is change the default error message when the wrong coupon code is added. My di.xml <?...
2
votes
0answers
90 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
126 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->...
1
vote
0answers
48 views

Magento 2: create a coupon code using events and observers

I need to create a coupon code for different customers based on their country. For example: If the customer is from US, the discount should be 10% and if it is UK, it should be 20%. This I have to ...
1
vote
0answers
135 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
0answers
31 views

Coupon Message Always Success

I'm using Magento 2.1.9 I have 0 coupons setup but anything that gets typed into the Coupon box on checkout always results in the success message "You used coupon code 1234". How can i change this ...
0
votes
1answer
44 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
0
votes
1answer
130 views

Magento1: Payment method “Zero Subtotal Checkout” not working

I would like to use a coupon code that allows 100% off on a product but the store still ask for a payment method as a Required Fields but the fields are blank. I enabled the Zero Subtotal Checkout at ...
1
vote
1answer
731 views

Magento cart price rules conditions not working properly

I have a discount of free shipping which I want to apply when the shipping address is in the U.S. and the subtotal is $100 or over. I am trying to exclude Hawaii and Alaska from receiving the free ...
0
votes
0answers
16 views

How to create a personal coupon when user registers with a friend reference?

I'm pretty new with this magento 2 thing. I'm trying to attach a coupon once a user registers into my store. I did extended the register model to ask for a friend reference code. If there is a ...
1
vote
3answers
650 views

Change success message on applying coupon code

In Magento 2.x, By default, we can set coupon codes from Marketing->Cart Price Rules. I've added a test code and it's working as expected. When I added the code in cart page (mysite.com/checkout/cart)...
0
votes
0answers
22 views

How to allow staff accounts to view Coupon Lists in Magento 1.9.2.2

I am working with Magento 1.9.2.2 and I would like to allow staff accounts to view coupon lists. Currently staff accounts can view the details for a coupon, but not the list of codes for that coupon. ...
0
votes
1answer
121 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 ...
0
votes
0answers
169 views

How to apply Discount on subtotal and if subtotal greater than or equal to $50 - Magento1

I am using below code to create unique coupon codes programmatically. I am able to generate codes but while applying it on cart the discount applies to each product added in cart instead of subtotal ...
0
votes
0answers
18 views

What is the similarity between cart and minicart while clicking the “Proceed to Checkout” button in magento 2

While clicking "Proceed to checkout" button, both in cart and minicart What is the common value is return in magento 2. I need to group cart and mini cart by using one common value. Please provide ...
4
votes
1answer
1k 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
0answers
132 views

Coupon code: expiration date

Is there a way to modify the expiration date of a single coupon and not only for all the coupons of the promo rule? I mean...daily, I need to send emails (with Oracle Responsys) with a coupon (...