Purchase OIOpublisher now for just $47.

Take control of your ad space.

Click here to purchase

Subscribe   OIOpub Blog » Development » Article: Customer coupons are here (v2.4)

Customer coupons are here (v2.4)

Filed under: Development

The latest release of OIO sees the inclusion of customer coupon codes. You can now setup your own coupons to give to advertisers, which they can redeem when making a payment.

Here’s a break-down of what you can do with coupons:

  • create as many coupon codes as you like
  • use a fixed fee discount (eg. $10) or a percentage (eg. 25%)
  • limit codes to particular type of purchases (eg. banner ads) or even specific zone IDs
  • optionally set an expiry date for each code
  • optionally set a maximum number of usages

As well as discounts, you could also use coupons to offer free trials of certain products (by setting a discount of 100%). Make sure you start putting coupon codes to work for you!

How do I upgrade?

You can use the web installer or, if you’d prefer, download the latest files manually. A full upgrade tutorial is also available, should you need it.

Which files have changed since the previous version?

* /admin/coupons.php
* /admin/misc.php
* /include/admin.php
* /include/database.php
* /include/functions.php
* /include/install.php
* /include/settings.php
* /include/upgrade.php
* /platform/wordpress/functions.php
* /templates/core/purchase_payment.tpl
* /index.php
* /payment.php

11 Comments so far

Ariel | November 30, 2010

YAY! This is a GREAT new feature that will solve an immediate problem I’ve been having. Thanks, Simon!

elie palima | December 1, 2010

OIO publisher is the coolest plugin ever! I just upgraded today. =)

elie palima | December 1, 2010

I just found out today that v2.4 is not compatible with my blog’s theme. :-(


Dave Read | December 4, 2010

Please show how to implement coupons; everything seems okay in admin, but I don’t see any reference to “apply coupon” on the live purchase page:



Simon | December 4, 2010

The coupon code is actually visible on the payment page, not the purchase page. Once you’ve submitted a purchase, you’ll see the coupon code input along with the payment button.

elie palima | December 6, 2010

I think it’s better to put the coupon code option on the payment form instead.

Simon | December 6, 2010

The coupon code option is on the payment (checkout) form – maybe you were referring to the ad submission form instead?

I did consider both alternatives, but decided that the checkout/payment page was appropriate in this instance. It was also a practical decision, since it only affects one template (which makes it easier for users who have changed their templates to upgrade).

Ariel | December 7, 2010

Feedback: I’ve had several customers now who’ve gotten confused between “Purchase code” and “Coupon code.” It might be worth using a different word for the coupon, like “Coupon key” or something.

Simon | December 7, 2010

Yeh, that’s a good point. Coupon code is quite a common phrase (which makes me think that purchase code could actually be changed), but I’ll review it.

In the mean time, just a quick reminder that you can edit any of the text used by OIO from the “Settings -> Languages” section of the admin area. You can edit the text in english, as well as translating to other languages.

Ariel | December 7, 2010

Oh! I had no idea! I always just edit in the php templates themselves. Thanks for the tip!

john | June 17, 2011

Are we able to access the free trial option yet? I can’t seem to find it.

Leave a Comment

Name: (required)

Email: (required)