Skip to content

ooksanen/acf-woocommerce-location-rules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ACF: WooCommerce Location Rules

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.


Description

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


Installation

  1. Download and extract the plugin
  2. Copy the acf-woocommerce-location-rules folder into your wp-content/plugins folder
  3. Activate the plugin via the plugins admin page

Usage

Use like any other location rule.

  1. From the Custom Fields admin screen, click the Add New button to create a new field group
  2. Add the fields you would like to see when editing a Post
  3. Under Locations, select WooCommerce Pages rule type and then select the corresponding value to show this field group

Changelog

See changelog.md


Thanks

Thanks to Elliot Condon for creating Advanced Custom Fields.

About

Custom ACF location rules for WooCommerce pages

Resources

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages