HPOS compatibility for query loop (query woo orders/downloads)

It would be great to query woocommerce orders and downloads stored as HPOS on the query loop.

When HPOS is active on WooCommerce, orders and downloads are stored on _woo_orders _woo_orders_meta _woo_downloads _woo_downloads_meta tables, for higher database performance. As they are gone of _posts and post_meta tables, those entries are not reachable by the Bricks query loop.

Supporting HPOS will allow to highly customise the woocommerce customer endpoints while keeping high performance.

Meanwhile we are using wc_get_orders to customize the Woocommerce Order endpoint template.

1 Like

Indeed. More info here: High-Performance Order Storage Documentation - WooCommerce

Indeed. This would be nice. Some more info here: High-Performance Order Storage Documentation - WooCommerce