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

Loading...

Background image

Example Code

frontend
backend

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

Wix UPS Integration: A Complete Guide for eCommerce Shipping Efficiency

Learn how to integrate UPS with Wix to streamline eCommerce shipping, automate deliveries, and boost customer satisfaction with real-time tracking.

Wix UPS Integration: A Complete Guide for eCommerce Shipping Efficiency

Wix Pipedrive Integration: The Ultimate Guide to Streamline Your Sales Funnel

Connect Wix with Pipedrive effortlessly. Streamline leads, automate workflows, and manage your CRM directly from your Wix website with Davydov Consulting.

Wix Pipedrive Integration: The Ultimate Guide to Streamline Your Sales Funnel

Wix Salesforce Integration: A Comprehensive Guide

Integrate Wix with Salesforce to automate sales, manage leads efficiently, and sync your CRM data seamlessly via Davydov Consulting.

Wix Salesforce Integration: A Comprehensive Guide

CONTACT US

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

bottom of page