- Dec 29, 2023
- 1 min read
Updated: Jan 1, 2024

// For full API documentation, including code examples, visit https://wix.to/94BuAAs
import wixWindow from 'wix-window';
import {session} from 'wix-storage';
$w.onReady(function () {
	//TODO: write your page related code here...
	session.removeItem("popupPromotion")
	if (!session.getItem("popupPromotion")) {
		wixWindow.openLightbox("Announcement")
		session.setItem("popupPromotion", "yes")
	}
});Have fun!


Comments