When configuring your conditions and filters in JustTables, you may want to specify criteria using taxonomy, individual product IDs, or author IDs. In this article, we will guide you through the process of doing so. Follow the steps below:
Taxonomy Term IDs #
If you need to include specific categories or taxonomy term IDs in your JustTables product table, follow these steps:
- Start by going to the “Categories” section under the “Products” menu in WooCommerce.
- Let's say you want to showcase products from a particular category, like “Accessories.” To do this:
- Hover over the “Edit” link associated with the “Accessories” category.
- In the bottom left corner of the page, you'll find the term ID for the “Accessories” category.
- Copy this term ID.
3. In the JustTables settings, navigate to “Conditions,” and under “Taxonomy Include,” paste the term ID you copied earlier.
4. To include multiple taxonomy terms, simply separate them with a comma and insert their respective term IDs in the same manner. You can also use a similar approach for exclusions in the “Taxonomy Exclude” section.
Product IDs #
Configuring product IDs follows a similar process:
- Head to “All Products” under the “Products” menu in WooCommerce.
- Let's say you want to display specific products. To achieve this:
- Hover over the “Edit” link for any of the products.
- In the bottom left corner of the page, you'll find the post ID for that product.
- Copy this product ID.
3. In the JustTables settings, under “Conditions,” go to “Product IDs” and paste the product ID you copied earlier.
4. To include or exclude multiple product IDs, separate them with commas, following the same pattern as for taxonomy terms.