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

#   Registration customization and decoupling from login - a module as a new option

##

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

Less More

- Posts: 86
- Thank you received: 5
-
-

4 years 2 days ago [\#346897](#346897) by [Giuse](/forum/user/59190-giuse "View Giuse's Profile")  *[Registration customization and decoupling from login - a module as a new option](/forum/27-checkout/905422-registration-customization-and-decoupling-from-login-a-module-as-a-new-option#346897 "-- HikaShop version -- : 4.7.0 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4  Hi, currently in the definition of the checkout process, when the login module is added as a step, automatically the Hika registration form is added, but many sites (like mine) have custom registration form, for example if a CCK is used (Seblod, Flexicontent and so on) so instead of the Hika registration, the user should be directed to the specific registration form of the site. Currently this is possible only by overriding the checkout/show&#95;block&#95;login.php but it would be very convenient if there was a configuration option in the login step of the checkout process to select a Joomla module instead of the Hika registration. Since it must work also in a multilingual shop, one option might be to specify the module position (so that multiple modules can be assigned to that position depending on the language) to be used instead of the module id that cannot be a single value. So in the just a  line would do what needed, making the registration step much more flexible. Can it be added in the next update? thanks a lot!  Giuse")* was created by *[Giuse](/forum/user/59190-giuse "View Giuse's Profile")*

-- HikaShop version -- : 4.7.0
-- Joomla version -- : 3.10.11
-- PHP version -- : 7.4

Hi, currently in the definition of the checkout process, when the login module is added as a step, automatically the Hika registration form is added, but many sites (like mine) have custom registration form, for example if a CCK is used (Seblod, Flexicontent and so on) so instead of the Hika registration, the user should be directed to the specific registration form of the site.
Currently this is possible only by overriding the *checkout/show\_block\_login.php* but it would be very convenient if there was a configuration option in the login step of the checkout process to select a Joomla module instead of the Hika registration. Since it must work also in a multilingual shop, one option might be to specify the module position (so that multiple modules can be assigned to that position depending on the language) to be used instead of the module id that cannot be a single value.
So in the Code:

show_block_login.php

just a Code:

&lt;?php echo JHtml::_('content.prepare', '{loadposition &lt;position&gt;}'); ?&gt;

line would do what needed, making the registration step much more flexible.
Can it be added in the next update?
thanks a lot!

Giuse

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwNTQyMi1yZWdpc3RyYXRpb24tY3VzdG9taXphdGlvbi1hbmQtZGVjb3VwbGluZy1mcm9tLWxvZ2luLWEtbW9kdWxlLWFzLWEtbmV3LW9wdGlvbj90bXBsPW1hcmtkb3du) 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: 86584
- Thank you received: 14325
-
-

4 years 1 day ago [\#346906](#346906) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Registration customization and decoupling from login - a module as a new option](/forum/27-checkout/905422-registration-customization-and-decoupling-from-login-a-module-as-a-new-option#346906 "-- HikaShop version -- : 4.7.0 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4  Hi, currently in the definition of the checkout process, when the login module is added as a step, automatically the Hika registration form is added, but many sites (like mine) have custom registration form, for example if a CCK is used (Seblod, Flexicontent and so on) so instead of the Hika registration, the user should be directed to the specific registration form of the site. Currently this is possible only by overriding the checkout/show&#95;block&#95;login.php but it would be very convenient if there was a configuration option in the login step of the checkout process to select a Joomla module instead of the Hika registration. Since it must work also in a multilingual shop, one option might be to specify the module position (so that multiple modules can be assigned to that position depending on the language) to be used instead of the module id that cannot be a single value. So in the just a  line would do what needed, making the registration step much more flexible. Can it be added in the next update? thanks a lot!  Giuse")*

Hi,

This is not possible. Any module with a form tag in it wouldn't work properly.
Also, the position of the tag needs to be added the XML of the template. It's the job of the template, and components are not supposed to add extra positions in there. Also, different templates will have different positions available so we can't choose one name used by some as it won't be used by others.

I agree with you that it would be great to have a simpler solution here.
Maybe we could have an extra option in the "login" block of the checkout workflow which would be a text area with the label "override registration with custom HTML" so that the merchant could enter directly the HTML he wants to be added instead of the registration form, or a translation key which would then contain the HTML in the translation override (basically something similar to the "Text" block of the checkout workflow, but to replace the registration form.
What do you think ?

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

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

Less More

- Posts: 86
- Thank you received: 5
-
-

4 years 1 day ago [\#346930](#346930) by [Giuse](/forum/user/59190-giuse "View Giuse's Profile")  Replied by *[Giuse](/forum/user/59190-giuse "View Giuse's Profile")* on topic *[Registration customization and decoupling from login - a module as a new option](/forum/27-checkout/905422-registration-customization-and-decoupling-from-login-a-module-as-a-new-option#346930 "-- HikaShop version -- : 4.7.0 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4  Hi, currently in the definition of the checkout process, when the login module is added as a step, automatically the Hika registration form is added, but many sites (like mine) have custom registration form, for example if a CCK is used (Seblod, Flexicontent and so on) so instead of the Hika registration, the user should be directed to the specific registration form of the site. Currently this is possible only by overriding the checkout/show&#95;block&#95;login.php but it would be very convenient if there was a configuration option in the login step of the checkout process to select a Joomla module instead of the Hika registration. Since it must work also in a multilingual shop, one option might be to specify the module position (so that multiple modules can be assigned to that position depending on the language) to be used instead of the module id that cannot be a single value. So in the just a  line would do what needed, making the registration step much more flexible. Can it be added in the next update? thanks a lot!  Giuse")*

Hi Nicolas, yes, the translation key overriding the Hika registration form is a good idea, so that it works in a multilanguage shop. Also the green "Continue" button (together with the form) must be skipped when the override is used.
Thanks! Waiting for seeing it live ![;)](/media/kunena/emoticons/24.png ";)")
cheers

Giuse

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

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

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