Checkout's Next button requires extra click

  • Posts: 47
  • Thank you received: 0
13 years 4 months ago #21509

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.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 4 months ago #21516

Could you try to change the code:

				if(strpos($this->checkout_workflow,'shipping')!==false){
					$this->before_shipping(true);
				}
				if(strpos($this->checkout_workflow,'payment')!==false){
					$this->before_payment(true);
				}
by:
					$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.

  • Posts: 47
  • Thank you received: 0
13 years 4 months ago #21535

Tried that, still the same result..

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 4 months ago #21549

Then, could you try instead to add the 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
$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.

  • Posts: 47
  • Thank you received: 0
13 years 4 months ago #21559

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.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 4 months ago #21563

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.056 seconds
Powered by Kunena Forum