Setting Up a Variable Product to Sell Keys

Setting Up a Variable Product to Sell Keys

Learn how to configure a variable WooCommerce product to sell serial keys. Unlike simple products, key settings are configured at the variation level, meaning each variation can have its own key source and delivery settings.

Before You Begin

Make sure you have at least one variable product with variations created in WooCommerce before proceeding.

Configuration Steps

Step 1: Open the Product

  • Go to Products from your WordPress admin menu.
  • Locate the variable product you want to configure and click Edit.

Step 2: Expand the Variation and Enable Sell Key

Enable Sell Key
  • In the Product Data section, click the Variations tab.
  • Locate the variation you want to enable keys for and click to expand it.
  • Check Sell Keys to enable key delivery for the variation.

Step 3: Configure Key Settings for the Variation

Configure Key Settings
  • Scroll down to the Key Settings section within the same variation.
  • Set the Delivery Quantity to define how many keys are delivered per unit ordered. For example, if a customer orders 5 units of this variation, they will receive 5 keys.

Step 4: Choose a Key Source

Select how keys will be sourced and delivered for this variation. Choose one of the following options based on your preferred delivery method.

Key SourceDescriptionGuide
Manually AddedDeliver keys from a pool of keys you have added manuallyDeliver Keys from Manual Key Pool
Generator RuleAutomatically generate and deliver keys using a generator ruleDeliver Keys Using a Generator Rule
Auto Generated KeyAutomatically generate and deliver a unique key with each orderDeliver Keys Using Auto-Generation

Step 5: Save the Product

Click Update to save the changes. Repeat Steps 2 to 5 for any other variations you want to enable keys for.

What Happens After Purchase

When a customer places a successful order, keys are automatically assigned and delivered based on the key source configured for the purchased variation. The customer can view their keys on the My Account page and in the order confirmation email.