# Installation
Clone the repository into `~/public_html/plugins/RecentlyViewed/`:

```bash
git clone https://YOUR_BITBUCKET_ACCOUNT@bitbucket.org/mtcmedia/core-plugins-recentlyviewed.git ~/public_html/plugins/RecentlyViewed/ && rm -rf ~/public_html/plugins/RecentlyViewed/.git
```

# Usage
Include this template where you want to display recently viewed items where number is how many you want to display.

```bash
{{ recently_viewed(NUMBER)|raw }}
```

# Edit the Template
Should you wish to tailor the template make a copy of the shop/item/recently_viewed.twig file and place it in the root of your sites/YOUR_SITE/templates folder... it will then override the plugin version of the template.