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

#   How to suppress the reset password message / option on checkout?

##

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

Less More

- Posts: 16
- Thank you received: 2
-
-

6 years 7 months ago -  6 years 7 months ago [\#316610](#316610) by [bartuelen](/forum/user/18336-bartuelen "View bartuelen's Profile")  *[How to suppress the reset password message / option on checkout?](/forum/27-checkout/899345-how-to-suppress-the-reset-password-message-option-on-checkout#316610 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.15 -- PHP version -- : 7.2.27 -- Browser(s) name and version -- : Chrome  On the checkout using a email address that is also registered with a Joomla user I get the message &quot;Email address already used&quot; and also the message to reset your password. The first message is OK. Chance that someone uses one of the Joomla email addresses should not be a problem. Will be blocked anyway.  But the second message to reset the password is totally unwanted. The link leads to a reset your password Joomla page. Where can I totally suppress the  tag so it will not lead to the reset your password page?  NOTE: The constant PLEASE&#95;CLICK&#95;HERE&#95;TO&#95;RESET&#95;PASSWORD has been emptied in the language override.  See also the attached screenshot which shows the  tag in the &quot;Inspect developer tools console&quot;.")* was created by *[bartuelen](/forum/user/18336-bartuelen "View bartuelen's Profile")*

-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.15
-- PHP version -- : 7.2.27
-- Browser(s) name and version -- : Chrome

On the checkout using a email address that is also registered with a Joomla user I get the message "Email address already used" and also the message to reset your password.
The first message is OK. Chance that someone uses one of the Joomla email addresses should not be a problem. Will be blocked anyway.

But the second message to reset the password is totally unwanted. The link leads to a reset your password Joomla page.
Where can I totally suppress the &lt;a&gt; tag so it will not lead to the reset your password page?

NOTE: The constant PLEASE_CLICK_HERE_TO_RESET_PASSWORD has been emptied in the language override.

See also the attached screenshot which shows the &lt;a&gt; tag in the "Inspect developer tools console".

- [ ![reset&#95;password&#95;on&#95;checkout&#95;message.PNG](/forum/attachment/48900) ](/forum/attachment/48900 "...ut&#95;message.PNG") [ ](/forum/attachment/48900?download=1 "...ut&#95;message.PNG")

Last edit: 6 years 7 months ago by [bartuelen](/forum/user/18336-bartuelen "View bartuelen's Profile").

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

6 years 7 months ago [\#316611](#316611) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to suppress the reset password message / option on checkout?](/forum/27-checkout/899345-how-to-suppress-the-reset-password-message-option-on-checkout#316611 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.15 -- PHP version -- : 7.2.27 -- Browser(s) name and version -- : Chrome  On the checkout using a email address that is also registered with a Joomla user I get the message &quot;Email address already used&quot; and also the message to reset your password. The first message is OK. Chance that someone uses one of the Joomla email addresses should not be a problem. Will be blocked anyway.  But the second message to reset the password is totally unwanted. The link leads to a reset your password Joomla page. Where can I totally suppress the  tag so it will not lead to the reset your password page?  NOTE: The constant PLEASE&#95;CLICK&#95;HERE&#95;TO&#95;RESET&#95;PASSWORD has been emptied in the language override.  See also the attached screenshot which shows the  tag in the &quot;Inspect developer tools console&quot;.")*

Hi,

To remove that, you would have to remove the line: Code:

$ret['messages'][] = array('&lt;a href="'.$reset_url.'"&gt;'.JText::_('PLEASE_CLICK_HERE_TO_RESET_PASSWORD').'&lt;/a&gt;', 'warning');

from the file administrator/components/com_hikashop/classes/user.php
Note that you'll loose that change when you update your HikaShop in the future so you'll have to redo it.

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

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

[](#top)
