Hi everyone, I stucked at one thing. If anyone can help it would be great.
I created new child theme, put Magento_Theme folder and customized templates successfully. But all customer pages such as registration are not changed, it has main theme styles and lyout. So I crated Magento_Customer folder in child theme and created files:
And still there is no changes, register.phtml still loads from
Magento ver is 2.2.1
Is there any block of your child theme being loaded?
Is you store in developer mode?
Can you share your theme configuration and the theme xml?
Im experiencing the same issue I went through all files 1000 times to find out why this is happening. For some reason magento 2 enterprise does not pull the html file from where you would assume magenta-customer but rather from here module-customer-custom-attributes/view/frontend/templates/customer/form/register.phtml.
Can anybody explain why this is the case?
I actually found the reason but not explanation. Can somebody clarify why this has been done.
<argument name="template" xsi:type="string">Magento_CustomerCustomAttributes::/customer/form/register.phtml</argument>
@drunkenrobot Reason behind Magento 2 Enterprise uses, Registration page come from Magento Customer Custom Attribut
Magento 2 EE supports Default Customer Attribute and Customer Address Attribute value where Magento Community(Open Source) doesn't support defafult customer Attribute and Customer Address Attribute section.
If Any user create customer attribute from backend,
Stores -> Configuration -> Attributes -> Customer
All the newly created customer attribute will be come from,
So For Magento Commerce Only registration page coming from above module.
Excellent answer Rakesh thank you I need to brush up on magento 2 ee. Also can't really accept as solution because its not my post. Thank you very much and Cheers!
No, Magento EE always takes module-customer-custom-attribute module for registration page.
Because There are many default Magento customer attribute inbuilt with magento. Like prefix,first name,last name,email,dob.
So Always registration page coming from module-customer-custom-attribute module whether you create new custom customer attribute or not.