WooSync WooCommerce Sync Hub For PerfexCRM Scaled

Mapping Custom WooCommerce Checkout Fields to Perfex CRM

Default WooCommerce order sync covers names, emails, and line items, yet B2B stores rely on custom checkout fields like VAT IDs, purchase order numbers, and scheduled delivery dates. Without field mapping, staff must copy order metadata into Perfex CRM manually after every purchase.

WooSync eliminates manual re-typing by binding WooCommerce checkout meta keys directly to matching Perfex CRM Customer, Invoice, or Project custom fields during automated sync.

Need baseline store connection steps first? Follow the WooSync installation and setup guide.

WooCommerce SourcePerfex CRM TargetRecommended Field TypeCommon Use Case
_billing_vat_numberCustomers Custom FieldInput (Text)B2B tax compliance on invoices
_billing_po_numberInvoices Custom FieldInput (Text)Procurement reference tracking
_delivery_dateProjects / Invoices FieldDate Picker (YYYY-MM-DD)Fulfillment scheduling and SLA
_gift_wrap_optionInvoices Custom FieldSelect / CheckboxWarehouse packing instructions

Inspecting Exact WooCommerce Checkout Meta Keys

Checkout plugins often prefix custom field keys with an underscore or plugin namespace, and stores running High-Performance Order Storage (HPOS) store order meta in wc_orders_meta instead of wp_postmeta. Inspect a real test order payload inside WooSync’s webhook log before creating your mapping rules.

  • Place a test order containing every custom checkout field populated with distinct sample values.
  • Open the WooCommerce REST API order JSON or WooSync sync log and copy the exact meta_data key string.
  • Note whether the field is stored at the order level or customer user-meta level so you map it to the right entity.
  • Review the automatic WooCommerce order sync workflow to confirm webhook triggers are active.

Binding Checkout Keys to Perfex Custom Fields

Once your target custom fields exist in Perfex CRM Setup, link each WooCommerce meta key inside the WooSync Field Mapping matrix. Match data types strictly so Perfex select dropdowns and date columns never reject incoming payloads.

  • Create corresponding Custom Fields in Perfex CRM under Customers or Invoices with matching option values for dropdowns.
  • Map each WooCommerce meta_key to its Perfex field_slug and set a safe fallback value for optional fields.
  • If you operate regional storefronts, configure store-specific overrides as covered in managing multiple WooCommerce stores from one Perfex CRM.
  • Run a manual single-order resync and confirm the mapped values render cleanly on the Perfex Invoice PDF and Customer profile.

Common Pitfalls & Quick Fixes

  • Mapped field remains blank in Perfex: Check for a leading underscore mismatch (for example billing_po vs _billing_po) in the WooCommerce meta_data array.
  • Date field saves incorrectly: Normalize WooCommerce datepicker plugins to YYYY-MM-DD format before mapping to a Perfex Date custom field.
  • Dropdown option fails to display: Ensure the exact string sent by WooCommerce matches one of the comma-separated options defined in Perfex Custom Fields.

Frequently Asked Questions

Does WooSync support WooCommerce HPOS custom checkout fields?

Yes. WooSync reads order metadata directly from WooCommerce REST API and webhook meta_data payloads, which remain consistent across both legacy postmeta storage and WooCommerce High-Performance Order Storage (HPOS) tables. Admins do not need custom database queries or theme code overrides to synchronize checkout fields.

Can I map one checkout field to multiple Perfex CRM entities?

Yes. You can map a single WooCommerce checkout key such as a VAT ID or account code to both a Perfex Customer custom field and an Invoice custom field, ensuring both permanent client profiles and individual billing documents retain accurate records.

What happens if a customer leaves an optional checkout field empty?

When a mapped checkout field is empty or omitted from the WooCommerce order payload, WooSync skips overwriting existing non-empty Perfex data or inserts your configured default fallback value. This safeguard prevents accidental blank overwrites on returning customer profiles during repeat purchases.

Are third-party WooCommerce checkout field editor plugins supported?

Yes, provided the checkout plugin saves customer inputs into standard WooCommerce order meta_data exposed through the REST API. Simply inspect a sample order payload inside WooSync’s webhook log to capture the plugin’s exact meta key name and bind it in the mapping table.


Comments

Leave a Reply

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