Custom My Account Area in 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

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
Multi-Step Event Creation Form in Wix
Create a
Multi-Step Event Creation Form in Wix. Tailored solutions to meet your business needs. Easy setup, full customization, and professional templates
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.







.webp)
