Skip to main content

I have a checkout process during customer order t

11 years 7 months ago - 11 years 7 months ago #197389 by marcusding
-- url of the page with the problem -- : www.sol-farms.com
www.sol-farms.com/%E7%94%A2%E5%93%81%E6%AB%83%E6%AA%AF.html
-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.3.1
-- PHP version -- : 5.3.27
-- Browser(s) name and version -- : Any

Hi

Because my company has three warehouse for delivery normal, refrigerated and frozen products via three delivery process.
Therefore, If customer order at least two kinds of products that belongs two warehouses from my web sit, The Customers will face a stop process during checkout shipping process after they click other shipping method.
Or even customer does not click other shipping method , and click "next" buttons, the customer also face same status

the Checkout Porcess Stop

The checkout process always stop at shipping process
Last edit: 11 years 7 months ago by marcusding.

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

11 years 7 months ago #197390 by marcusding
By the way , The bug does not exist (happen) before update to 2.4.0

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

11 years 6 months ago - 11 years 6 months ago #197449 by nicolas
Hi,

Add the lines:
Code:
if(is_numeric($usable_method->shipping_warehouse_id)) $usable_method->shipping_warehouse_id = (int)$usable_method->shipping_warehouse_id; if(is_numeric($warehouse_id)) $warehouse_id = (int)$warehouse_id;
before the line:
Code:
if(($usable_method->shipping_id == $shipping_id) && ($warehouse_id === null || (isset($usable_method->shipping_warehouse_id) && $usable_method->shipping_warehouse_id === $warehouse_id)))
in the file administrator/components/com_hikashop/helpers/helper.php and that will fix the issue.
Last edit: 11 years 6 months ago by Jerome.
The following user(s) said Thank You: marcusding

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

11 years 6 months ago #197533 by marcusding
thank you

Could you update the source code at next vision 2.4.X Or 2.5.0?

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

11 years 6 months ago #197608 by Jerome
Hi,

Yes we will.
Nicolas already made a patch for the next releases.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

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

Time to create page: 0.091 seconds
Powered by Kunena Forum