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?

有帮助吗?

解决方案

Just Try to below code :

{{block class="Magento\Customer\Block\Form\Register"  template="Magento_Customer::form/register.phtml"}}

其他提示

it should be

{{block class="Magento\Customer\Block\Form\Register" name="custom-create"  template="Magento_Customer::form/register.phtml"}}

template path is wrong

It should be

template="Magento_Customer::form/register.phtml 

from

template="Magento_Customer/templates/form/register.phtml"
许可以下: CC-BY-SA归因
scroll top