Hi David,
Of course, yes 🙂 In fact, the Permalink Manager is in no way responsible for the handling of orders, either in the backend or the frontend. This is the formal error, and it is displayed because any plugin that declares support for WooCommerce but does not declare support for COT is automatically categorized as ‘uncertain’ if it supports COT.
As of now, it is unclear how plugin developers should declare their support for COT:
https://github.com/woocommerce/woocommerce/issues/32920
You can temporarily use the code snippet below, and I will declare support for COT as soon as there is an official way to do so 🙂
/**
* Permalink Manager - declare COT compatibility
*/
function pm_woo_cot_compatibility() {
if(function_exists('wc_get_container')) {
wc_get_container()->get( Automattic\WooCommerce\Internal\Features\FeaturesController::class )->declare_compatibility('custom_order_tables', 'permalink-manager', true);
wc_get_container()->get( Automattic\WooCommerce\Internal\Features\FeaturesController::class )->declare_compatibility('custom_order_tables', 'permalink-manager-pro', true);
}
}
add_action('before_woocommerce_init', 'pm_woo_cot_compatibility');
Best regards,
Maciej
Thread Starter
David
(@loano1)
Hi @mbis
Thank you very much for the prompt and comprehensive clarification.