Appointment Hour Booking Blog

The easy way to create powerful booking forms for WordPress websites.

Blog / Using the coupon codes add-on in the Appointment Hour Booking plugin.

Using the coupon codes add-on in the Appointment Hour Booking plugin.

The Appointment Hour booking plugin has a coupons / discounts code add-on, this way you can give the users coupon codes to apply discounts over the prices setup in the calendar.

The first step to get this feature is to enable the coupons code add-on:

enabling coupon codes add-on

With the add-on enabled go to edit the form settings and into the "Add-ons" step you will see the following section to add/remove coupon codes:

adding coupon codes

For each coupon code you have the following settings fields:

  • Code: The coupon code, it can be an alphanumeric string.

  • Discount: The discount amount or percent.

  • Type: The type of discount, it can be a "Fixed" amount or a "Percent" of the price calculated in the calendar.

  • Can be used: Number of times the discount code can be used. A coupon code can be setup to be used unlimited times or be setup to be used a maximum number of times. For example select "1" for a one-time coupon code.

  • Valid until: The coupon code will be valid until the date specified into this settings field.

In the list of coupon codes contains also the "Used so far" column that indicates the number of times the coupon codes have been used so far.

The coupon codes can be set for each form, this way you can have multiple booking forms each one with their own coupon codes.

After the submission the discounted price will be displayed in the payment gateway selected if any. In addition to that you can use the following tags into the confirmation / notification emails to add the related into into the emails:

  • %coupon% : Coupon code

  • %discount_applied% : Amount or percent discount applied

  • %original_price% : Original price before discount

  • %final_price% : Price after discount

The "Coupon code" field in the public form will appear automatically if there is some coupon code added for the booking form:

booking form with coupon discounts

Feedback about these features will be welcome, feel free to open a support ticket for any question.