All Questions
17 questions
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 ...
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 ...
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?
...
0
votes
0
answers
263
views
Magento 2 Same Coupon code with different Actions
I am having 3 types of Category C1,C2 and C3. In every category there are products.
1) C1 has P1,P2 and P3 (Each P cost $38)
2) C2 has P4, P5 and P6 (Each P cost $58)
3) C3 has P7 and P8 (Each P ...
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?
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.
0
votes
1
answer
3k
views
Magento 2 REST API - Generate Coupon
I am trying to generate a coupon through the Magento 2 REST API. It works, except that I cannot change the usage_limit and expiration_date. They are always set to the values of the rule. Is there any ...
0
votes
1
answer
664
views
How do i delete auto-generated coupon codes in magento?
I would like to delete auto-generated coupon codes under shopping cart price rules in magento through script. can anyone please help me on this.
1
vote
1
answer
500
views
magento coupon code exists
I have a quick question on magento coupon code generator. Please see the below method in core/Mage/SalesRule/Model/Rule.php:
/**
* Acquire coupon instance
*
* @param bool $saveNewlyCreated ...
0
votes
1
answer
67
views
Shopping cart rules: Autogenerated unique codes, applicable to any product with different discounts
I need to generate a number of unique coupon codes. Any of those coupon codes could be used for any of the products. The problem is that different products need to get different discounts.
Seems to ...
0
votes
1
answer
23
views
Magento- Create a product, such that no existing coupons is valid for that product
I have around custom coupon codes generated for various type of offers and free shipment.
All my products are given a price and reduced price to buy for the user. And further discounts are applicable ...
1
vote
1
answer
689
views
Magento Coupon codes although deleted already, doesn't allow to create coupon with same code again
I am not sure if it's some kind of core-logic(unknown to me) or a bug maybe, but even though I have already deleted a coupon-code rule from "Shopping Cart Price Rules", when I search in the "...
0
votes
1
answer
249
views
How to fetch "created_at" date while applying a coupon code in cart page
This is regarding mass generation of coupons. I generate many coupons under single rule.
When I apply anyone of those coupons in the cart page I need to perform custom validation apart from magento ...
0
votes
1
answer
809
views
Free Shipping Coupon Not valid
So we have created a coupon via the admin panel for free shipping.
It's a specific coupon "free" andhas a condition that the shipping country is the "United States".
The problem is that if a non ...
1
vote
1
answer
50
views
Create shopping cart price rule with coupon on clicking Place Order [closed]
I am working on a custom module in which I need to generate a coupon with "n" number of uses per order while clicking "Place Order" in checkout page.
Can anyone suggest me the best way for it.
5
votes
1
answer
11k
views
Apply discount to only 1 item in the cart via Shopping Cart Price Rules
The situation is simple – I want to offer 25% discount on one product in the cart. So if you order 5 of Product A and 3 of Product B, you should receive 25% off either one of Product A or one of ...
1
vote
2
answers
1k
views
Free shipping coupon is not applying
I have created a coupon code for free shipping following steps similar to described here, but when I try to use valid or not valid coupon code Magento (1.4.1.1) does nothing.
Site URL and coupon code ...