Manual of Taxonomy, Terms and Filters

Add/Remove Taxonomy and Terms

 

  1. Go to Products
  2. Go to Attributes
  3. Add new attribute. (will be used as taxonomy)
    1. Create a unique name for it, don’t use a name that already exists.
    2. Create the SLUG. (will be used on the url to this attribute)
  4. Edit the terms inside the attributes/taxonomy. 

 

 

 

 

  1. Add new terms to the attribute/taxonomy.
  2. & 3. Can select more than one and delete, or delete a single one by hovering the mouse over it and clicking the “delete” link that appears under the name 

 

 

 

Creating Filter

  1. Go to Settings
  2. Go to FacetWP

 

 

 

 

 

 

  1. Click to add new

 

 

 

 

 

 

  1. Choose the Label of the facet. 
  2. Choose the type of the facet. (For multiple select, this should be fSelect)
  3. Data Source will be the product attribute you’ve created.
    1. WP/WOO put the characters “pa_” in front of the name.
      For example: 
            – Attribute “color” will be “pa_color”.
            – If you created a new attribute called “newtest”, this will be “pa_newtest”.
  4. Facet Logic should be selected based on how you want the results to be matched.
        For example:
              – Taxonomy “pa_color” multiple selected “Blue” and “White” 
                      – AND will try to find products with both of those two colors. (if the product only has one color, it will not match the filter)
                      – OR will match if a product has only one of those two color. (will list Blue products and White products)

 

 

  1. Multiselect to let the customer choose more than one option.
  2. Facet logic (AND or OR)
  3. Click to copy the “shortcode” will need that to enable on frontend on next steps.

 

 

 

 

 

 

 

Add filter on frontend

 

  1. Go to Appearance
  2. Go to Widgets
  3. Click on “Shop”

 

 

 

 

 

  1. Scroll the page after clicking on “shop” to see the “+” at the bottom and click on that.

 

 

 

 

 

 

 

 

  1. Type “short” and will appear the “Shortcode” option, click on that.

 

 

 

 

 

 

  1. Paste the shortcode from the facet. 

 

 

 

 

 

 

  1. Click to Update. (will save the widget)

 

 

 

 

 

 

  1. Facet should be listening on frontend filters.
    ** If you want to change the order of the filters, you can drag and drop the shortcode widgets in the desired order and click to update on admin page.
***