- Posts: 57
- Thank you received: 1
2 vendors Shipping in checkout is broken
11 years 10 months ago - 11 years 10 months ago #184550
by 888
2 vendors Shipping in checkout is broken was created by 888
-- HikaShop version -- : 2.3.5
-- HikaMarket version -- : 1.5.1
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.5.14-1
hi
after update hikashop to 2.3.5
2 vendors in checkout Shipping is broken see/test on your demo pages
Shipping is only under 1 vendor and whatever you choose in shipping
you get please select shipping method
Sorry wrong category - this is bug
-- HikaMarket version -- : 1.5.1
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.5.14-1
hi
after update hikashop to 2.3.5
2 vendors in checkout Shipping is broken see/test on your demo pages
Shipping is only under 1 vendor and whatever you choose in shipping
you get please select shipping method
Sorry wrong category - this is bug
Last edit: 11 years 10 months ago by 888.
Please Log in or Create an account to join the conversation.
11 years 10 months ago #184568
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic 2 vendors Shipping in checkout is broken
Hi,
I made some tests and I found the issue in HikaShop.
Please edit the file : "administrator/components/com_hikashop/classes/shipping.php" and replace
By
I'll fix the issue.
I've also submit the fix to the HikaShop team ; they should update the package soon.
Regards,
I made some tests and I found the issue in HikaShop.
Please edit the file : "administrator/components/com_hikashop/classes/shipping.php" and replace
Code:
$order->shipping_warehouse_id = $key;
$dispatcher->trigger('onShippingDisplay', array(&$order, &$rates_copy, &$group_usable_methods, &$errors));
unset($order->shipping_warehouse_id);
foreach($group_usable_methods as $method) {
$group->shippings[] = $method->shipping_id;
$method->shipping_warehouse_id = $key;
$usable_methods[] = $method;
}
Code:
$order->shipping_warehouse_id = $key;
$dispatcher->trigger('onShippingDisplay', array(&$order, &$rates_copy, &$group_usable_methods, &$errors));
unset($order->shipping_warehouse_id);
foreach($group_usable_methods as $method) {
if(isset($method->shipping_warehouse_id) && $method->shipping_warehouse_id != $key)
$method = clone($method);
$group->shippings[] = $method->shipping_id;
$method->shipping_warehouse_id = $key;
$usable_methods[] = $method;
}
I've also submit the fix to the HikaShop team ; they should update the package soon.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.081 seconds