Hi ict,
I was browsing how to have a lightbox appear based on Member Status, and i found your post.
If you still need help. Believe the right code is
// API Reference: Introduction - Velo API Reference - Wix.com
// “Hello, World!” Example: Velo Learning Center
//no need for brackets in wixWindow
import wixWindow from ‘wix-window’ ;
$w . onReady ( function () {
});
// select the button you want the lightbox to appear. On the Event Handlers select, onClick()
export function button39_click ( event ) {
wixWindow . openLightbox ( “LightBoxName” );
}
Hope this helps, it worked for me.