Show Woocommerce Custom Attributes in WordPress Menu Page
Author: | Varun Sridharan (profile at wordpress.org) |
WordPress version required: | 3.0 |
WordPress version tested: | |
Plugin version: | 1.0 |
Added to WordPress repository: | 12-02-2015 |
Last updated: | 07-04-2020
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 84 |
Rated by: | 6 |
Plugin URI: | http://varunsridharan.in/ |
Total downloads: | 16 773 |
Active installs: | 1 000+ |
Click to start download |
Attributes (which can be used for the layered nav) are a custom taxonomy, meaning you can display them in menus, or display products by attributes.
Create a template
If you enable a attribute it will create a template file. if not You need to do the below stepts
- Copy
woocommerce/templates/taxonomy-product_cat.php
into your theme folder - Rename the template to reflect your attribute – in our example we’d use
taxonomy-pa_size.php
Thats all there is to it. You will now see this template when viewing taxonomy terms for your custom attribute.
Settings Available Under
Products ==> Attributes Menu Manager