WPIntell

Source evidence

HPOS compatibility

Gift Cards – Coupon Input · support · 2024-02-21T21:32:00+00:00

complaintsentiment
mediumseverity
0.92relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 32 rows with source links

12.5% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
JapeNZ unresolved
Hi @jasonkytros Would it be possible to make the Gift Cards – Coupon Input plugin compatible with Woocomerce High-Performance Order Storage please? I’m keen to switch to this new process, but your plugin is listed as incompatible. Thank you for your help! Hi @jasonkytros Any update on this please? Thank you for your help! 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 2 years ago by JapeNZ .

Comments

2 shown
JapeNZ 2024-05-09T01:56:00+00:00

Hi @jasonkytros Any update on this please? Thank you for your help!

JapeNZ 2024-05-09T05:42:00+00:00

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 2 years ago by JapeNZ .