d0mokun Posted January 13, 2006 Posted January 13, 2006 Hi guys, Is it possible to remove the need for any shipping details from osC? Our store does not require the user to enter any shipping details because we only offer electronic download products. Many thanks in advance, Dan.
acyaws Posted April 2, 2006 Posted April 2, 2006 Hi guys, Is it possible to remove the need for any shipping details from osC? Our store does not require the user to enter any shipping details because we only offer electronic download products. Many thanks in advance, Dan. I need to know the same. Pretty Please, I have searched and searched. I did read in the code that it needed to be set to virtual, but where? Angela
leonardo2212 Posted April 2, 2006 Posted April 2, 2006 I need to know the same. Pretty Please, I have searched and searched. I did read in the code that it needed to be set to virtual, but where? Angela Hello! Its simple to disable shipping, just do this: go to your catalog\checkout_shipping.php file change this code: / if the order contains only virtual products, forward the customer to the billing page as // a shipping address is not needed if ($order->content_type == 'virtual') { if (!tep_session_is_registered('shipping')) tep_session_register('shipping'); $shipping = false; $sendto = false; tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); } with: // Force virtual products, forward the customer to the billing page as // a shipping address is not needed if (!tep_session_is_registered('shipping')) tep_session_register('shipping'); $shipping = false; $sendto = false; tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); This will skip the shipping page on checkout and lead to payment. It worked for me... Backup before any changes!!!
acyaws Posted April 3, 2006 Posted April 3, 2006 Thank you so much! That worked perfectly! You're an angel. :wub: Angela P.S. If I can't figure this other thing I am working on, may I please private message you leonardo2212? Thanks Again!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.