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

#   Using a different Login Module

##

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

Less More

- Posts: 128
- Thank you received: 2
-
-

10 years 3 months ago [\#245951](#245951) by [sabroso](/forum/user/38789-sabroso "View sabroso's Profile")  *[Using a different Login Module](/forum/27-checkout/885664-using-a-different-login-module#245951 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.0 -- PHP version -- : 5.6  Hi there,  I replaced the login module that shows on the checkout process by removing the code in the view checkout-&gt;login&#95;form and inserting my own template position there.  I put login step as a standalone step, with no other checkout components like cart, or fields, etc  Then I assign my login module to this template position and it seems to work fine. After the user introduces it credentials then the checkout process continues normally and progresses to the next step.  My question is, even though it seems to work fine, am I breaking any Hikashop functionality or may I have other problems I am not able to see now?  The reason I do this is because with the community builder login form the user can log in via user ID or email address ( you should implement this in Hikashop since the user not always remembers the user id and the email address is easier to remember).  Many thanks")* was created by *[sabroso](/forum/user/38789-sabroso "View sabroso's Profile")*

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.0
-- PHP version -- : 5.6

Hi there,

I replaced the login module that shows on the checkout process by removing the code in the view checkout-&gt;login_form and inserting my own template position there. Code:

foreach (JModuleHelper::getModules("login_module_checkout") as $module) { echo JModuleHelper::renderModule($module); }

I put login step as a standalone step, with no other checkout components like cart, or fields, etc

Then I assign my login module to this template position and it seems to work fine. After the user introduces it credentials then the checkout process continues normally and progresses to the next step.

My question is, even though it seems to work fine, am I breaking any Hikashop functionality or may I have other problems I am not able to see now?

The reason I do this is because with the community builder login form the user can log in via user ID or email address ( you should implement this in Hikashop since the user not always remembers the user id and the email address is easier to remember).

Many thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NTY2NC11c2luZy1hLWRpZmZlcmVudC1sb2dpbi1tb2R1bGU/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86363
- Thank you received: 14297
-
-

10 years 3 months ago [\#245958](#245958) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Using a different Login Module](/forum/27-checkout/885664-using-a-different-login-module#245958 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.0 -- PHP version -- : 5.6  Hi there,  I replaced the login module that shows on the checkout process by removing the code in the view checkout-&gt;login&#95;form and inserting my own template position there.  I put login step as a standalone step, with no other checkout components like cart, or fields, etc  Then I assign my login module to this template position and it seems to work fine. After the user introduces it credentials then the checkout process continues normally and progresses to the next step.  My question is, even though it seems to work fine, am I breaking any Hikashop functionality or may I have other problems I am not able to see now?  The reason I do this is because with the community builder login form the user can log in via user ID or email address ( you should implement this in Hikashop since the user not always remembers the user id and the email address is easier to remember).  Many thanks")*

Hi,

It is already possible to use the username or the email address for the login with HikaShop (and joomla). Just install a plugin like that:
[ extensions.joomla.org/extension/email-as-username](http://extensions.joomla.org/extension/email-as-username)
[ extensions.joomla.org/extension/awo-email-login](http://extensions.joomla.org/extension/awo-email-login)

I wouldn't recommend the solution you used. The whole checkout of HikaShop is inside its own form element so if you put another login module (which has its own form), you'll have a form in a form and that's invalid in HTML documents. You're lucky that it works for you.

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

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