Favourite products/wish list plugin for Jekyll-Store Engine.
Adds product to the favourites list.
Args:
name
- Name of the product.Example:
JekyllStoreEngine.Actions.favourite({ name: 'bag' });
Remove product from the favourites list.
Args:
name
- Name of the product.Example:
JekyllStoreEngine.Actions.removeFromFavourites({ name: 'bag' });
The products that have been favourited.
Example output:
{
favourites: Immutable({
'Jumper': { name: 'Jumper', price: 24.30 },
'Cardigan': { name: 'Cardigan', price: 21.45 },
'Pullover': { name: 'Pullover', price: 13.90 }
})
}
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)