- Posts: 59
- Thank you received: 3
Skipping shippingcosts
9 years 10 months ago #596
by Simpel
Skipping shippingcosts was created 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
I change this into
And the problem seems solved
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.