-- HikaShop version -- : 3.0.1
-- HikaMarket version -- : 1.7.3
-- Joomla version -- : 3.6.5
-- PHP version -- : 7.0.10
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : none
Hi
I'm trying to find out how to make the vendor registration page more simple. I would like to:
1. Remove the Re-type password
(Conversion rate is lower, when using confirm password)
2. Remove the 'register_name' (HIKA_USER_NAME) or hide it as hidden input and set it equal to my custom 'address_fullname' field.
I'm trying to achieve this in template override /vendormarket/registration.php
How to do this?
Use jQuery to set and manipulate fields or change other file or plugin?
1. Could be solved in this way?:
.....
defined('_JEXEC') or die('Restricted access');
?>
<script>
jQuery(function () {
jQuery('#register_password').bind("keyup", function() {
var val = jQuery(this).val();
jQuery('#register_password2').val(val);
});
jQuery('#address_fullname').bind("keyup", function() {
var val = jQuery(this).val();
jQuery('#register_name').val(val);
});
});
</script>
.....
<dd class="hikamarket_registration_password_line">
<input type="password" id="register_password" name="data[register][password]" value="" class="inputbox required validate-password"/><span class="hikashop_field_required">*</span>
<input type="hidden" id="register_password2" name="data[register][password2]" value="" class="inputbox required validate-passverify"/>
</dd>
Best regards,
Henrik