top of page
davydov consulting logo

Custom My Account Area in Wix

Custom My Account area in Wix

Wix Custom Account Area Integration | Custom Registration on Wix

Velo Code Solution

Developing a new area for my account with a custom registration process completely independent of Wix account with a custom form, custom sign in, custom pages, custom email notifications build above wix member database with encrypted passwords.


Setting up a Custom My Account on Wix


  • Login window can be placed on page, on lightbox and virtually anywhere on site.

  • It is possible to log every customer sign in into log dataset and set desired action on it if needed.

  • It is possible to show customer new products added since their last login with system comparing the time product has been added with time this customer last log in.

  • Custom email notifications.

  • Option to add 2FA/MFA with text message on every sign in.

  • Option to set timer to log user out.


If you want to add a my account area on Wix, please contact us.

Tools

Wix Velo API

Background image

Example Code

import { getCurrentMember } from 'backend/permissions';


import { getUser, getStud, getTeach } from 'backend/Users'


$w.onReady(function () {


 init()


});


async function init() {


 const member = await getCurrentMember()


 let curUser = await getUser(member._id)


 let curProp, fullName


 if (curUser.role == "Student") {


   let curStud = await getStud(member._id)


   try {


     fullName = curStud.fullName.split(" ")


   } catch {


     fullName = []


   }


   $w("#input1").value = fullName[0] || ""


   $w("#input2").value = fullName[1] || ""


   $w("#input3").value = curStud.title || ""


   $w("#input4").value = curStud.phone || ""


   $w("#input5").value = curStud.address || ""


   curProp = curStud


 } else if (curUser.role == "Teacher") {


   let curTeach = await getTeach(member._id)


   try {


     fullName = curTeach.fullName.split(" ")


   } catch {


     fullName = []


   }


   $w("#input1").value = fullName[0] || ""


   $w("#input2").value = fullName[1] || ""


   $w("#input3").value = curTeach.title || ""


   $w("#input4").value = curTeach.phone || ""


   $w("#input5").value = curTeach.address || ""


   curProp = curTeach


 } else {


   try {


     fullName = curUser.fullName.split(" ")


   } catch {


     fullName = []


   }


   $w("#input1").value = fullName[0] || ""


   $w("#input2").value = fullName[1] || ""


   $w("#input3").value = curUser.title || ""


   $w("#input4").value = curUser.phone || ""


   $w("#input5").value = curUser.address || ""


   curProp = curUser


 }


}

More Velo Integrations

Search filter for CMS in Wix

Integration of Search filter with your Wix database CMS improve your site's functionality and user engagement with a customized search feature. Learn how to add and utilize the wixSearch module, refine search results of your CMS, and effectively display them on your site.

Search filter for CMS in Wix

Wix and Xero Integration: An In-depth Tutorial

Integrate Wix with Xero for automated accounting. Sync invoices, track payments, and simplify financial management for your online business.

Wix and Xero Integration: An In-depth Tutorial

Wix Google Cloud Platform Integration: A Comprehensive Guide

Explore how to integrate Google Cloud Platform with Wix to leverage APIs, cloud storage, and scalable backend services for your website.

Wix Google Cloud Platform Integration: A Comprehensive Guide

CONTACT US

​Thanks for reaching out. Some one will reach out to you shortly.

bottom of page