WordPress

WooCommerce Calls for Early Testing on Custom Order Table Migrations – WP Tavern

In the beginning of this yr, WooCommerce announced its plan to provide an MVP of customized order tables by Q3, 2022, a long-awaited enchancment that guarantees important efficiency positive aspects for shops. The plugin’s improvement crew is now calling for builders, companies, and internet hosting corporations to check migration to its first implementation of buyer order tables.

The method entails migrating orders from wp_posts and wp_postmeta to 4 new customized orders tables:

  1. wp_wc_orders
  2. wp_wc_order_addresses
  3. wp_wc_order_operational_data
  4. wp_wc_orders_meta

It requires a staging atmosphere configured with WP-CLI and a staging database pre-loaded with order knowledge.

WooCommerce developer Vedanshu Jain has created a migration testing guide, which particulars the customized code builders might want to add with a view to allow the customized order tables. As soon as enabled, builders can have the choice emigrate tables utilizing WP-CLI or through Motion Scheduler.

Jain is requesting feedback from anybody who runs the migration course of with particulars about what number of orders, server reminiscence measurement, DB model, and whether or not or not it timed out or responded higher to a unique batch measurement.

WooCommerce updating to make use of customized order tables shall be a serious change that may influence extension builders in several methods. The event crew intends to publish an improve information to help adoption of customized order tables after migrations have been ironed out. Later this yr, when the replace is anticipated to be rolled out to the core plugin, WooCommerce is aiming to make it strictly opt-in at first to permit store house owners time to make their websites appropriate.

Leave a Reply

Your email address will not be published. Required fields are marked *