Add-On: Commerce Toolkit

This add-on integrates with WooCommerce. It allows you to add groups of fields to WooCommerce Orders with full support for HPOS (High Performance Order Storage).

Requirements

Requires WordPress 6.1+, Pods 2.9.17+, WooCommerce 7.8+, and PHP 7.3+

What does this add-on do?

Integrates with these Commerce plugins:


Using Pods with WooCommerce

You have long been able to extend WooCommerce objects with Pods to add custom fields to the add / edit screens within the WooCommerce admin area.

WooCommerce objects covered by Pods core (without this Add-On)

  • Orders (excluding HPOS)
  • Coupons
  • Products
  • Product Categories
  • Product Tags
  • Product Attribute Terms (not Attribute Taxonomies themselves, only each attribute’s term)

WooCommerce objects covered by this Add-On

  • Orders with HPOS enabled
    • Because the HPOS feature is separate from Posts / Meta, it requires a custom integration layer to be recognized by Pods the same as Post-based Orders were.

Setting up an Order pod

You can go to Pods Admin > Add New Pod and you’ll be able to see the new “WooCommerce Order” option show in the Extend options. This is not a post type or taxonomy, this is a custom object that this add-on sets up that will automatically interface with WooCommerce Orders with HPOS enabled.

Differences between Pods configurations

If you had an existing Pod configuration for your WooCommerce Orders post type “shop_order”, this will not carry over to HPOS. Follow the instructions on how to setup an Order pod to configure your new pod. You can also export a package with your existing shop_order pod, make the following adjustments, and then import the package again.

  • Pod name should be “woocommerce_order”
  • Pod type should be “woocommerce_order”