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") {
#
# Apply discount coupon 'Free shipping'
#
if (($single_mode) or ($provider_for == $discount_coupon_data["provider"])) {
$coupon_discount = $shipping_cost;
$shipping_cost = 0;
to this:
Code:
if (!empty($coupon_type) and $coupon_type == "absolute") {
#
# Apply discount coupon 'Free shipping'
#
if (($single_mode) or ($provider_for == $discount_coupon_data["provider"])) {
$shipping_cost = 0;
This was done in x-cart gold 4.0.18
-Glen