Well it does that BUT it is https:// not http://
By clicking checkout it was designed to direct you sot checkout_shipping.php and if you don't have any items in your cart it takes you to your shopping_cart.php.
Here is the redirect line of code from checkout_shipping.php
CODE
// if there is nothing in the customers cart, redirect them to the shopping cart page
if ($cart->count_contents() < 1) {
tep_redirect(tep_href_link(FILENAME_SHOPPING_CART));
}
if ($cart->count_contents() < 1) {
tep_redirect(tep_href_link(FILENAME_SHOPPING_CART));
}
I have also tried
CODE
// if there is nothing in the customers cart, redirect them to the shopping cart page
if ($cart->count_contents() < 1) {
tep_redirect(tep_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'));
}
if ($cart->count_contents() < 1) {
tep_redirect(tep_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'));
}
Neither of which fix the problem... Does anyone else have this problem or know how to fix it? Please help
