# Dispensary Coupons, a WP Dispensary add-on

The Dispensary Coupons plugin is an official add-on for the [WP Dispensary](https://www.wpdispensary.com) menu management plugin.

With this plugin installed, you can add coupons to your website and show them off via the included shortcode and widget.

This plugin also extends the [eCommerce](https://www.wpdispensary.com/product/ecommerce/) add-on for WP Dispensary, allowing customers to use the coupon codes when placing orders.

## Requirements

Dispensary Coupons was built with the [WP Dispensary](https://www.wpdispensary.com) plugin to be installed and activated in order utilize the added functionality for websites that are running the WPD plugin.

## Shortcode

You can display your dispensary coupons by adding the following shortcode:

`[wpd-coupons]`

Here is the shortcode with all options included:

`[wpd-coupons limit="5" image="yes" imagesize="medium" title="yes" couponexp="yes" details="yes" products="yes"]`

If you'd like to hide any of the included details, you can change **yes** to **no** in the shortcode attributes from the above example.

## Widget

You can also display your coupons by adding the included Dispensary Coupons widget to your sidebar, as seen in the example screenshots below.

## Contribute

Want to help this plugin get better? Issues and pull requests are more than welcomed :)

## Screenshots

### Dispensary Coupons in the dashboard menu

![Post Type](http://www.robertdevore.com/wp-content/uploads/2016/04/screenshot-1.jpg)

### An example of how the widget displays the coupons

![Widget Display](http://www.robertdevore.com/wp-content/uploads/2016/04/screenshot-2.jpg)

### The widget editor in the WordPress dashboard

![Widget Editor](http://www.robertdevore.com/wp-content/uploads/2016/04/screenshot-3.jpg)

### Metaboxes on the Dispensary Coupon editor screen

![WPD Metaboxes](http://www.wpdispensary.com/wp-content/uploads/2016/04/screenshot-4.jpg)

## Changelog

[view CHANGELOG.md](https://github.com/wpdispensary/dispensary-coupons/blob/master/CHANGELOG.md)
