absolute discount + free ship in one coupon
This is a simple little hack to the built-in coupon system. It causes all $ off coupons to also cause the order to have free shipping.
in func.php, change this: Code:
if (!empty($coupon_type) and $coupon_type == "free_ship") { to this: Code:
if (!empty($coupon_type) and $coupon_type == "absolute") { This was done in x-cart gold 4.0.18 -Glen |
Re: absolute discount + free ship in one coupon
is it possible to have this as an option that can be turned on or off depending on the coupon? i want to enable it for hostess gifts, but for general vouchers i dont want it enabled...... great mod though, im glad someone thought of it!
|
Re: absolute discount + free ship in one coupon
whoops just realised i havent updated my signature... im using x-cart now, whichever one is the latest! i cant find it in my admin... where should i look?
|
All times are GMT -8. The time now is 05:39 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.