vc-platform icon indicating copy to clipboard operation
vc-platform copied to clipboard

Email instead of username

Open tuviks opened this issue 4 years ago • 4 comments

Problem: I need only one field with email for notifications and login. It improves experience for customers and easier to register on the site.

Solution: Add setting "Use email as username". If it is true hide field UserName from registration form, set Email is required and use Email instead of UserName.

tuviks avatar May 15 '20 06:05 tuviks

Task https://virtocommerce.atlassian.net/browse/VP-2341 has been created

lnetrebskii avatar May 15 '20 06:05 lnetrebskii

@tuviks,

  • platform version not specified: v2 or v3?
  • theme(s) not specified: is it https://github.com/VirtoCommerce/vc-theme-default ?
  • alternatively, it could be implemented in a theme-only (switcher in theme settings). Could it be acceptable? Or you could change it in your custom theme as needed.

eMazeika avatar Jun 03 '20 09:06 eMazeika

@eMazeika,

  • v2 platform version, but now I'm working with v3 and maybe this issue is not actual
  • I got default theme as base
  • yes, it will be very good if we will have switcher in default theme. But in this case we should prevent changing email of user (we could hide control at UI but how we prevent directly request to api?). And we should set email as required.

P.S.: thank you for your work!

tuviks avatar Jun 03 '20 09:06 tuviks

I see it only as a UX change, but not api. @lnetrebskii , can you update the task in jira accordingly?

eMazeika avatar Jun 03 '20 09:06 eMazeika