Adds custom ACF location rules for WooCommerce pages.
If you find this plugin useful, please consider sponsoring the development by clicking the Sponsor button or directly through PayPal.
Simple plugin that adds custom ACF Advanced Custom Fields location rules for WooCommerce pages (Shop, Cart, Checkout, Account).
Requires ACF Pro 5 (probably works with v4 too, but ymmv)
Tested on ACF Pro 5.9.5
- Download and extract the plugin
- Copy the
acf-woocommerce-location-rules
folder into yourwp-content/plugins
folder - Activate the plugin via the plugins admin page
Use like any other location rule.
- From the Custom Fields admin screen, click the Add New button to create a new field group
- Add the fields you would like to see when editing a Post
- Under Locations, select WooCommerce Pages rule type and then select the corresponding value to show this field group
See changelog.md
Thanks to Elliot Condon for creating Advanced Custom Fields.