Setup

To use the BackInStockNotifications API, install the @wix/ecom package using npm or Yarn:

Copy

or

Copy

Then import { backInStockNotifications } from @wix/ecom:

Copy
Did this help?