Support » Plugin: Variation Swatches for WooCommerce » Doesn’t work with WooCommerce product bundles

  • Hi,

    I have the latest version of WooCommerce and WordPress. The plugin works fine in most cases, but when it’s used with the official WooCommerce plugin “Product bundles” (https://woocommerce.com/products/product-bundles/) it doesn’t work in a bundled product. Basically, clicking on a color or label does nothing.

    Is there anything that can be done?

Viewing 9 replies - 1 through 9 (of 9 total)
  • If anyone gets the same problem, I resolved the issue by changing line 61 in frontend.js to the following

    $( '.variations' ).tawcvs_variation_swatches_form();

    I’m having the same issue. Where is frontend.js? I’m not seeing that in the plugin or wc includes.

    Edit: I found frontend.js. It’s located here for anyone else who runs into this: /wp-content/plugins/variation-swatches-for-woocommerce/assets/js/frontend.js

    Your solution worked – Thank you!

    • This reply was modified 2 years, 5 months ago by mattbartley.

    it’s in assets/js/frontend.js in the plugin files

    THANK YOU @kokomoweb! This fixed it for me too, much appreciated!

    No problem. Now if only they would apply this fix to the actual plugin that would be nice, hint hint!

    Adding $( '.variations' ).tawcvs_variation_swatches_form(); to frontend did not work for me unfortunately.

    you need to remove the other line of code at 61

    Unfortunately I did. I replaced the existing with it.

    I can’t get it to work with Composite products — the swatches are there but they are all screened and can’t select any. 🙁 I will keep searching support forums.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Doesn’t work with WooCommerce product bundles’ is closed to new replies.