WC Variations Radio Buttons

Aprašymas

Radio buttons are more friendly than dropdown selects. This plugin will help you have a better UX in your WooCommerce site, as your customers will see all your variations without having to click on a dropdown.

The radio buttons will be toggled dinamically so your customers won’t be able to choose non existent variations.

Temos

This plugin may not work out of the box with some themes. This is due to a theme having its own template for variation selection (single-product/add-to-cart/variable.php).

To make this plugin work with a non compatible theme, a child theme has to be created.
Then copy plugins/wc-variations-radio-buttons/templates/single-product/add-to-cart/variable.php to themes/your-child-theme/woocommerce/single-product/add-to-cart/variable.php

GitHub

Source code and contributions at github

Atsiliepimai

14 spalio, 2021
This plugin worked out of the box and I now have radio buttons instead of the standard drop down options. My motivation for adding radio buttons is that a customer phoned the owner of the website and was confused that they didn’t know how to make a purchase because it wasn’t obvious an option needed selecting. So now with the options under the customers’ noses at all times this confusion will not arise. So thanks for this free plugin that did the job instantly. It saved me a few hours in implementing this myself. All I had to do was add a teensy bit of CSS to neaten up the display – basically I just vertically aligned the td.label to top and added some padding right and that was it: voila! Thanks!
29 liepos, 2021
Nice simple plugin that works right out of the box; easy to add a little styling via CSS. However, only 3 stars from me (using Divi theme) because it also displays product variations that have been disabled at the WooCommerce product level, and with no plugin settings area (and 100s of products I’d need to edit) there seems to be no way of turning that off so I’m unable to use it. Maybe it should be called WC Attributes Radio Buttons?
15 sausio, 2021
It works perfectly, seamlessly converted product variations into radio buttons. Thank you!!
29 rugsėjo, 2020
The plugin works perfectly. It managed to convert the field to radio buttons without harming anything. Wonderful
Perskaityti visus atsiliepimus (28)

Programuotojai ir komandos nariai

“WC Variations Radio Buttons” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės surašyti toliau.

Autoriai

Pakeitimų istorija

2.1.0

  • Add compatibility with WooCommerce HPOS feature.
  • Update template and script to match the latest in WooCommerce
  • Fix error selecting attributes of products with many variations

2.0.5

  • Improve compatibility with WordPress 5.5+ by removing depreacted jQuery methods.

2.0.2

  • Template file updated to match changes in WooCommerce 3.4.
  • Fix duplication of custom fields.

2.0.1

  • Fix issues in archive pages, where multiple products are present.
  • Fix several issues with the gallery.
  • Fix product dimensions and weight.
  • Radio buttons disabled for product bundles.
  • Add class so each attribute can be styled.
  • Add the attribute name to the woocommerce_variation_option_name filter.

2.0.0

  • Updated to match changes in WooCommerce 3.0.
  • This version is not compatible with WooCommerce 2.x.
  • Fix issues with the variation image not changing.

1.1.5

  • Fix error when using product_page WooCommerce shortcode.
  • Show alert when clicking disabled add to cart button.

1.1.4

  • Avoid overwriting of custom add-to-cart button.

1.1.3

  • Fixes clear button that got screwed on last version.

1.1.2

  • Updated to match changes in WooCommerce 2.5.
  • Image disappearing in certain themes fixed.

1.1.1

  • Support for responsive images as in WordPress 4.4 and WooCommerce 2.4.11.
  • Checked compatibility with WooCommerce 2.5.0-RC1.

1.1.0

  • Full compatibility with WooCommerce 2.4.
  • Variations are called via AJAX when there are many variations.
  • Changed version requirements: At least WordPress 4.1 and WooCommerce 2.4.

1.0.3

  • Now works with woocommerce_variation_is_active filter.
  • Fix bug that prevented the plugin to work with custom attributes.
  • Hopefuly no more „The plugin does not have a valid header.” message.

1.0.2

  • Now works better with some themes.

1.0.1

  • WooCommerce 2.4 compatibility.

1.0

  • First release.