Home About Blog Terms Docs Contact

Pre-order Javascript event


Useful when you need to run custom front-end code when a product is on pre-order. PreProduct’s pre-order Javascript event can be useful in all kinds of situations.


The event will fire whenever PreProduct launches (only for products currently on pre-order).


window.addEventListener('ppJustLaunched', () => {
   //do something great here
}, false);