top of page

Forum Posts

mh91
Feb 13, 2019
In Coding with Velo
Currently getting the following errors on preview mode in Code: TypeError: Failed to fetch Publisher '' failed with error: 'Failed to fetch' TypeError: Failed to fetch Code: import wixUsers from 'wix-users'; import wixData from 'wix-data'; $w.onReady(async function () { let userEmail = await wixUsers.currentUser.getEmail() $w("#dataset1").onReady(() => { $w("#dataset1").setFilter(wixData.filter() .eq("Client", userEmail) ) }); });
0
0
212
mh91
Feb 11, 2019
In Coding with Velo
Hi there, Trying to resolve an issue i am currently having. I'd like an image (with link) to be displayed on a dynamic (member) page that is dependent on the logged in user. The link will then direct to a store page specifically made for the client. It would be preferred that the particular products are displayed to the logged in user right away, however from what I've read so far this is not possible... Code i've got so far is as follows; import wixUsers from 'wix-users'; import wixData from 'wix-data'; import wixLocation from 'wix-location'; $w.onReady(function () { $w("#dataset1").onReady( () => { wixUsers.currentUser.getEmail() .then((email) => { $w("#dataset1").setFilter(wixData.filter() .eq("email", email) ) Any help would be much appreciated.
0
0
145

mh91

More actions
bottom of page