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

```bash
git clone https://YOUR_BITBUCKET_ACCOUNT@bitbucket.org/mtcmedia/core-plugins-customers-also-viewed.git ~/public_html/plugins/CustomersAlsoViewed/ && rm -rf ~/public_html/plugins/CustomersAlsoViewed/.git
```

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

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

# Edit the Template
Should you wish to tailor the template make a copy of the shop/item/customers_also_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.