• oldcode

    (@coconutcoder)


    I already looked at and tried this page, which led me to the “WooCommerce Radio buttons” plugin.

    The functionality is what I’m looking for, but alas, that plugin requires that you set up a product as a “Variable product” type. My product types are already well-established, and they are Composite types. After installing the plugin, I don’t see any change, so I guess the plugin doesn’t work for my situation.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter oldcode

    (@coconutcoder)

    I hate the thought of hacking bto-item-options.php and add-to-cart-bto.js, but it’s looking like WooCommerce has tipped my hand. There is no native support for radio buttons, and this would explain why there are no maintained plugins that correct the WooCommerce deficiency.

    It’s not too bad; I have a working prototype that needs some style tweaks. The code changes are a little too lengthy to detail here, but basically, in the php file I replaced the select inputs with input radio. In the .js file, I replaced the listeners that refer to select with ones that refer to :radio, and the jQuery events seem to be working.

    Did you find a solution that worked? I would rather not edit the php or js. It would have to be redone with every update.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Radio buttons for WooCommerce Composite options’ is closed to new replies.