xtra step or page at checkout

  • Posts: 34
  • Thank you received: 1
11 years 9 months ago #119087

url of the page with the problem -- : nighteyeslights.com
Hikashop 2.2.0 Business

After the user inputs registration details and clicks Continue Checkout they are taken to another page that says -> Continue Shopping and Continue Checkout. I don't want this second page it should go to the page after that page directly.
The url for that xtra page is: nighteyeslights.com/component/hikashop/checkout/step/step-2

Attached is my checkout process.






Thanks for the assistance
~d

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
11 years 9 months ago #119133

Hi,

You don't want that the customers see the payment and shipping selection page ?
If it is, you will have to edit the view "checkout / step" to redirect to the next page automatically.

It require php skills.

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

  • Posts: 34
  • Thank you received: 1
11 years 9 months ago #119195

Below is what I see upon check out. As you can see step 3 is essentially a blank page with just navigation on it.
So I need to be a php editor to eliminate this blank page in the check out process?
Where do I find that php code at? If I can not do it, what am I to do? I need to hire some one to fix your check out process?
Thanks.
~d










Attachments:

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

  • Posts: 26251
  • Thank you received: 4039
  • MODERATOR
11 years 9 months ago #119222

Hi,

What I can recommend you is to put the "login" step in the same page than the "address, shipping, payment".
But, by overriding the view "checkout | step", you can display or not the "address, shipping, payment" depending if the user is logged or not.

So at this moment, when the user is not logged, the steps are not added in the page and if the user is logged, the step will be added.
You won't have any blank page, it is just that some elements won't be display when it is not the right time too.

www.hikashop.com/support/documentation/1...ize-the-display.html
The code which need some modifications:

	foreach($this->layouts as $layout){
		$layout=trim($layout);
		if($layout=='end'){
			$this->continueShopping='';
		}
		$this->setLayout($layout);
		echo $this->loadTemplate();
	}
It will require some PHP skills.

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.

  • Posts: 25
  • Thank you received: 0
11 years 9 months ago #120009

Jerome - any chance you could indicate/suggest what the code change should be?

I have a same/similar issue as the OP

Thanks,
Damian

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

  • Posts: 83932
  • Thank you received: 13588
  • MODERATOR
11 years 9 months ago #120118

Hi,

I would propose instead to add the line:
$this->before_login();
after:

				if($this->_getStep('address',$this->previous)!==false){
					$status = false;
				}

				if(!$this->before_address()){
					$status = false;
				}
in the file components/com_hikashop/controllers/checkout.php
That should redirect automatically to the next step after the login if the login is on its own step.

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

Time to create page: 0.161 seconds
Powered by Kunena Forum