Skip to main content

How to keep left modules on screen at checkout

More
15 years 10 months ago #1635 by goldriver
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.

More
15 years 10 months ago #1636 by nicolas
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.

More
15 years 10 months ago #1639 by goldriver
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.

More
15 years 10 months ago #1641 by nicolas
That's another problem in fact.
You should replace the code
Code:
$app->redirect(JRoute::_('index.php?option=com_user&view=login',false));
by the code
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.

More
15 years 10 months ago #2050 by goldriver
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.

More
15 years 10 months ago #2057 by nicolas
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.

More
15 years 10 months ago #2068 by goldriver
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.

More
15 years 10 months ago #2072 by nicolas
It's actually another problem. That happens because you activated the SSL.
Please change the code
Code:
$this->setRedirect( JRoute::_('index.php?option='.HIKASHOP_COMPONENT.'&ctrl=checkout'.$url,true,true));
to
Code:
$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.

More
15 years 10 months ago #2074 by goldriver
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.206 seconds
Powered by Kunena Forum