• Are you all planning to be compatible with WooCommerce High-Performance Order Storage functionality by August?

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

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

    (@contemplate)

    Any update on timeline for implementing this in the Free or Pro version?

    Thread Starter contemplate

    (@contemplate)

    OK actually I see in the changlog that in version 6.6.4 you added HPOS compatibility so it just appears the plugin needs to declare that it works with HPOS so it can be activated.
    https://github.com/woocommerce/woocommerce/wiki/High-Performance-Order-Storage-Upgrade-Recipe-Book#declaring-extension-incompatibility

    I went ahead and editted the plugin file:
    /wp-content/plugins/woo-product-bundle/wpc-product-bundles.php
    after line 28 that has this:
    include 'includes/dashboard/wpc-dashboard.php';

    I added this code:

    add_action( 'before_woocommerce_init', 'woosb_declare_hpos_compatibility' );
    function woosb_declare_hpos_compatibility() {
    if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
    \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', FILE, true );
    }
    }


    Now the plugin works with HPOS! Can you please update the main plugin with this patch please!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘High-Performance order storage compatibillity?’ is closed to new replies.