Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
info301

Doesn’t recognize WC Orders table after enabling HPOS

WooCommerce is changing to a custom orders table (COT or HPOS). After enabling that Admin Columns Pro no longer recognizes the order list table. The url query string changes from ?shop-order to ?wc-order. But I’m not sure the new table is actually a CPT that Admin Columns Pro can customize. Hoping it might be possible/added though?

1 year, 2 months ago
info301

FYI, looks like the old table used the hooks:
manage_edit-shop_order_columns, and manage_shop_order_posts_custom_column
new table uses:
manage_woocommerce_page_wc-orders_columns, and manage_woocommerce_page_wc-orders_custom_column

Anyway, hopefully easy to add full support to customize the new woocommerce orders table.

1 year, 2 months ago
Tobias Schutter
Developer

Thanks for the information. We have been working on supporting HPOS for WooCommerce for awhile now. It should be ready before the WC release.

1 year, 1 month ago
Andrew

Saw the same issue today now, completely stops working when the HPOS “High performance order storage” is enabled, not sure how that happened, Admin Columns was working until the last WP/WC update and thus had to disable after running wp wc cot sync as the process was stuck in the sync mode.

wp wc cot sync Which is still not production ready…

Sync 433 pending orders. You can switch data storage for orders only when posts and orders table are in sync

By running wp wc cot sync at the command line, we could switch back and then the order table list works perfectly fine, not even sure HPOS is really ready for production at all, seems many are not there yet.

This feature wp wc cot sync is not production ready yet. Make sure you are not running these commands in your production environment.

There are 433 orders to be synced.
Order Data Sync 100%

[========================================================================================================================] 0:00 / 0:00
Sync completed.

Success: 433 orders were synced in 0 seconds.

1 year, 1 month ago
Stefan van den Dungen Gronovius
Developer

We did not yet release our latest release with the HPOS support, but it is planned for next week.
Switching to HPOS means you’ll go to an entirely new page in WordPress/WooCommerce with new hooks and all.
This means that all the work we’ve done for the old Order page (Post Type) does not work anymore and we’ll need to migrate all logic to a new HPOS table.

Even in WooCommerce 8, HPOS is still not the default, so that’s why we still take the time to thoroughly test our plugin before release.

1 year, 1 month ago
Sprig Marketing

Is Admin Column Pro ready for WooCommerce HPOS? We are having issues adding filter to some of the order columns like Customer Note (filter option is not available for this column type).

5 months ago
Stefan van den Dungen Gronovius
Developer

Yes, Admin Columns supports the HPOS tables.
We built the support from scratch but it seems that we did not (yet) implemented our pro for all columns (yet).

4 months, 4 weeks ago
Andrew

Is this still an issue Stefan? we do not see any access to even 1 custom fields after setting up HPOS in /options-general.php?page=codepress-admin-columns&tab=columns. Outside of that we have to rebuild the table list as even export / import ignores this as it’s just trying to connect to post data tables again and they are not the same tables now.

4 months ago
Stefan van den Dungen Gronovius
Developer

@andrew, there are no custom fields anymore in HPOS.
Instead, they have their own meta table, and our plugin has a similar custom field column, but it is called ‘Order Meta’.

4 months ago

You must be logged in to reply to this topic.