WooCommerce Variable Description Radio Buttons

This plugin is discontinued. This page remains here only for reference.

Read about the plugin on its main page.

Install and Setup

  1. Download the latest version of the plugin .zip file from GitHub: (not available at the moment)
  2. Upload the .zip file through the “Plugins –> Add New –> Upload” in your WordPress dashboard.
  3. Add variations to your products as you would normally. (WooCommerce variations steps)
  4. Be sure to set a price for each variation.
  5. For each product, you must set a default variation to be selected. Do this in your “edit product” page, in the Variations tab, where it says “Defaults:“.
  6. Optional: Enter a Variation Description for each individual variation. If your variations are of a custom attribute, you will see the “Description” field for each variation. On the other hand, if your variations are of a “Global Attribute” (these are attributes that were added in “Products -> Attributes”), then you will not see an individual Description field for each variation. Instead, you add the description for Global Attributes when you configure the Attribute terms in “Products -> Attributes”.

Troubleshooting

You Must Set a Default

For each product, set a default variation to be selected. Do this on your “Edit product” page, in the Variations tab, where it says “Defaults:“.

Variations of “Any” Do Not Work

When you add variations, it’s easy to accidentally add an extra variation. by default, the variation will be named “Any {YOUR ATTRIBUTE}”. That will prevent this plugin from working.

To fix this, double check each product’s variations tab. If you have any extra variations whose names begin with “Any…”, then remove it. To remove it, click “Remove” next to that variation. Then click the blue “Update” button on the product to save the changes.

A Price For Each Variation

Be sure to set a price for each variation. If you have even one variation without a price, that will prevent this plugin from working.

Credits

This is a modified version of a gist by kloon, which i combined with the plugin WooCommerce Radio Buttons by DesignLoud.

Changelog

1.1

(released 2015-08-25)

Fix - Updated for WooCommerce 2.4+.

Requires at least: WordPress 4.2
Tested up to: WordPress 4.3

1.0

(released 2015-06-03)

Fix - Added compatibility with Global Attributes which are added in Products -> Attributes.
Tweak - Updated the .js.
Tweak - Updated the variable.php template.

Requires at least: WordPress 4.2
Tested up to: WordPress 4.2.2

0.9

(released 2015-06-01)

Fix - Variation description field values were blank in the admin. So, if you update a product, the blank values were being saved, and in effect erasing the variation descriptions. Thanks to circularone for the report.

Tweak - Load unminified .js if SCRIPT_DEBUG is true.

Tested up to WP 4.2.2

Updated on March 6, 2017

Questions and Comments are Welcome

Your email address will not be published. All comments will be moderated.

Please wrap code in "code" bracket tags like this:

[code]

YOUR CODE HERE 

[/code]