• Hi, my woocommerce shop has bundled products and I’m using the “Availability” field to map stock status for my Google Shopping feed.

    This works perfectly well for all products except those that are bundles. When one or more of the products that make up the bundles goes “out of stock” the bundle remains in_stock within the feed.

    For reference, I’m using the “WooCommerce Product Bundles” plugin.

    Thanks in advance,
    Cheers, Steve

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Steve,

    The availability used for bundled products is the availability of the bundled product itself. That is the one being returned by Woocommerce and ends up in our feed. It cannot look at the individual availability of the products in the bundle unfortunately.

    Thread Starter stevecox54

    (@stevecox54)

    Hi, thanks for responding so quickly.

    I think my issue is exactly the same as the issue reported here by @dominicwtd – but no solution was shown. https://www.ads-software.com/support/topic/feed-doesnt-respect-bundled-stock-status/

    With bundled products you can manage the stock at the bundled product level. As you say the Stock Availability at this level is what makes it into the feed.

    However, if a bundled product contains 2 items and just one of those items is out of stock the bundled product is shown as “Insufficient Stock” in the Woocommerce back end as well as marking the bundled product “Out of Stock” on the front end (shop) effectively overriding the product level stock indicator.

    This is not reflected in the feed.

    Please let me know if you need any further information.

    We created two test products and a bundled product that uses both of the two test products. See: https://www.dropbox.com/s/1d7e9mxhdcg44d8/Screenshot%202022-05-05%20at%2016.03.25.png?dl=0

    As you can see product 1 is out of stock and the bundled product is showing Insufficient Stock.

    When however requesting the availability directly from WooCommerce using PHP code:

    
    $product_data['availability'] = $this->get_stock( $this->childID );
    error_log($product_data['availability']);
    

    This is being returned by WooCommerce:
    [05-May-2022 14:01:35 UTC] in stock
    [05-May-2022 14:01:35 UTC] in stock
    [05-May-2022 14:01:35 UTC] out of stock

    As you can see the bundled product is getting returned as being “in stock”. Unfortunately we are depending on what WooCommerce returns and there is nothing we can do to change/fix this.

    Thread Starter stevecox54

    (@stevecox54)

    Hi, yes this is the exact scenario I’m experiencing.

    Thanks for confirming, perhaps one for the backlog ?

    Cheers, Steve

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Bundled Products – Availability’ is closed to new replies.