[Skip to main content](#vessel-content)

#   Logout after purchase or login for new user.

##

- **[silvesterho](/forum/user/33488-silvesterho "View silvesterho's Profile")**
- [![silvesterho's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33488-silvesterho "View silvesterho's Profile") Topic Author
- [ Offline](/forum/user/33488-silvesterho)

Less More

- Posts: 26
- Thank you received: 0
-
-

12 years 2 months ago [\#168589](#168589) by [silvesterho](/forum/user/33488-silvesterho "View silvesterho's Profile")  *[Logout after purchase or login for new user.](/forum/33-customers/870555-logout-after-purchase-or-login-for-new-user#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 &quot;proceed to Checkout&quot; goes directly to the address. How can the guest user goes to login page which is the first page of Checkout process?")* was created by *[silvesterho](/forum/user/33488-silvesterho "View silvesterho's Profile")*

-- 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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2N1c3RvbWVycy84NzA1NTUtbG9nb3V0LWFmdGVyLXB1cmNoYXNlLW9yLWxvZ2luLWZvci1uZXctdXNlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")**
- [![lousyfool's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28604.jpg)](/forum/user/28604-lousyfool "View lousyfool's Profile")
- [ Offline](/forum/user/28604-lousyfool)

Less More

- Posts: 2143
- Thank you received: 747
-
- [](http://www.inphase.one)
-

12 years 2 months ago [\#168602](#168602) by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")  Replied by *[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")* on topic *[Logout after purchase or login for new user.](/forum/33-customers/870555-logout-after-purchase-or-login-for-new-user#168602 "-- 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 &quot;proceed to Checkout&quot; goes directly to the address. How can the guest user goes to login page which is the first page of Checkout process?")*

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!](/component/uddeim/?task=new)
(Don't forget to turn on [ "E-mail notification of new messages"](/component/uddeim/?task=settings))

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2N1c3RvbWVycy84NzA1NTUtbG9nb3V0LWFmdGVyLXB1cmNoYXNlLW9yLWxvZ2luLWZvci1uZXctdXNlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[silvesterho](/forum/user/33488-silvesterho "View silvesterho's Profile")**
- [![silvesterho's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33488-silvesterho "View silvesterho's Profile") Topic Author
- [ Offline](/forum/user/33488-silvesterho)

Less More

- Posts: 26
- Thank you received: 0
-
-

12 years 2 months ago [\#168635](#168635) by [silvesterho](/forum/user/33488-silvesterho "View silvesterho's Profile")  Replied by *[silvesterho](/forum/user/33488-silvesterho "View silvesterho's Profile")* on topic *[Logout after purchase or login for new user.](/forum/33-customers/870555-logout-after-purchase-or-login-for-new-user#168635 "-- 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 &quot;proceed to Checkout&quot; goes directly to the address. How can the guest user goes to login page which is the first page of Checkout process?")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2N1c3RvbWVycy84NzA1NTUtbG9nb3V0LWFmdGVyLXB1cmNoYXNlLW9yLWxvZ2luLWZvci1uZXctdXNlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 2 months ago [\#168638](#168638) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Logout after purchase or login for new user.](/forum/33-customers/870555-logout-after-purchase-or-login-for-new-user#168638 "-- 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 &quot;proceed to Checkout&quot; goes directly to the address. How can the guest user goes to login page which is the first page of Checkout process?")*

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 &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2N1c3RvbWVycy84NzA1NTUtbG9nb3V0LWFmdGVyLXB1cmNoYXNlLW9yLWxvZ2luLWZvci1uZXctdXNlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[silvesterho](/forum/user/33488-silvesterho "View silvesterho's Profile")**
- [![silvesterho's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33488-silvesterho "View silvesterho's Profile") Topic Author
- [ Offline](/forum/user/33488-silvesterho)

Less More

- Posts: 26
- Thank you received: 0
-
-

12 years 2 months ago [\#168642](#168642) by [silvesterho](/forum/user/33488-silvesterho "View silvesterho's Profile")  Replied by *[silvesterho](/forum/user/33488-silvesterho "View silvesterho's Profile")* on topic *[Logout after purchase or login for new user.](/forum/33-customers/870555-logout-after-purchase-or-login-for-new-user#168642 "-- 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 &quot;proceed to Checkout&quot; goes directly to the address. How can the guest user goes to login page which is the first page of Checkout process?")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2N1c3RvbWVycy84NzA1NTUtbG9nb3V0LWFmdGVyLXB1cmNoYXNlLW9yLWxvZ2luLWZvci1uZXctdXNlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.149 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
