Dynamic Content filtered by logged in user (not owner)

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.