Support » Plugin: WooCommerce Sold Out Products » Compatibility with product bundles

  • Hi

    The plugin works great with simple products but it doesn’t work with the ‘product bundles’ extension. It seems as if product bundles uses it’s own code to display that a bundle is out of stock rather than relying on woocommerce. I contacted woothemes support and they responded with the following but I have no clue what they actually want me to do with this code. Can you be of any assistance?

    “Use $bundle->all_items_in_stock() in combination with is_in_stock(). The latter one is restricted to the bundle-level stock status, while the former one is based on the contents’ stock status. Alternatively, you could use get_availability for the same purpose.”

  • The topic ‘Compatibility with product bundles’ is closed to new replies.