Within the checkout_shipping page's header_php.php processing, there's a check to see if the selected shipping module has recorded an error which should keep the customer on the checkout_shipping page:
Unfortunately, the $quote value is an array of arrays, so testing for $quote['error'] will never find a match. Need, instead, to code:Code:list($module, $method) = explode('_', $_SESSION['shipping']); if ( is_object($$module) || ($_SESSION['shipping'] == 'free_free') ) { if ($_SESSION['shipping'] == 'free_free') { $quote[0]['methods'][0]['title'] = FREE_SHIPPING_TITLE; $quote[0]['methods'][0]['cost'] = '0'; } else { $quote = $shipping_modules->quote($method, $module); } if (isset($quote['error'])) { $_SESSION['shipping'] = ''; } else {
Code:list($module, $method) = explode('_', $_SESSION['shipping']); if ( is_object($$module) || ($_SESSION['shipping'] == 'free_free') ) { if ($_SESSION['shipping'] == 'free_free') { $quote[0]['methods'][0]['title'] = FREE_SHIPPING_TITLE; $quote[0]['methods'][0]['cost'] = '0'; } else { $quote = $shipping_modules->quote($method, $module); } if (isset($quote[0]['error'])) { $_SESSION['shipping'] = ''; } else {


Reply With Quote
