Skip to main content
5 votes
Accepted

How do i add custom class to "Create account " header link and how to rename it label as "Open an Account" in magento 2

You need to add this in your default.xml file inside body tag <referenceBlock name="register-link"> <arguments> <argument name="label" xsi:type="string" translate="true">...
Kishan Savaliya's user avatar
4 votes
Accepted

Magento2.3: Undefined variable: customergroupid

Define $customergroupid this variable before if condition with NULL value, or update your file with below content <?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for ...
Kishan Savaliya's user avatar
3 votes

How do i add custom class to "Create account " header link and how to rename it label as "Open an Account" in magento 2

By default you cannot add attributes on the li element. Only on the a element inside it. But there is a workaround. you can specify to the block that renders the "create account" link a template. In ...
Marius's user avatar
  • 199k
2 votes
Accepted

Magento 2 how to add custom attribute to register form?

If your install data script successfully installed your custom attribute, now you just need to override addition information .phtml file and set your custom attribute in that. Create Vendor/TestModule/...
Mohit Patel's user avatar
  • 3,968
1 vote
Accepted

CreateCustomer mutation with customer group magento2

Try This Code app/code/VendorName/ModuleName/etc di.xml <?xml version="1.0" ?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation=...
Msquare's user avatar
  • 9,328
1 vote

Magento 2 how to add custom attribute to register form?

The layout file will be customer_account_create.xml not customer_create_account.xml And please change the content as below From: <?xml version="1.0"?> <page xmlns:xsi="http://...
Ritesh Santra's user avatar
1 vote

Customer Account Registration Form Customer Group Assign in Frontend Magento2

Here I Developed a module and you can get the total solution from here https://github.com/MageRakesh/Customer/tree/master/MageRakesh/Customer
RAKESH ROY's user avatar
1 vote
Accepted

Invalid Form Key. Please refresh the page while creating new users in Magento 2.3

I solved this issue by adding reference container content in the layout.xml file.
Kowsigan Atsayam's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible