Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Free shipping AFTER discount coupon applied


member9999

Recommended Posts

Posted

Hello,

 

 

 

I have a situation and I hope someone can help me out. I offer free shipping after $60, but because my checkout page shows the shipping options on the same page as the "enter coupon code" field (which makes no sense) it doesn't work as intended. If the order comes out to >=$60 the free shipping option is available to check off. But then when the coupon is applied right below the shipping options and the form is submitted I'm giving free shipping for a lesser amount than $60.

 

I've done an extensive search here and can't seem to find anyone with a similar situation which is surprising. What I need is to somehow show the shipping options after the coupon is applied so that if the total qualifies for free shipping the option will be available.

 

Anyone? Thanks!

Posted

You'd better move the coupon processing codes(not coupon form codes...) above these lines below in the checkout_shipping.php

 

// load all enabled shipping modules
 require(DIR_WS_CLASSES . 'shipping.php');
 $shipping_modules = new shipping;

Everyone is changing the world.

Everyone is a world.

For everyone needs my help, PM or email if I amn't online.

Posted

You'd better move the coupon processing codes(not coupon form codes...) above these lines below in the checkout_shipping.php

 

// load all enabled shipping modules
 require(DIR_WS_CLASSES . 'shipping.php');
 $shipping_modules = new shipping;

 

Shadow007, can you please repeat? I don't understand what you said. I found that code block you mentioned but I don't follow where to move it to.

 

Thanks for your help.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...