widget - Display Login form in Cms Page in Magento 2? -
how can display login form on cms page in magento 2? want add in block. way magento 1.x
{{block type="customer/login" template="persistent/customer/form/login.phtml"}}
you can use below structure resolve problem.
syntax
{{block class="[blockclassfullname]" template="[vendorname]_[modulename]::[youttemplatefile.location].phtml"}}
example:
{{block class="magento\bannerslider\block\slideshow" template="magento_bannerslider::bannerslider.phtml"}}
code you
{{block class="magento\customer\block\form\login" template="magento_customer::form/login.phtml"}}
Comments
Post a Comment