I have a checkout process during customer order t

  • Posts: 28
  • Thank you received: 3
10 years 1 month ago #197389

-- 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

Attachments:
Last edit: 10 years 1 month ago by marcusding.

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

  • Posts: 28
  • Thank you received: 3
10 years 1 month ago #197390

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.

  • Posts: 83831
  • Thank you received: 13572
  • MODERATOR
10 years 1 month ago #197449

Hi,

Add the lines:

	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:
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: 10 years 1 month ago by Jerome.
The following user(s) said Thank You: marcusding

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

  • Posts: 28
  • Thank you received: 3
10 years 1 month ago #197533

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.

  • Posts: 26235
  • Thank you received: 4036
  • MODERATOR
10 years 1 month ago #197608

Hi,

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

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.065 seconds
Powered by Kunena Forum