fdk-notify
You are reading an outdated document
Get the latest developer guides on Fynd Partners Help
This action component is used to create a notify *me*** buttons, this can be used when the product is out of stock and when it is back in stock the user get the alert about the product is in stock again.
Props
Key | Type | Description |
---|---|---|
notifyProduct | function | this function is called to set the alert whenever the out of stock product get back in stock. Product uid is passed as parameter in this function |
Example
<fdk-notify>
<template slot-scope="notifyData">
<div @click="notifyData.notifyProduct(product.uid)">
//code
</div>
</template
</fdk-notify>