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

#   Misleading "next" button during registration of new user

##

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

Less More

- Posts: 2
- Thank you received: 0
-
-

5 years 2 weeks ago [\#336855](#336855) by [tomerik1972](/forum/user/62283-tomerik1972 "View tomerik1972's Profile")  *[Misleading "next" button during registration of new user](/forum/33-customers/903430-misleading-next-button-during-registration-of-new-user#336855 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.10.3 -- PHP version -- : 7.4 -- Browser(s) name and version -- : Firefox  When a new user is created, one of the steps is to verify the registered e-mail. In the particular notification view telling the user to check his email and verify by clicking the link, there is a &quot;next&quot; button. This button is rather confusing and leads back to the blank registration view. Is there a simple method to remove this button?")* was created by *[tomerik1972](/forum/user/62283-tomerik1972 "View tomerik1972's Profile")*

-- HikaShop version -- : 4.4.4
-- Joomla version -- : 3.10.3
-- PHP version -- : 7.4
-- Browser(s) name and version -- : Firefox

When a new user is created, one of the steps is to verify the registered e-mail. In the particular notification view telling the user to check his email and verify by clicking the link, there is a "next" button. This button is rather confusing and leads back to the blank registration view. Is there a simple method to remove this button?

- [ ![Screenshot2021-11-07at09.11.21.png](/forum/attachment/53825) ](/forum/attachment/53825 "...at09.11.21.png") [ ](/forum/attachment/53825?download=1 "...at09.11.21.png")

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

5 years 2 weeks ago [\#336862](#336862) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Misleading "next" button during registration of new user](/forum/33-customers/903430-misleading-next-button-during-registration-of-new-user#336862 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.10.3 -- PHP version -- : 7.4 -- Browser(s) name and version -- : Firefox  When a new user is created, one of the steps is to verify the registered e-mail. In the particular notification view telling the user to check his email and verify by clicking the link, there is a &quot;next&quot; button. This button is rather confusing and leads back to the blank registration view. Is there a simple method to remove this button?")*

Hi,

There is no easy way because if you hide it with CSS, it will hide it for other steps too which would prevent your users from moving forward during their checkout.
But I think we can work on something to redirect to the normal activation page.
Try to change the code: Code:

if(!empty($ret['messages'])) { foreach($ret['messages'] as $k =&gt; $msg) { $checkoutHelper-&gt;addMessage('login.'.$k, $msg); } } // Hide registration form and display account validation message. $content['params']['registration'] = false; $content['params']['show_login'] = false; $content['params']['waiting_validation'] = true;

to: Code:

$redirect = $config-&gt;get('redirect_to_activation_page', 1); if($redirect) { // display messages through Joomla and then redirect to the activation page $app = JFactory::getApplication(); if(!empty($ret['messages'])) { foreach($ret['messages'] as $msg) { if(is_string($msg)) $app-&gt;enqueueMessage($msg); else if(is_array($msg) &amp;&amp; count($msg) == 2) $app-&gt;enqueueMessage($msg[0], $msg[1]); } } $app-&gt;enqueueMessage(JText::_('WHEN_CLICKING_ACTIVATION')); $lang = JFactory::getLanguage(); $locale = strtolower(substr($lang-&gt;get('tag'), 0, 2)); global $Itemid; $url_itemid = ''; if(!empty($menu_id)) $url_itemid = '&amp;Itemid=' . $menu_id; $app-&gt;redirect(hikashop_completeLink('checkout&amp;task=activate_page&amp;lang='.$locale.$url_itemid,false,true)); } else { // Hide registration form and display account validation message if(!empty($ret['messages'])) { foreach($ret['messages'] as $k =&gt; $msg) { $checkoutHelper-&gt;addMessage('login.'.$k, $msg); } } $content['params']['registration'] = false; $content['params']['show_login'] = false; $content['params']['waiting_validation'] = true; }

in the file administrator/components/com_hikashop/helpers/checkout/login.php
That way, you should see the user activation message on another page than the checkout, and thus without the buttons.

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

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