How to keep left modules on screen at checkout

  • Posts: 39
  • Thank you received: 0
14 years 1 month ago #1635

It seems to automatically work in IE-8 but tried in chrome and firefox and when checkout apperas, I loose my left modules.

Is there specific code to be added to have the same effect on chrome/firefox then on IE ?

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

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
14 years 1 month ago #1636

You should try that fix: www.hikashop.com/support/forum/3-bug-rep...rk.html?lang=fr#1513
That should solve the problem.
That's a fix we're going to include in the next version.

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

  • Posts: 39
  • Thank you received: 0
14 years 1 month ago #1639

This partly fix the problem, yes the left menu does not dissapera when the checkout is loaded BUT if you select to the "user control panel" (that in my case is in a vertical menu on the left) and you are not logged-in, then again, the left menu dissapear to let place to a login screen.

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

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
14 years 1 month ago #1641

That's another problem in fact.
You should replace the code

$app->redirect(JRoute::_('index.php?option=com_user&view=login',false));
by the code
global $Itemid;
			$url = '';
			if(!empty($Itemid)){
				$url='&Itemid='.$Itemid;
			}
			$app->redirect(JRoute::_('index.php?option=com_user&view=login'.$url,false));
near line 25 of the file components/com_hikashop/controllers/user.php and the modules will stay when the page is redirected at that place.

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

  • Posts: 39
  • Thank you received: 0
14 years 1 month ago #2050

Problem is back in IE 8, firefix and chrome, if I select to go to check-out, I loose my all left menu again

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

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
14 years 1 month ago #2057

Could you give more details on the problem ?

What is the URL when you don't see the modules ?
From which page are you coming ?

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

  • Posts: 39
  • Thank you received: 0
14 years 1 month ago #2068

this is the page where I don't see the left modules:
halonacoaching.com/joomlatest/index.php?...heckout&Itemid=8

this is the page coming from (select the first item and press on the "ajouter au panier"):
halonacoaching.com/joomlatest/index.php?...out=listing&Itemid=8

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

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
14 years 1 month ago #2072

It's actually another problem. That happens because you activated the SSL.
Please change the code

$this->setRedirect( JRoute::_('index.php?option='.HIKASHOP_COMPONENT.'&ctrl=checkout'.$url,true,true));
to
$this->setRedirect( JRoute::_('index.php?option='.HIKASHOP_COMPONENT.'&ctrl=checkout'.$url,false,true));
near line 140 of the file components/com_hikashop/controllers/checkout.php and try again.

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

  • Posts: 39
  • Thank you received: 0
14 years 1 month ago #2074

Thank's this fixed the problem, sorry I forgot to mention about the SSL addition.

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

Time to create page: 0.068 seconds
Powered by Kunena Forum