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

    (@japenz)

    Hi @jasonkytros

    Any update on this please?

    Thank you for your help!

    Thread Starter JapeNZ

    (@japenz)

    Hello again @jasonkytros
    I’ve been looking in to it as I couldn’t work out how or why this wouldn’t be compatible with HPOS lol!

    So it seems you have to specifically declare compatibility, details are here: https://developer.woocommerce.com/docs/hpos-extension-recipe-book/

    I think I managed to resolve things by added the following to the plugin:

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

    If there’s any reason I shouldn’t have added this please let me know ??

    Kind regards,
    JP

    • This reply was modified 10 months, 3 weeks ago by JapeNZ.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘HPOS compatibility’ is closed to new replies.