-- HikaShop version -- : 2.3.4
-- Joomla version -- : 2.5.27
-- PHP version -- : 5.4.31
Hi,
On the site people can fill in a registration form. There are several fields (custom user/address fields).
Most of them are required and just a couple are optional fields.
Most of the time we get the registration fine (in all three languages).
But what's happening sometimes is that we get the registration mail and except for the username, name and email field, all the rest are empty. Even the required custom fields!
Let's start with the registration form. (menu: HikaShop » Registration form)
In the picture below, you see on the
left a mail that is
good and on the
right a mail with the
info missing.
The mail left was a registration that I did and the mail on the right was one of the customers.
Here are the settings from the hikashop configuration:
Since I upgraded from Hikashop 2.1.3, could it be that there is a problem with the view?
I only commented out the part so that the username was not required.
This is the code on the top part of the file (user / registration.php):
<tr class="hikashop_registration_name_line">
<td class="key">
<label id="namemsg" for="register_name">
<?php echo JText::_( 'HIKA_USER_NAME' ); ?>
</label>
</td>
<td>
<input type="text" name="data[register][name]" id="register_name" value="<?php echo $this->escape($this->mainUser->get( 'name' ));?>" class="inputbox required" maxlength="50" /> *
</td>
</tr>
And this is the part below in the file:
<tr class="hikashop_registration_required_info_line">
<td colspan="2" height="40">
<?php echo JText::_( 'HIKA_REGISTER_REQUIRED' ); ?>
</td>
</tr>
I’m just mentioning this so you have as much as possible info about why sometimes we get a mail without all the fields filled, while they are required.
One client said that they filled in the required fields which would be logical otherwise you can’t send the form but still strange that some fields in the mails were empty.
Thanks in advance.
Greets