- Berichten: 59
- Ontvangen bedankjes 3
Skipping shippingcosts
9 jaren 8 maanden geleden #596
door Simpel
Skipping shippingcosts werd gestart door 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
Graag Inloggen of een account aanmaken deelnemen aan het gesprek.