When a product is out of stock, the Zid system allows customers to provide their contact information to be notified when the product is back in stock.The following snippet demonstrates how to implement the product restock notification form when the product is unavailable.
The following information needs to be submitted to zid.store.product.setAvailabilityNotificationEmail:
Product ID (required)
Customer Name (required)
Customer Email (required)
Customer Mobile (optional)
Upon successful submission, the system will monitor the product's availability and send a notification to the customer when the product is back in stock.