Appearance
Scope "wishlists" events
Blade will send some small payloads to the bus whenever a frontend User will be able to "add" or "remove" items from his/her Wishlists.
onWishlistAdd
Fired whenever a "item" (or a "product") will successfully added to a Wishlist.
Let's review an example:
js
{
"product_id": "17969",
"product_sku": "GU.W0647L6",
"product_name": "OROLOGIO GUESS CHELSEA - GU.W0647L6",
"wishlist_name": "Regali Genitori"
}
Variables full details
Here you can find a detailed description of each variable or sub-branch:
Var | Type | Description |
---|---|---|
product_id | string/int | Unique product id |
product_sku | string | Unique product SKU |
product_name | string | Contextual product name |
wishlist_name | string | Customer's wishlist name |
onWishlistRemove
Fired whenever a "item" (or a "product") will successfully deleted from a Wishlist.
Let's review an example:
js
{
"product_id": "17969",
"product_sku": "GU.W0647L6",
"product_name": "OROLOGIO GUESS CHELSEA - GU.W0647L6",
"wishlist_name": "Regali Genitori"
}
Variables full details
Here you can find a detailed description of each variable or sub-branch:
Var | Type | Description |
---|---|---|
product_id | string/int | Unique product id |
product_sku | string | Unique product SKU |
product_name | string | Contextual product name |
wishlist_name | string | Customer's wishlist name |