This is a free plugin that allows you to sell access to premium quizzes through Woocommerce. You need also WatuPRO and the Intelligence module.
See also our bridge for EDD.
Once downloaded, install and activate it. Then here is how to use it:
- Create some paid quiz(zes)
- Add them as WooCommerce products (details below)
- Set up redirect after payment, if you wish
- Control the behavior of the quiz page if visited directly before payment (details below)
How To Add your quizzes as products in Woocommerce
Name them any way you want, give any price you want. Make them downloadable products so Woocommerce will automatically mark orders completed on payment (this is fairly important!). The price given in Woocommerce does NOT need to match the price given in WatuPRO. The only important thing is to create a custom attribute with name “watupro” and value containing the ID of the quiz you want to sell:
Note! Do not create these attributes as custom attribute type from the separate Woocommerce Attributes menu. It needs to be done like on the image above -just enter “watupro” in the small box and the ID in the big box. The drop-down at right should be saying “Custom product attribute”.
How do you know the quiz ID? Simple, it’s the number in the quiz shortcode:
That’s all, you can start selling access to quizzes. You can add coupons, bundles, and so on -anything that you would do with your Woocommerce products.
When the payment of order is completed, the access to any associate WatuPRO quizzes will get activated. If the user is not logged in and does not exist, an user account will be created on the fly.
The access to the quiz will not be granted until the payment is COMPLETED in Woocommerce.
Redirect to the Quiz
From version 0.8 the bridge supports automated redirecting after the order is paid. Just add another custom attribute to the same product. The attribute must have name watupro-redirect and value the URL of the quiz. You can also use any other URL if for some reason you want to redirect elsewhere.
If the user purchase multiple quizzes in one shopping cart they will be redirected to the first purchased product which has the “watupro-redirect” attribute.
Selling Quiz Bundles
From version 0.9 the bridge also allows selling quiz bundles (note: bundles are available for users of the WatuPRO Intelligence module). The process of setting up a bundle is exactly the same as of a quiz, but the attribute name should be watupro-bundle instead of just “watupro”. The IDs of the bundles are visible on the Manage Bundles page.
Payment Settings in WatuPRO
From version 1.2 this bridge allows you to control how the quiz page behaves if visited by the user before the quiz is paid for. You can either redirect automatically to the WooCommerce product page or display a text with link so the user goes there themselves:
IMPORTANT: If you choose the second option and WooCommerce is the only payment option you use, you’ll need to put at least something in the “Other payment instructions” box in the WatuPRO Settings page. Enter some generic instruction or even just an icon or image, otherwise WatuPRO will display “no payment methods set up” error.
Here’s an example of what the content from the above image and “…” on the “Other payment instructions” box produces:
Note that WatuPRO Coupon codes will not work in WooCommerce and vice-versus.
Allow Dashboard Access
Since a while WooCommerce started hiding the WP dashboard from users. This may be OK for some customers who use the shortcodes to put “My Quizzes” etc. pages on the front-end, but not for all. If you still want to allow your students to access the standard WP dashboard, you can do it from the “WooCommerce Bridge” link under the WatuPRO menu:
Changelog Version 1.0
We have updated the plugin to work with Woocommerce 2.6.11. The older versions of the bridge will not work when “watupro-redirect” is used!
Changelog Version 1.1
The plugin provides “allow dashboard access” option explained above.