All Questions
Tagged with shopping-cart-price-rules coupon
71 questions
5
votes
5
answers
11k
views
Grand Total not updated when discount code is applied
There are 2 types of Discounts (Shopping Cart Rules) Working on the Website right now:
Coupon Codes - Working Absolutely Fine BUT - Subtotal does not get Updated. Ex: 10% Off on Rs. 500 and Above - ...
5
votes
2
answers
10k
views
Magento Coupons limit per use o per customer not working
In the screenshot you can see my options.
I have created a coupon to have the free first shippings.
What i need is to have one unique code (Example: FREEFIRSTSHIPPING) that can be used only one time,...
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 ...
5
votes
2
answers
1k
views
Disable tier pricing when applying coupon code
I want to have a web shop where products have tier pricing, such as:
order 3 save 10%
order 10 save 20%
This is easy by setting tier pricing in products.
However, I don't want tier pricing to ...
5
votes
4
answers
3k
views
Is the salesrule_coupon "expiration_date" field used for anything?
When you create a coupon code in Magento 1 or Magento 2 (a "Shopping Cart Price Rule"), you can set date range where the coupon is valid from/to. This information is stored in the salesrule table, ...
5
votes
1
answer
1k
views
Magento 2 Enterprise : Get Coupon code Expiration Date
I am using Magento 2.2.5 Enterprise Edition. I'm 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 ...
4
votes
4
answers
12k
views
Multiple actions on shopping cart price rule
I've viewed some articles on creating shopping cart rules programmatically, but what I can't find is how to combine multiple actions into the one coupon code.
What I need to do is apply 15% discount ...
4
votes
1
answer
4k
views
Adding Magento coupon code in (last) step of onepage checkout
I have seen many extension on this matter. But I am looking for the clean, easy, close to core solution. Actually I am surprised that Magento/Ebay did not incorporate this simple win in a previous ...
3
votes
2
answers
4k
views
Magento 2 - There is an event or method to "plug-in" when the coupon is removed from the cart/quote in the checkout flow?
Looking at events.xml of Magento_SalesRule there are two events,
<event name="sales_order_place_after">
<observer name="salesrule" instance="Magento\SalesRule\Observer\...
3
votes
1
answer
2k
views
how to generate and get the coupon code?
$generator = Mage::getModel('salesrule/coupon_massgenerator');
$data = array(
'uses_per_customer' => 1,
'uses_per_coupon' => 1,
'qty' => 1, //...
3
votes
2
answers
8k
views
Free shipping shopping cart rule and discount coupon
We need to be able to offer free shipping via shopping cart price rule to all orders above 100 dollars. We also need to be able to have a discount coupon that gives certain amount of discount on the ...
3
votes
1
answer
2k
views
To show coupon (shopping cart discount) amount including tax
As I try to show correct EU taxes I need to show correct coupon discount(shopping cart discount). My current options are:
These options including tax are recommended on EU while end customer must see ...
3
votes
1
answer
4k
views
shopping cart price rule condition based on final price rather than subtotal
In shopping cart price rule we have condition as subtotal but I want condition for final price ie. total cart price after coupon code applied.
How to do that?
3
votes
3
answers
3k
views
Create coupon code programmatically (in Magento 2.x)
I'm trying to port over tens of thousands of coupons from a custom e-commerce website into Magento 2.0.8 and I'm having a hard time getting it to work. These are simple coupons either fixed $ or % off ...
3
votes
1
answer
3k
views
Create Free Shipping Coupon
I have trouble to setup a free shipping coupon in Magento 1.7.0.2. The coupon itself will be applied successfully but the Free Shipping Method doesn't appear.
Actually I want to setup a coupon which ...
3
votes
1
answer
746
views
Is there a way to use item weight in a Shopping Cart Price Rule condition?
I have a product that has two weights options, 1lbs and 2lbs. Is it possible to set a Shopping Cart Price Rule condition for only the 2lbs item?
3
votes
2
answers
172
views
Is this coupon possible? Get fixed amount off for each 5 items from a specific category
I want my customer to have a coupon code where they get $4 off for every 5 items they buy from a certain category. For example:
0-4 items from cat A = no discount
5-9 items from cat A = -$4
10-...
3
votes
1
answer
3k
views
Magento2: Apply coupon code to regular price not to special price
When applying a coupon, it gives a discount to final price (special price if set). How to make modification that discount would apply only to regular prices (before the previous discount).
Note: I ...
2
votes
3
answers
7k
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 ...
2
votes
1
answer
121
views
Create coupon that sets the shipping rate to a specific amount
I need to create a coupon that sets the shipping rate of an item to a specific amount.
For instance, if the customer purchases any item and uses this specific coupon code (cart rule), their shipping ...
2
votes
1
answer
1k
views
Magento Shopping Cart Price Rules Wrong Calculation
Magento ver. 1.9.0.1
I am running a $10 off coupon code for orders over $100 and more.
When there's one SKU in cart, the code works perfectly fine.
When there's multiple SKU in cart, the code fails....
2
votes
1
answer
1k
views
cart to show coupon or shopping cart rule with tax
There is major problem with cart and discounts,
it always shows amounts without taxes calculated for it.
For shopping cart rules, coupons etc.
How to manage the code to show discount with correct tax ...
2
votes
1
answer
483
views
Magento Community - Coupon Code Functionality
Trying to create a coupon - $10 off min $150 excluding products from categories A, B, and C. But somehow can't get it to work. Have an instance whereby products from other categories (not A/B/C) ...
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
625
views
Shopping Cart Price Rule Magento 1.9.2
Want to know how we can Set Shopping Cart Price Rule in Magento 1.9.2 for specific Category?
i have 1 product which is under multiple categories but i only want to put Condition on One Particular ...
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.
2
votes
0
answers
536
views
Magento 2: Percent coupon with discount amount limit
I want to give customers a 10% discount coupon but I want to enforce a discount amount limit, that is that the maximum discount amount is $250. Is there a way to limit this using a coupon?
1
vote
2
answers
3k
views
Apply coupon observer to set message in cart view
I've created observer method for salesrule_validator_process event. How can I access coupon code and whole cart to check, if there are specific products in cart? If it found products with a specific ...
1
vote
1
answer
435
views
Enable free shipping only for coupon only
How do I configure the Magento2 can do below promotion?
Free shipping with coupon code:
(order >= $50)?
I did google some result, some ask to enable free shipping method and set min-order-amount ...
1
vote
1
answer
2k
views
Show discount in cart page even without applying a coupon
In cart page we can see the discount row only if a customer add a coupon code(?). What I want to do is adding the discount as zero for every cart page even there is not any coupon code applied.
What I ...
1
vote
1
answer
725
views
Coupon creating using child product of a Configurable products
I want to create a coupon using variance of a configurable product.Suppose,i have configurable product(Cp-01),it have three child simple products. Color of product is red,green,blue consequentially. I ...
1
vote
1
answer
791
views
Coupon expiration date not working
In Magento CE 1.9.2.4 I use an extension who creates coupons for birthdays in a "Shopping Cart Price Rule". These coupon are generated with an expiration date.
The coupon works except that Magento ...
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 ...
1
vote
1
answer
2k
views
Magento Shopping Cart Price Rule and Tier Price
Here's what I am trying to achieve.
I have some products which have tiered pricing set for them. When purchasing one unit of such an item the regular price will apply. Whenever buying two units of ...
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.
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 ...
1
vote
1
answer
2k
views
Magento 2 : Apply Cart Rule to Base Price not Special Price
Good Day, Mates!
I am using Magento 2.4.x and try to change its cart price rule mode, I simply want to calculate all discounts (percentage or fixed amount) on Base Price.
For example, If a product has ...
1
vote
0
answers
77
views
magento 2 apply default discount code
I am working on magento 2.3.0 and checkout is working fine with discount.
I have created discount code named 95TEST which discount 95% on order total.
Now, Every time when customer redirect to ...
1
vote
0
answers
34
views
coupon code restrict for only some associated products in magento 1.9.0
I want restrict coupon code some associate products I have one configurable product it have 25 simple products(associate products)
i have create coupon code to apply only 5 simple product
if i add ...
1
vote
0
answers
90
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.
...
1
vote
0
answers
430
views
Magento 1.9 Coupon code applied but subtotal, grand total and withdiscount totals not updating in quotes/carts
I m facing strange issue as follows:
I have created one shopping cart rule - with 10% on every product and to all customer groups.
Conditions and Actions applied for all the products.
When i add ...
1
vote
0
answers
499
views
Magento 1.9 Shopping Cart Price Rule apply issue
I'm struggling with an issue regarding the Shopping Cart Price Rules.
I've created a rule with a single coupon and the only condition is Subtotal is equal or greater than 65,50.
When I'm using this ...
1
vote
0
answers
93
views
Multiple users are using single coupon simultaneously
I have created one shopping cart rule with uses per coupon "1" and uses per customer "1". For example, if user A adds product in cart and apply "COUPON01" on cart page. Also user B adds product in ...
1
vote
1
answer
1k
views
Coupon + other cart price rules
So i am trying to set up a coupon code. But whenever i use the coupon code in my cart it overrides the other cart price rules.
For example :
i have a rule when a product is ordered by 6 pcs they get ...
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 "...
1
vote
0
answers
78
views
Magento Custom coupon for subtotal
I need to have 2 value caps in coupon:
Minimum cart value
If the coupon offer is a % off then we should have the facility to capture the maximum discount that can be passed to customer
Example: ...
1
vote
1
answer
98
views
Shopping Price rule for a fixed amount
I'm trying to set up a coupon where if "You purchase $350 or more, enter coupon, receive $50 off".
I've created the coupon "Holiday50"
The condition I entered:
"Subtotal equals or greater than 350"...
0
votes
1
answer
3k
views
Customize "apply coupon" action when a particular coupon is applied and then re-update shipping in cart & checkout
I am running magento ver. 1.9.0.1 in my site.
I want to customize shipping rate when a particular coupon is applied.
How can I do that when "Apply Coupon" button is clicked, if a given coupon is the ...
0
votes
1
answer
76
views
Magento 1 creating a variable fixed-amount coupon code in PHP
I'm trying to create a coupon code for a customer that gets a fixed value from PHP (essentially it can be a different amount for each customer/instance of generation).
For the coupon code generation, ...
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 ...