3

Create a module named Vendor_Module. Create all the files and structure like below: Step 1: app/code/Vendor/Module/registration.php <?php \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\ComponentRegistrar::MODULE, 'Vendor_Module', __DIR__ ); Step 2: app/code/Vendor/Module/etc/module.xml <?...


2

There is also available a way how to get to know a template location. These are template path hints. A page with enabled template path hints will look like: Template path hints can be enabled/disabled in Magento backend: Stores->Settings->Configuration->Advanced->Developer->Debug section


2

you can not find any files related to it because now this section unused, this section allow yourself or developer to add new content or block to this position. To add new block to this section you can create new xml file name customer_account_create.xml : <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:...


2

In your case the second attribute isn't installed in magento table, since because InstallData.php and InstallSchema.php will trigger when the module is installed. So the second time after you modified your InstallData.php for second attribute the file won't trigger out there. Magento 2 has a feature of UpgradeData.php and there we have to define our module ...


2

You can check customer is logged in or not using below code in your custom module js require(['jquery', 'Magento_Customer/js/model/customer'],function($, customer){ jQuery(document).ready(function(){ var timer = setInterval(function(){ if(customer.isLoggedIn()){ //Customer logged in } else { ...


2

Use below code for check user login or no protected $_session; protected $_context; protected $objectManager; public function __construct( \Magento\Customer\Model\Session $session, \Magento\Framework\View\Element\Template\Context $context ) { parent::__construct($context); $this->objectManager = $context->getObjectManager(); } ...


2

From my experience this kind of error is related to a recursive method that it calls upon itself in an infinite loop. I would suggest to check the newest changes made to the project or the latest modules installed.


2

This is just a guess, but maybe the problem is the space in your events.xml file? It should be: Namespace\Module\Observer\SendMailToAdmin instead of: Namespace\Module \Observer\SendMailToAdmin <event name="customer_register_success"> <observer name="sendmail_toadmin" instance="Namespace\Module\Observer\SendMailToAdmin"/> </event> ...


1

I think there is some leakage in your Magento instance. So, you have identified from which URL this fake registration and then apply your fixation. let's create plugins on below classes and add the debugger to every plugin and check $_REQUEST value for tracking from URLs this issue happen. Magento\Customer\Model\AccountManagement Magento\Customer\Model\...


1

Custom Captcha (with some complex algorithm) is best option for you as you don't want to integrate OTP functionality in registration page. There is also one option if you know the email domains which are registered as a fake customer as per your screenshot is mail.ru, for this you need to add some custom code in your customer create controller class, for ...


1

If you want to avoid fake registration. Put OTP verification by mobile or email. That is the best way, because who is genuine that user only verifies their number.


1

As we can see, when clicking Create an Account button, the page will not redirect to the customer/account/create page directly, the checkout/account/delegateCreate will be taken first. delegateCreate will create the session data. That's important. The session data needs to be generated. Success Page > Click Create an account button (generate the session ...


1

@somutesting Kindly follow this solution How to Add New Fields on Registration page in magento2? Hope this will give you solution.


1

Extend name.phtml file in your theme as below and add letters-only validation:- app\design\frontend\VendorName\themename\Magento_Customer\templates\widget\name.phtml First Name:- <input type="text" id="<?= $block->escapeHtmlAttr($block->getFieldId('firstname')) ?>" name="<?= $block->escapeHtmlAttr($block->...


1

I have fixed my issue with below solution:- Extend name.phtml file in your theme as below and add "letters-only" validation:- app\design\frontend\VendorName\themename\Magento_Customer\templates\widget\name.phtml First Name:- <input type="text" id="<?= $block->escapeHtmlAttr($block->getFieldId('firstname')) ?>" name="<...


1

Magento 2 First name and Last name is default customer entity available in Native Magento. Once you install Magento 2, Customer first name and last name attribute available. Firstname and Lastname attribute available with Customer and Customer_address entity type. customer entity type contains attribute used for registration page and customer form ...


1

all you need to do is add new js using requirejs-config.js. But I created a new module. Module files are as below. app\code\Vky\Core\registration.php <?php \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\ComponentRegistrar::MODULE, 'Vky_Core', __DIR__ ); app\code\Vky\Core\etc\module.xml <?xml ...


1

You can use following code in your observer which will observe event customer_register_success Mage::app()->getResponse()->setRedirect('frontname/controller/action'); Mage::app()->getResponse()->sendResponse(); For redirecting back to home page you can use following in you form's submit controller you can use following code ; $this->...


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