Recently Visited plugin for Jekyll-Store Engine
npm install jekyll-store-visitedname - Name of the product.
javascript
JekyllStoreEngine.Actions.visit({ name: 'bag' });
`
$3
Set the limit for the number of products in visited list.
Args:
* limit
Example:
`javascript
JekyllStoreEngine.Actions.setVisitedLimit({ limit: 5 });
`
VisitedStore
The products that have been visited recently.
Example output:
`javascript
{
visited: Immutable({
{ name: 'Jumper', price: 24.30 }),
{ name: 'Cardigan', price: 21.45 }),
{ name: 'Pullover', price: 13.90 })
})
}
`
Contributing
1. Fork it
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature`)