killerwhale65 Posted March 13, 2006 Posted March 13, 2006 hi, here is what i have on checkout_shipping.php: // if the order contains only virtual products, forward the customer to the billing page as // a shipping address is not needed // ###### Added CCGV Contribution ######### // if ($order->content_type == 'virtual') { if (($order->content_type == 'virtual') || ($order->content_type == 'virtual_weight') ) { // ###### End Added CCGV Contribution ######### if (!tep_session_is_registered('shipping')) tep_session_register('shipping'); $shipping = false; $sendto = false; tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); } The problem is that when i have only products with 0 weight, i get a "page cannot be displayed". When there are products with weight there is no problem. When i uncomment the above, then it does work, also with 0 weight. What is wrong? And what is exactly a "virtual (weight) content type"? Thanks! Matt Matthias Thoen my contribution: Photo Gallery for osCommerce --check my homepage in my CARD--
Recommended Posts
Archived
This topic is now archived and is closed to further replies.