Logout after purchase or login for new user.

  • Posts: 26
  • Thank you received: 0
10 years 3 months ago #168589

-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3.1
-- PHP version -- : 5.4.7

I configured the login page which has guest user and registered user. Both works fine separately.
After the registered user finished the purchases, then there is another guest user wants to buy some products. But "proceed to Checkout" goes directly to the address.
How can the guest user goes to login page which is the first page of Checkout process?

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

  • Posts: 2143
  • Thank you received: 747
10 years 3 months ago #168602

It reads as if you did this on the same device, first acting as a logged-in user, then trying to act as a guest. You have to admit that in the real world it's unrealistic. This would happen on two different devices instead.

To simulate it, i.e. for testing purposes, you should delete all cookies in your browser for your domain in between actions, or use two different browsers, one for the logged-in user and one for the guest.

Also, you can offer a logout option for logged-in registered users by publishing a Joomla login module, visible for registered users only.


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

  • Posts: 26
  • Thank you received: 0
10 years 3 months ago #168635

Is that any other user having a similar setup.
Or the forum showed in one of the topic.

How can the user logout when he or she really wants to log off from Hikashop ?

Thanks for your kind advise.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 3 months ago #168638

Hi,

@lousyfool
In Joomla, when the user log-out, all cookie and session is destroyed.
So the address or other elements that HikaShop could keep, will be removed from the session for the next "user" (or "guest user").

@silvesterho
You could use a "login" module in your joomla website and just display it for the registered accounts.
So when the user is a "guest", the module won't be displayed and when the user is logged, the module will display the "logout" button.

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: 26
  • Thank you received: 0
10 years 3 months ago #168642

Hi, Jerome

Thank you for your answer to my queries. It definitely showed your experience with Hikashop and knowledge about Joomla 3. Thanks

Silvester

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

Time to create page: 0.074 seconds
Powered by Kunena Forum