Shop

A WordPress plugin that allows you to sell quizzes as WooCommerce products. Customers can purchase products and take quizzes with random questions from a question bank.

Features

  • Attach quizzes to WooCommerce products
  • Create question banks with multiple-choice and true/false questions
  • Randomize questions from the question bank for each quiz attempt
  • Configure the number of questions per quiz (default: 10)
  • Set pass percentage for quizzes
  • Optional time limit for quiz completion
  • Progress bar to track quiz progress
  • Show correct answers after quiz completion (optional)
  • Store and display quiz results
  • Shortcode to display quizzes on any page
  • Export and import questions and question banks

Installation

  1. Upload the quiz-commerce folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Make sure WooCommerce is installed and activated

Usage

Creating Question Banks and Questions

  1. Go to Products > Question Banks to create a new question bank
  2. Add questions to the bank by going to Products > Quiz Questions
  3. For each question, you can:
    • Set the question type (multiple choice or true/false)
    • Add answer options and mark the correct answer
    • Provide an explanation for the correct answer
    • Assign the question to one or more question banks
    • Set the question category and difficulty level

Attaching Quizzes to Products

  1. Edit a WooCommerce product
  2. Go to the “Quiz” tab in the product data section
  3. Check “Enable Quiz” to enable the quiz for this product
  4. Select a question bank from the dropdown
  5. Configure quiz settings:
    • Number of questions to display
    • Pass percentage
    • Whether to show correct answers after completion
    • Time limit (optional)
  6. Save the product

Taking Quizzes

Customers who purchase a product with a quiz can access the quiz from:

  1. The product page (Quiz tab)
  2. Their My Account page (My Quizzes section)
  3. Any page where you’ve added the shortcode

Shortcode

You can display a quiz on any page using the shortcode:

[wc_quiz product_id="123"]

Replace 123 with the actual product ID.

Admin Settings

Go to Products > Quiz Settings to configure global settings for the plugin:

  • Default number of questions per quiz
  • Default pass percentage
  • Whether to show correct answers by default
  • Default time limit settings

Import and Export

Go to Products > Quiz Import/Export to import or export questions and question banks:

Exporting Questions

  1. Select a question bank from the dropdown (or choose “All Question Banks”)
  2. Click the “Export Questions” button
  3. A JSON file will be downloaded containing all questions from the selected bank(s)

Importing Questions

  1. Click “Choose File” and select a JSON file exported from Quiz Commerce – Sell Exams & Tests
  2. Configure import options:
    • Create question banks if they don’t exist
    • Skip duplicate questions (based on title)
  3. Click the “Import Questions” button
  4. Review the import results

Viewing Quiz Results

Quiz results are stored for each user and can be viewed:

  1. On the product edit page (Quiz Results meta box)
  2. In the user’s My Account area

Requirements

  • WordPress 5.0 or higher
  • WooCommerce 3.0 or higher
  • PHP 7.0 or higher

Support

If you need help with the plugin, please contact us at [email protected]

License

This plugin is licensed under the GPL v2 or later.

Reviews

There are no reviews yet.

Be the first to review “Quiz Commerce – Sell Exams & Tests”

This site uses Akismet to reduce spam. Learn how your comment data is processed.