andyshep Posted August 12, 2006 Share Posted August 12, 2006 hi all, i am trying to allow the checkout process to continue when the shopping cart is empty. you might ask why? i am trying to duplicate the checkout process for credit card payments that are not related to the shop. in checkout_payment.php there is this 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)); } i thought ahhh.. just remove that and job done... it is still redirecting to the shopping cart if i remove this. Anyone know what else i need to change or , can i put a dummy product in the cart, this might seem easier but then i will need to set the price of this dummy product to ?0.00 and as ive got it setup at the moment delivery charges will be added and i dont want that. any ideas anyone? cheers andy. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.