New Zenner
- Join Date:
- Jul 2006
- Posts:
- 72
- Plugin Contributions:
- 0
Recalculate shipping after discount coupon applied
Ah that explains it. :) Thanks Scott. :)
Views: 24,863
New Zenner
Ah that explains it. :) Thanks Scott. :)
Zen Follower
Scott, according to this thread you already built a patch to apply the shipping after discount? Do you have this available - for sale or free?
Thanks
27th June 2008, 06:51 AM
"Scott (swguy) was able to write a patch for the zones shipping module that calculated based on the total after discounts were applied.
Thanks for the great support! "
22 stores and counting! Ive been zenned.
Administrator
It's not a patch; I wrote custom logic based on the settings the person had.
Please email me questions about commercial work, don't ask them on the forum.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Zen Follower
It was unclear in this thread what it was / patch, mod, free, commercial etc...... That is why I asked. Thank you so much for the clarification.
22 stores and counting! Ive been zenned.
New Zenner
Hi All,
I just finished creating the code to RE-calculate shipping after a discount has been applied. Currently My shopping cart is using Fast and Easy Checkout plugin and I got it working there but I will try to apply it to a normal checkout process and post the code in the week or so If anyone is still interested.
btw
it would be helpful if ajah or swguy can give me some idea how to get this incorporated to zen-cart or how to create a module of it.
cheers.
Yaniv
Administrator
Just package it up as a contribution and submit it to the Free Software Add Ons area; the link is at the top left of this page.
These are the terms for contributions. https://www.zen-cart.com/tutorials/index.php?article=11
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Totally Zenned
yaniby
would love to have the code if you have it working. I am testing and looking to use FEC. are you able to load that version up to the site?
Vey much appreciate your help.
Regards
MG
New Zenner
Changing the sort order for Shipping to 900 in "Order Total Modules" helped adding shipping charges after calculating the coupon discount.
New Zenner
I'm having the same problem with the coupon codes making it so people don't have to pay for shipping. How do I get the patch so I can stop this?
New Zenner
Let me chime in with the same kind of problem, I give free shipping for $100, but also offer a group discount of 50% to wholesale customers - the people in this group end up getting free shipping on a $50 purchase. No good for me.
It has nothing to do with the sort order as far as I can tell, I have moved shipping up and down from first to last. It seems to me, no expert, that the problem is that the shipping page comes first so it knows the "subtotal" before it knows the customer gets 50% off, and just says "free shipping on orders over $100". Then it goes to the page where you enter the discounts. But it may be even more complicated than that, I am not an expert by far. Would love for some help or direction here, can't afford to give away free shipping ($10-$15 per order my cost) on a $50 for too long. At least its still restricted to USA :-)
New Zenner
Guys any luck on this. I have better together installed, but Shipping charges are calculated before discount, which make the shipping free over certain amount, which is not correct. how can we have shipping calculated after discount is calculated on sub total?
Administrator
themaitrini:
Guys any luck on this. I have better together installed, but Shipping charges are calculated before discount, which make the shipping free over certain amount, which is not correct. how can we have shipping calculated after discount is calculated on sub total?
Check the sort orders in your admin's Modules->Order Totals. It sounds like you want the Sort Order value for "Shipping" to be a larger number than the Sort Order value for "Better Together", that way the shipping charge is calculated after the discount is applied.
New Zenner
Thank you lat9 for your reply.
I did try changing the sort order, but it didn't work. Better together has sort order of 292, and I changed Shipping sort order to 299, but no luck.
Just FYI, I am using version 1.5.1. Any other suggestion?
New Zenner
here is my web site URL: https://www.maitrini.com
Administrator
You have to write software to make it work this way. Changing sort orders won't do it.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
New Zenner
swguy:
You have to write software to make it work this way. Changing sort orders won't do it.
Okay...
So what is the code or what is the mod (software mod/plugin) that can do this?
I am looking for the ability to set the Free Shipping based on the Total, AFTER all discounts, coupons, etc., has been applied.
Meaning, if the Free Shipping target is $100, I DO NOT want to offer Free Shipping based on total order of $100 BEFORE all discounts, but to only offer Free Shipping AFTER all discounts are applied - in other words, the order total is $100 in actual paid for price for all items in a order AFTER any and all discounts are applied.
The code or mod for this request is pertinent and would solve this issue for many of us who would like this feature. If this feature is "Free", great! (Provide the code in the forum.) If not free, then direct us to the URL or location where it can be purchased.
To moderator: Please allow the link if the feature/mod needs to be purchased. How else would we know where to get the solution to this?!
Administrator
There's no single shrinkwrapped mod that will do this; the changes that are required depend on a bunch of different factors.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
New Zenner
swguy:
Pls. see email.
Is it too late for me to ask for this patch also, please? I have been trying to figure out this for a long time.
Thank you!
Administrator
See PM.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Zen Follower
I have downloaded the latest version (v1.5.6c), and with the testing I've done so far, this problem seems to have gone away... am I correct with this assumption, or is it purely a fluke?
Thanks
Tania :-)
Elemi
The Art of Bespoke Aromatherapy
https://www.AmorAromatherapy.co.nz
Tell staff why this post should be reviewed.