The Price and Credits add-on 1.7 update adds three major features:
- redeem your booking passes with a code
- give that code and pass on your booking pass to someone else
- generate PDF vouchers showing the booking pass data
Redeem a pass with a code
Until now, customers needed to be logged in and to select their booking pass in a select box in order to redeem it.
Now, you can allow your customers to redeem their pass with a code instead, whether or not they are logged in.
To enable the redeem code field, go to Booking Activities > booking forms > your form > go to the “Booking pass” field settings > turn ON the “Allow redeem code” option.
If a code is entered and a booking pass is also selected in the select box, the code will always take precedence.
Pass on a booking pass
Of course, you can give your booking pass redeem code to someone else. That person will be able to use it as stated above.
There is also an option that replaces the booking pass owner with the person who redeems its code (if logged in).
- Customer A purchases a booking pass, the booking pass belongs to Customer A.
- Customer A gives the booking pass code to Customer B.
- Customer B uses the code to make a booking.
- If Customer B was logged in or has created an account while booking, Customer B becomes the booking pass’ new owner.
- If Customer B was not logged in and has not created an account while booking, Customer A remains the booking pass’ owner.
Download PDF vouchers (gift cards)
You can download and print a physical version of your booking passes.
You will find the download link in the booking pass list (frontend and backend).
If you are selling booking passes with WooCommerce (docs), the download link will be displayed in the order summary and in the WC notifications too.
You will get a voucher-like A4 sheet where you can find the booking pass details such as its redeem code, the amount of credits, the expiration date, the valid activities, etc.
You can fully customize it with your own background image, logo, title and description, and choose the data to display.
You will find these options in the booking pass templates settings, each booking pass template can look different.
Right-To-Left languages are supported and you can use your own .tff font so that all languages should be supported.
See the languages supported by the default font here (column “sans”). If your language is not supported by the default font, you will simply need to use another font, for example you can use the Togoshi Gothic font for Japanese.
Customize booking pass lists
[bookingactivities_passes] shortcode can now be customized to filter and sort the booking passes, and to choose the columns to display.
||The desired user ID (integer),
||Filter inactive passes (allowed values:
||Filter expired (allowed values:
||IDs of the booking pass templates (integers) (comma separated).|
||Order the list by data (allowed values:
||Sorting order of the list (allowed values:
||Displayed columns (allowed values:
Here is an example how to use the attributes:
[bookingactivities_passes active="both" columns="title,redeem_code,credits,actions" order_by="active,id"]