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
Loading...

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
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 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.








