Checkout - Not Logged In - Checkout path ADDRESS

  • Posts: 15
  • Thank you received: 1
11 years 8 months ago #60324

I'm not using a one page checkout, rather stepped through to manage where products can be shipped to. I like the checkout path so someone can step back. However, there is a major error if the person hasn't logged in and selects ADDRESS from the checkout path.

Please recommend a work around.

Thanks!

#########################

Fixed it myself -- here's where for anyone wondering --

in checkout / step.php find this line --

if($this->display_checkout_bar ){
?>
<div id="hikashop_cart_bar" class="hikashop_cart_bar">

CHANGE THE CONDITION TO

if($this->display_checkout_bar && $this->identified){
?>
<div id="hikashop_cart_bar" class="hikashop_cart_bar">

NOW the path won't show up unless they're logged in.

:)

Last edit: 11 years 8 months ago by mtangelcv. Reason: Found own solution

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
11 years 8 months ago #60377

What was the major problem you had ?

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

  • Posts: 15
  • Thank you received: 1
11 years 8 months ago #60404

1. Not logged in.
2. Shop, add to cart, select proceed to checkout
3. Login screen shown WITH checkout path
4. Click Address and get

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.

The following user(s) said Thank You: nicolas

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
11 years 8 months ago #60467

Thanks. I found the problem.

Please add the line:
unset($_REQUEST);

after:
JRequest::setVar('step',$found);
JRequest::setVar('previous',0);

in the file components/com_hikashop/controllers/checkout.php in order to solve the problem.

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

  • Posts: 15
  • Thank you received: 1
11 years 8 months ago #60519

PERFECT! Works like a charm (and I can remove my hokie code from above). Here's a new twist -- still working with the checkout path:

On my Login I have the TERMS & CONDITIONS required. If I'm not logged in and click ADDRESS or SHIPPING then I'm blocked. However, clicking PAYMENT skips all steps...eventually the system blocks ya without the check to T&C.

Secondary problem is with the pop up for T&Cs. I get this title "ARTICLES" above my article and I cannot seem to get rid of it in Joomla settings.

Thanks for your help! This has been a learning process for me.

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
11 years 8 months ago #60596

That's not enough information to understand your problem. Could you do a screenshot of the checkout tab of the configuration ?

For the "articles" text, you can do like that:
www.hikashop.com/forum/4-how-to/18604-qa...e.html?lang=fr#58469

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

Time to create page: 0.064 seconds
Powered by Kunena Forum