In Virtuemart3 there is no separate login module but only the general Joomla! Login.
By clicking on the link "Create an account" users are directed to the general Joomla! registration form and not to Virtuemart's registration form. In most cases this is not desirable because the Joomla! form doesn't contain Virtuemart's shopper fields.
In order to direct users to the Virtuemart registration form from the link in the module, you can perform the following steps:
- Create a template override for the login module: Create a folder .../templates/html/mod_login and copy the file .../modules/mod_login/tmpl/default.php to this folder.
- Open the copied file and replace the following line:
<a href=″
<?php echo JRoute::_('index.php?option=com_users&view=registration'); ?>">
replace by:
<a href=″
<?php echo JRoute::_('index.php?option=com_virtuemart&view=user&layout=edit'); ?>">
From now on the "Create an account" link will take users to the Virtuemart registration page!
You won't run into problems with Joomla! updates, because this is a template override.