cancel
Showing results for 
Search instead for 
Did you mean: 

Message on Registration Page

Message on Registration Page

Hello,

 

Please see attached.  Using Magento 2.2.1.  How to I add a message next to the Create An Account Button.  I couldn't find a way in Create.php.  Thanks.  message_on_registration_page.jpg

4 REPLIES 4

Re: Message on Registration Page

Hi @Sheba,

 

Maybe you'll find this link useful: https://devdocs.magento.com/guides/v2.1/frontend-dev-guide/layouts/xml-manage.html

 

There you'll see how to add a new block or how to modify or rearrange a block.

Re: Message on Registration Page

You need to override template file from core module to your module,

core path is,

vendor/magento/module-customer/view/frontend/templates/form/register.phtml

Your theme override path is,

app/design/frontend/Vendor/themename/Magento_Customer/templates/form/register.phtml

Now you can add your text after Create an Account button tag.

If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

Re: Message on Registration Page

Thanks, seems too complicated. Please tell me where the "Create Account"
button is, and I'll modify that file.

Re: Message on Registration Page

In registration.php file find button tag and inside button tag create an account text is available. You can add textbafter button tag
If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial