Skip to main content

Checkout's Next button requires extra click

More
15 years 2 months ago #21509 by woes
Yes i have the latest version, the live site is at: www.fotoboeket.nl/bestellen
The problem occurs after editing the shipping address :)

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

More
15 years 2 months ago #21516 by nicolas
Could you try to change the code:
Code:
if(strpos($this->checkout_workflow,'shipping')!==false){ $this->before_shipping(true); } if(strpos($this->checkout_workflow,'payment')!==false){ $this->before_payment(true); }
by:
Code:
$this->before_shipping(true); $this->before_payment(true);
in the function after_address of the file components/com_hikashop/controllers/checkout.php and try again ?

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

More
15 years 2 months ago #21535 by woes
Tried that, still the same result..

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

More
15 years 2 months ago #21549 by nicolas
Then, could you try instead to add the code:
Code:
if(!$already){ $controller = hikashop::get('controller.checkout'); $cart = $controller->initCart(); if($cart->has_shipping){ $controller->update_cart = true; $controller->before_shipping(true); $controller->before_payment(true); } }
before the code
Code:
$url = hikashop_completeLink('checkout&task=step&step='.JRequest::getInt('step',0).$url,false,true);
in the file components/com_hikashop/controllers/address.php and try again ?

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

More
15 years 2 months ago #21559 by woes
Yes! That did the trick! Thank you so much!

I hope this will be useful to others as well :)

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

More
15 years 2 months ago #21563 by nicolas
We'll include that in next release as that's how it should be.

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

Time to create page: 0.172 seconds
Powered by Kunena Forum