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

#   Ajax checkout log in and Login module

##

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

Less More

- Posts: 200
- Thank you received: 75
-
-

9 years 4 months ago [\#273539](#273539) by [GW](/forum/user/33851-gw "View GW's Profile")  *[Ajax checkout log in and Login module](/forum/27-checkout/891050-ajax-checkout-log-in-and-login-module#273539 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.2  Hi,  we've come across a small issue when using the new Ajax checkout. If a user logs in on the checkout his addresses will be loaded through Ajax without the page refreshing, which works fine.  However, at the top of every page we also have a menu with a standard Joomla login module where users can log in, and because the page doesn't refresh when logging in on the checkout, this module will still show &quot;log in&quot; even though the user just did and is logged in, which can be a bit confusing.  We could force a page reload, but would like to ask if there is any way when a user logs in in the checkout to also let the rest of the page know he is logged in without requiring a page reload? Thanks for any help!")* was created by *[GW](/forum/user/33851-gw "View GW's Profile")*

-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.2

Hi,

we've come across a small issue when using the new Ajax checkout.
If a user logs in on the checkout his addresses will be loaded through Ajax without the page refreshing, which works fine.

However, at the top of every page we also have a menu with a standard Joomla login module where users can log in, and because the page doesn't refresh when logging in on the checkout, this module will still show "log in" even though the user just did and is logged in, which can be a bit confusing.

We could force a page reload, but would like to ask if there is any way when a user logs in in the checkout to also let the rest of the page know he is logged in without requiring a page reload? Thanks for any help!

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

9 years 4 months ago [\#273582](#273582) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Ajax checkout log in and Login module](/forum/27-checkout/891050-ajax-checkout-log-in-and-login-module#273582 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.2  Hi,  we've come across a small issue when using the new Ajax checkout. If a user logs in on the checkout his addresses will be loaded through Ajax without the page refreshing, which works fine.  However, at the top of every page we also have a menu with a standard Joomla login module where users can log in, and because the page doesn't refresh when logging in on the checkout, this module will still show &quot;log in&quot; even though the user just did and is logged in, which can be a bit confusing.  We could force a page reload, but would like to ask if there is any way when a user logs in in the checkout to also let the rest of the page know he is logged in without requiring a page reload? Thanks for any help!")*

Hi,

That's already in place. When something happens in the checkout HikaShop fires different javascript events and the whole page can register to these events in order to be notified. That's how the cart module will refresh for example.
The problem with the login module of Joomla is that it doesn't have any ajax refresh capability. So there is no way to refresh it like the HikaShop modules and checkout blocks.
So the only solution will be to force a page reload in your case.

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

- **[PolishedGeek](/forum/user/8378-polishedgeek "View PolishedGeek's Profile")**
- [![PolishedGeek's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8378-polishedgeek "View PolishedGeek's Profile")
- [ Offline](/forum/user/8378-polishedgeek)
- Official HikaShop Development Partner

Less More

- Posts: 329
- Thank you received: 94
-
- [](http://PolishedGeek.com/?utm_source=hikashop)
-

9 years 4 months ago [\#273625](#273625) by [PolishedGeek](/forum/user/8378-polishedgeek "View PolishedGeek's Profile")  Replied by *[PolishedGeek](/forum/user/8378-polishedgeek "View PolishedGeek's Profile")* on topic *[Ajax checkout log in and Login module](/forum/27-checkout/891050-ajax-checkout-log-in-and-login-module#273625 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.2  Hi,  we've come across a small issue when using the new Ajax checkout. If a user logs in on the checkout his addresses will be loaded through Ajax without the page refreshing, which works fine.  However, at the top of every page we also have a menu with a standard Joomla login module where users can log in, and because the page doesn't refresh when logging in on the checkout, this module will still show &quot;log in&quot; even though the user just did and is logged in, which can be a bit confusing.  We could force a page reload, but would like to ask if there is any way when a user logs in in the checkout to also let the rest of the page know he is logged in without requiring a page reload? Thanks for any help!")*

Or you could switch to a third party AJAX Joomla login module and modify it slightly to respond to the HikaShop login event. We've used this one on a few client sites: [ offlajn.com/improved-ajax-login.html](http://offlajn.com/improved-ajax-login.html)

Heck, if you write them, they might even make the change to support it in their product if you are lucky. ![:)](/media/kunena/emoticons/3.png ":)")

---

~ Deb Cinkus, CEO

Polished Geek: more with monday․com
eCommerce Business Process Automation Experts

The following user(s) said Thank You: [GW](/forum/user/33851-gw "View GW's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MTA1MC1hamF4LWNoZWNrb3V0LWxvZy1pbi1hbmQtbG9naW4tbW9kdWxlP3RtcGw9bWFya2Rvd24=) 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.059 seconds

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