Skipping shippingcosts

More
9 years 10 months ago #596 by Simpel
After month I finally found a solution for my problem. It was very random when somebody get the shippings cost or not.

But in checkout_shipping.php

You find some code:


arround rule 82
Code:
if (SELECT_VENDOR_SHIPPING != \'true\') { if (($order->content_type == \'virtual\') || ($order->content_type == \'virtual_weight\') ) { // Edited for CCGV if (!tep_session_is_registered(\'shipping\')) tep_session_register(\'shipping\'); $shipping = false; $sendto = false; tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, \'\', \'SSL\')); } }

I change this into
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\') || ($order->content_type == \'virtual_weight\') ) { // Edited for CCGV if (!tep_session_is_registered(\'shipping\')) tep_session_register(\'shipping\'); $shipping = false; $sendto = false; tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, \'\', \'SSL\')); }

And the problem seems solved

Please Log in or Create an account to join the conversation.

Events Joomla
MarvikShop
Finnaly it's here:
 
No bridges, no look a likes!
This is the ultimate integration
between Oscommerce and Joomla!
Documentation
Site Showcase
Follow us