Skip to content

Instantly share code, notes, and snippets.

@ScarletPonytail
Created August 31, 2017 08:41
Show Gist options
  • Save ScarletPonytail/e302493ac8fa31fbecd7624c0110600c to your computer and use it in GitHub Desktop.
Save ScarletPonytail/e302493ac8fa31fbecd7624c0110600c to your computer and use it in GitHub Desktop.
Woocommerce - Add product filter to sidebar
// Adding Filters to sidebar
// ------------------------------------
01. Apply plugin 'WOOF - WooCommerce Products Filter'
02. Select 'Settings' from the plugin page
03. Select what you would like to filter and how you would like it to look
04. Go to the Widgets menu, and drag the 'WOOF - WooCommerce Products Filter' to the sidebar
// Create a new filter attribute
// ------------------------------------
01. Products > Attributes
02. Create a new attribute
03. Products > All Products
04. Choose a product to apply the new attribute to
05. Product Data > Attributes
06. Click 'Add' next to 'Custom product attribute'. Don't forget to add the attribute variable, eg. if you are creating a 'Material' attribute, to add 'leather' to the variable.
07. Click 'Save attributes'
08. Click 'Update'
09. The filter should now appear.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment