same email for several users

  • Posts: 267
  • Thank you received: 5
  • Hikaserial Standard
2 years 1 month ago #339277

-- HikaShop version -- : 4.4.5
-- Joomla version -- : 4.0.6
-- PHP version -- : 7.4

Hello,
My website is about courses, in some cases where parents and minor children enroll using the same email.
This is not possible in joomla I know.
But adding the + symbol to the same email and adding a differentiator, this problem would be solved.
Is there any chance in these cases, through massacctions or another method to join in the email field during registration, this differentiator?
The example would be:
This email address is being protected from spambots. You need JavaScript enabled to view it., change to familysmith+name@email.com.
Where name would be the registration name.

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 81361
  • Thank you received: 13035
  • MODERATOR
2 years 1 month ago #339279

Hi,

Well, supposing you create a custom user field for the user to enter his email address in, and some javascript code to auto fill the real email field that you would hide with CSS, it would be possible.
You would also have to rearrange the layout of the registration form to move the custom user field before the password email field because the custom user fields are normally displayed after the password field.
So it's possible but it will require a developer working a bit on it for you. Nothing complex but still a few lines of javascript, a bit of CSS and a view override.
If that's something you would like us to work on for you as a small custom development, we can give you a quote if you request it via our contact form:
www.hikashop.com/support/contact-us.html
But our partners, or any PHP/JS developer should be able to work on that too.

The following user(s) said Thank You: dvddvd

Please Log in or Create an account to join the conversation.

Time to create page: 0.054 seconds
Powered by Kunena Forum