- Beiträge: 59
- Dank erhalten: 3
Skipping shippingcosts
9 Jahre 9 Monate her #596
von Simpel
Skipping shippingcosts wurde erstellt von 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
Bitte Anmelden oder Registrieren um der Konversation beizutreten.