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

#   Checkout login

##

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

10 years 9 months ago [\#229877](#229877) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  *[Checkout login](/forum/27-checkout/882283-checkout-login#229877 "Hi,  So I have created custom html module to display logged in user name. Everything works fine except one thing.  When user goes to checkout and login throught hikashop, my module do not display logged in user name during all checkout process. Is there a way to fix it? Maybe instead using joomla I could use hikashop to display user name?  Here is the code I use:  Thanks")* was created by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")*

Hi,

So I have created custom html module to display logged in user name.
Everything works fine except one thing.

When user goes to checkout and login throught hikashop, my module do not display logged in user name during all checkout process. Is there a way to fix it?
Maybe instead using joomla I could use hikashop to display user name?

Here is the code I use:
Code:

{source} &lt;?php $user = JFactory::getUser(); $groups = $user-&gt;groups; if($user-&gt;id) { if (isset($groups[2])) echo '&lt;span class="uservip none"&gt;&lt;i class="fa fa-star-o fa-lg"&gt;&lt;/i&gt;&lt;/span&gt;'; if (isset($groups[5])) echo '&lt;span class="uservip bronze"&gt;&lt;i class="fa fa-star fa-lg" style="color: #CD7F32;"&gt;&lt;/i&gt;&lt;/span&gt;'; if (isset($groups[7])) echo '&lt;span class="uservip silver"&gt;&lt;i class="fa fa-star fa-lg" style="color: #c0c0c0;&gt;&lt;/i&gt;&lt;/span&gt;'; if (isset($groups[6])) echo '&lt;span class="uservip gold"&gt;&lt;i class="fa fa-star fa-lg" style="color: #ffd700;&gt;&lt;/i&gt;&lt;/span&gt;'; echo '&lt;span class="usernick userstatus"&gt;', $user-&gt;username, '&lt;i class=" fa fa-caret-down" style="padding: 3px;"&gt;&lt;/i&gt;&lt;/span&gt;'; } ?&gt; {/source}

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MjI4My1jaGVja291dC1sb2dpbj90bXBsPW1hcmtkb3du) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 9 months ago [\#229878](#229878) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Checkout login](/forum/27-checkout/882283-checkout-login#229878 "Hi,  So I have created custom html module to display logged in user name. Everything works fine except one thing.  When user goes to checkout and login throught hikashop, my module do not display logged in user name during all checkout process. Is there a way to fix it? Maybe instead using joomla I could use hikashop to display user name?  Here is the code I use:  Thanks")*

Hi,

HikaShop is using regular Joomla accounts ; so there is no reason that it does not work.
Except if you're using guest checkout....

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

10 years 9 months ago -  10 years 9 months ago [\#229951](#229951) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[Checkout login](/forum/27-checkout/882283-checkout-login#229951 "Hi,  So I have created custom html module to display logged in user name. Everything works fine except one thing.  When user goes to checkout and login throught hikashop, my module do not display logged in user name during all checkout process. Is there a way to fix it? Maybe instead using joomla I could use hikashop to display user name?  Here is the code I use:  Thanks")*

Hi,

I do not use guest checkout. You can create account on my website. [ kyra.lt](http://kyra.lt) Then try to login on checkout and you will see that during checkout it is not working. Top right... Only if after login and refresh page it will work.

Thanks

Last edit: 10 years 9 months ago by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile").

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

10 years 9 months ago [\#229967](#229967) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Checkout login](/forum/27-checkout/882283-checkout-login#229967 "Hi,  So I have created custom html module to display logged in user name. Everything works fine except one thing.  When user goes to checkout and login throught hikashop, my module do not display logged in user name during all checkout process. Is there a way to fix it? Maybe instead using joomla I could use hikashop to display user name?  Here is the code I use:  Thanks")*

Hi,

I'm sorry but I don't know what I'm looking for.
Can you do a screenshot of what should be where ?

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

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

10 years 9 months ago [\#229983](#229983) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[Checkout login](/forum/27-checkout/882283-checkout-login#229983 "Hi,  So I have created custom html module to display logged in user name. Everything works fine except one thing.  When user goes to checkout and login throught hikashop, my module do not display logged in user name during all checkout process. Is there a way to fix it? Maybe instead using joomla I could use hikashop to display user name?  Here is the code I use:  Thanks")*

Hi,

I am sorry I should be more specific next time.
I have added some screenshot and I hope you will understand what issue I have.

I have created custom html module with code in my first message to display user name. ( Later I will customize it to display vip status based on user group....)
I have modules anythere installed and added that costum html module tag to menu title like in the 6th screenshot attached. It works well on all pages except when login during checkout.
So after item added to cart&gt; go to checkout&gt; login or creat account is displayed like in the 2nd screenshot attached. After login for unknown reason for me module do not load username ( screenshot 3 ) during all checkout steps and page needs to refresh. All works fine after( screenshot 5). So I think there is something wrong with my code and maybe better would be to load user name through hikashop and not joomla like I do now... It is small issue but I would like to fix it.

Kind Regards

- [ ![allok.png](/forum/attachment/29530) ](/forum/attachment/29530 "allok.png") [ ](/forum/attachment/29530?download=1 "allok.png")
- [ ![logincheckout.png](/forum/attachment/29531) ](/forum/attachment/29531 "logincheckout.png") [ ](/forum/attachment/29531?download=1 "logincheckout.png")
- [ ![nomodule.png](/forum/attachment/29532) ](/forum/attachment/29532 "nomodule.png") [ ](/forum/attachment/29532?download=1 "nomodule.png")
- [ ![afterrefresh.png](/forum/attachment/29533) ](/forum/attachment/29533 "afterrefresh.png") [ ](/forum/attachment/29533?download=1 "afterrefresh.png")
- [ ![moduletag.png](/forum/attachment/29534) ](/forum/attachment/29534 "moduletag.png") [ ](/forum/attachment/29534?download=1 "moduletag.png")

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

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

10 years 9 months ago [\#230394](#230394) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[Checkout login](/forum/27-checkout/882283-checkout-login#230394 "Hi,  So I have created custom html module to display logged in user name. Everything works fine except one thing.  When user goes to checkout and login throught hikashop, my module do not display logged in user name during all checkout process. Is there a way to fix it? Maybe instead using joomla I could use hikashop to display user name?  Here is the code I use:  Thanks")*

Hi,

Just want to let you know that finally I found what was giving problems. Module was set to show only for registered and menu through which this module is showing was set too to registered. As this module has no position setting to public did the trick.

Thanks

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

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