One lightbox for paying members. Another lightbox for everyone else.

I currently have this code below. It works how I want it to other than:

when #button11 is clicked by a paying member from membership ‘Member’, the lightbox ‘1.1’ opens up.

& when #button11 is clicked by everyone else, the lightbox ‘1.2’ opens up.

import wixUsers from ‘wix-users’ ;
import wixWindow from ‘wix-window’ ;

$w . onReady ( function () {

$w ( ‘#button1’ ). onClick ( function () {

if ( wixUsers . currentUser . loggedIn ) {

wixWindow . openLightbox ( “1.1” );
}
else {

wixWindow . openLightbox ( ‘1.2’ );

}
});
});

Looking forward to seeing you guys help!

Thanks