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">...
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 ...
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 ...
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/...
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=...
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://...
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
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.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
create-account × 20magento2 × 7
customer-account × 5
magento2.3 × 4
shipping-address × 2
billing-address × 2
graphql × 2
magento-1.9 × 1
database × 1
magento2.2 × 1
customer × 1
error × 1
magento2.4 × 1
login × 1
forms × 1
magento-2.2.5 × 1
magento2.3.1 × 1
magento2.2.3 × 1
header × 1
magento2.2.4 × 1
customer-group × 1
date × 1
password × 1
ui-form × 1
toplinks × 1