Advanced Custom Fields Pro
ACF Pro (plugins/advanced-custom-fields-pro/) provides the custom fields framework used throughout the Dealers Site to store product data, user meta, and page settings beyond what WordPress provides by default.
Key Field Groups
| Field Group | Location | Fields |
|---|---|---|
| Product — Metals Data | WooCommerce Products | HS code, country of origin, invoice description, bullet metal description, product purity, tariff data |
| Product — Pricing | WooCommerce Products | Markup rate, markup mode, volume pricing field (via wc-volume-pricing-field app) |
| User — Dealer Profile | User edit screen | Pricing catalog, account manager, net terms status, loyalty rate, blackout dates |
| Page — Settings | All Pages | Per-page header/footer overrides, custom background options |
Integration with WP All Export
The WPAE ACF Add-On (plugins/wpae-acf-add-on/) connects ACF fields to the WP All Export Pro plugin, allowing bulk export of ACF field values alongside standard WooCommerce product/order data.
Important Notes
- ACF Pro requires a valid license key (managed via WPMU Dev Updates or the ACF portal).
- Always add new ACF field groups via the ACF UI in staging first, then migrate the JSON field group file to production.
- Field group JSON files can optionally be stored in
wp-content/themes/suma-elementor/acf-json/for version control.