make popup show once a day

cwdesign98
Shopify Partner
9 0 3

how would i make this pop up show only once a day?

cwdesign98_0-1698690248107.png

 

Replies 4 (4)

gr_trading
Shopify Partner
1577 138 168

Yes, can be done create a cookie on load which will expire in 24 hours.

 

Check availability of cookie using script.

 

Hope this will help...

For any custom development WhatsApp or connect at Email ID: gr.trading15@gmail.com for quick consultation. | YouTube Videos
To support Buy Me a Coffee
cwdesign98
Shopify Partner
9 0 3

hi thanks for responding but how would i create a cookie that would expire in 24 hours?

gr_trading
Shopify Partner
1577 138 168

Please refer to the below URL for detailed information.

 

https://github.com/js-cookie/js-cookie

For any custom development WhatsApp or connect at Email ID: gr.trading15@gmail.com for quick consultation. | YouTube Videos
To support Buy Me a Coffee
cwdesign98
Shopify Partner
9 0 3
Thank you!