Hey Andreas
I checked thru everything again… I don’t think there should be an issue with my permissions:
And the sandbox and live versions have all the same fields … plus the only ones I’m referring to in the code itself are _createdDate (which is automatic from Wix), plus expDate (checked this is all right) which is a calculation and works properly in the code in both preview and live… so I think my only issue is the getCurrentUser and related items, which should be what’s directing the dynamic page to each individual user
Right now, when I check on live, it’s actually directing me to a Members page with a userID that’s not associated with any member in my database – which is also confusing
Live site: grounddelivery.org
My member profile should go here: grounddelivery
But instead, if I follow the login process and click the correct buttons – which all use the following code – I end up here every time now: grounddelivery
Button code to get to MY MEMBER PROFILE:
export function accountButton_click() {
wixLocation.to(/Members/${wixUsers.currentUser.id});
}
Not sure what’s going on, so any advice you have would be great! Not sure if I need to verify the user using their email also/instead of the userID …
Let me know what you think! Thanks again!
