Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how to avoid "if no shipping method has been selected, redirect the customer to the shipping method"


Johnatan

Recommended Posts

Posted

Please if anybody know how to avoid "if no shipping method has been selected, redirect the customer to the shipping method selection page"?!

 

here is the code (from catalog/checkout_confirmation.php)

 

// if no shipping method has been selected, redirect the customer to the shipping method selection page
 if (!tep_session_is_registered('shipping')) {
tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
 }

 if (!tep_session_is_registered('payment')) tep_session_register('payment');
 if (isset($HTTP_POST_VARS['payment'])) $payment = $HTTP_POST_VARS['payment'];

 if (!tep_session_is_registered('comments')) tep_session_register('comments');
 if (tep_not_null($HTTP_POST_VARS['comments'])) {
$comments = tep_db_prepare_input($HTTP_POST_VARS['comments']);
 }

 

BR

Johnatan

Archived

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

×
×
  • Create New...