# Setting up Variations for Products

### **What is Single Product Variation?**

Variable products the product type in WooCommerce that lets you to, set variations to a product along with the stock, prices, image, etc.

We have customized this feature specifically for Moodle™ users who want to sell their courses through Edwiser Bridge and its extension WooCommerce Integration by setting some variations to it.

Below are the steps to create those variations and selling your Moodle course through WordPress.

#### 1.Setting Variations to a product

* Go to Products > Go to Edit Product > Go to the Product Data section,
* Here select the product type as “Variable Product”

<figure><img src="https://cdn-lekef.nitrocdn.com/dEBhheJeLllzRDxwkgqiDjWYUMSokuqD/assets/images/optimized/rev-af1a6d6/edwiser.org/wp-content/uploads/2015/07/Variable1.png" alt="Edwiser Bridge-WooCommerce Integration - Single Product Variation" height="341" width="790"><figcaption></figcaption></figure>

#### 2.  Add Attributes to use for Variations

* Click on “Add” button next to “Custom Product Attribute” drop-down,
* This will result in custom settings box showing up below for adding “Attributes Specific to Product”
* There you can set the name of the Attribute, and set values to it.
* Make sure that you check “Visible on products page” & “Used for variations” checkboxes.
* Once done hit on “Save Attributes”

<figure><img src="https://cdn-lekef.nitrocdn.com/dEBhheJeLllzRDxwkgqiDjWYUMSokuqD/assets/images/optimized/rev-af1a6d6/edwiser.org/wp-content/uploads/2015/07/variable2.png" alt="Edwiser Bridge-WooCommerce Integration - Single Product Variation" height="354" width="789"><figcaption></figcaption></figure>

#### 3.  Add Variations

* You will have to manually add variation to the product, by selecting “Add Variation” from the drop-down.
* Select attributes to variation, Click on the triangle icon to expand variation and to add the relevant details in it.

<figure><img src="https://cdn-lekef.nitrocdn.com/dEBhheJeLllzRDxwkgqiDjWYUMSokuqD/assets/images/optimized/rev-af1a6d6/edwiser.org/wp-content/uploads/2015/07/variable3.png" alt="Edwiser Bridge-WooCommerce Integration - Single Product Variation" height="356" width="788"><figcaption></figcaption></figure>

#### 4.  Adding course details to each variation

* Set each variation as “Virtual”, “Downloadable” & “Enabled”
* You can link a Moodle course to each variation.
* Bundling of more than one course to a variation can also be achieved.
* Once you have done that you could click on “Save Settings” and then Click on “Update Button” to set it live.

<figure><img src="https://cdn-lekef.nitrocdn.com/dEBhheJeLllzRDxwkgqiDjWYUMSokuqD/assets/images/optimized/rev-af1a6d6/edwiser.org/wp-content/uploads/2015/07/Edit-Product-%E2%80%B9-Edwiser-Bridge-%E2%80%94-WordPress.png" alt="Edwiser Bridge-WooCommerce Integration"><figcaption></figcaption></figure>

#### Doc navigation

[< Woocommerce Integration User Guide](broken://pages/jqxq5IdJ86SIyGYX5qvj) [Setting up Grouped Products >](broken://pages/IDIWLgt7f00q0YHB0fsm)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://remui-docs.edwiser.org/eb-woocommerce-integration/setting-up-variations-for-products.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
