2

My registration page is coming from path:

/app/design/frontend/Mgs/claue/Magento_Customer/templates/form/register.phtml

I am trying to load that in a CMS page. Not sure how to do that. Tried many ways but no luck. including {{block class="Magento\Customer\Block\Form\Register" name="custom-create" template="Magento_Customer/templates/form/register.phtml"}}

How to include that in CMS page?

3

Just Try to below code :

{{block class="Magento\Customer\Block\Form\Register"  template="Magento_Customer::form/register.phtml"}}
  • @H_Parekh, how your answer was different than the answer of Amit Bera? – Dinesh Yadav Jun 7 '18 at 11:52
1

it should be

{{block class="Magento\Customer\Block\Form\Register" name="custom-create"  template="Magento_Customer::form/register.phtml"}}
  • how your answer was different than the answer of Amit Bera? – Dinesh Yadav Jun 7 '18 at 11:53
  • I think you have missed the added time. All 3 added almost same time, 1st Parekh but with a minor mistake (that was edited later), 2nd me, 3rd Amit – Sandipan S Jun 8 '18 at 5:03
1

template path is wrong

It should be

template="Magento_Customer::form/register.phtml 

from

template="Magento_Customer/templates/form/register.phtml"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.