• Resolved Alex Kladov

    (@prowebassist)


    Hi,

    I just stumbled upon a very elusive bug in your plugin, when it’s combined with official WooCommerce Product Bundles.

    Your plugin overrides default variation attribute values (for select element and the .variable-items-wrapper element), if the bundled product is set to “Filter Variations” & “Override Default Selections” (which essentially hides the variation selector). Your plugin sets those select element’s attribute values to null instead.

    Check out a demo site here. The demo site is running barebones WP + WooCommerce + Product Bundles. So we know that nothing else could be causing this. You can see in the demo that the “Variable Product B with 2 variations” product doesn’t show the price, that’s because the attribute selector (element with ID pa_size_3) is empty, when it should’ve been pre-filled based on bundled product’s settings. Without your plugin that works just fine, but with it, the default value is overwritten to nothing.

    Here is a config for that Bundled Product (pay attention to the area highlighted in red, that’s what your plugin ends up overriding):
    Bundled Product configuration

    The reason it’s a problem is if I want to add that product to cart via AJAX – I need to know which attributes have been selected. And because your plugin resets those hidden select fields back to null, I can’t properly scrape the data to pass bundled product validation on the backend.

    Regards,
    Alex

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • @prowebassist

    Where I can download the plugin for testing?

    Thank you

    Thread Starter Alex Kladov

    (@prowebassist)

    @pluginswoo it’s a premium plugin called Product Bundles sold on the official WooCommerce store. It’s the biggest, most popular premium bundle plugin on the market.

    You can try contacting their support on that page, they’d probably give you a free temporary license to try and resolve this bug.

    It’s a very popular WooCommerce extension, so it would make sense to add support for it.

    I have the same problem with the official WooCommerce Product Bundles extension (https://woocommerce.com/products/product-bundles/).

    My issue is as follows:

    I have a product that is defined as a bundled product. The bundle consists of 4 products. Two of those product have 2 variation. In the bundle configuration I can say that I only want to show 1 of the variation. Additionally I can say that I want this variation to be predefined so that the user does not have to choose it manually. This last feature of predefining does not work. I am presented with the error: Please select an option to proceed.

    Additionally I just noticed that I am not able to add a bundled product to cart, even when I can select a variation. This seems to be the same problem as described by the original author. The variation attribute is empty, so I am notified that attribute ABC is required and the product cannot be added to the cart.

    Do you have a suggestion on how to make this work? Thanks for your help!

    Hi,

    Have the same problem as Niklas above. Did you guys get a solution to this?

    Thanks in advance.
    Jani

    Thread Starter Alex Kladov

    (@prowebassist)

    @janimo I didn’t see any solution, even though someone marked this as resolved. I had to re-write my JS responsible for add-to-cart action, to check for this specific issue caused by this plugin.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Compatibility issue with Product Bundles’ is closed to new replies.