• aneta9

    (@aneta9)


    I am trying to create sliders of products, filtered by product categories (not post categories). However, the shortcode part cat=”accessories” (or whatever other product category name) does not work.
    Is there a way i can customize the code so that filtering by categories is available not only for posts” and pages, but also for products?

    Thank you a lot!

    • This topic was modified 8 years ago by aneta9.
    • This topic was modified 8 years ago by aneta9.
    • This topic was modified 8 years ago by aneta9.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author iografica

    (@iografica)

    Hi, the plugin works also with woocommerce products and easy digital downloads products. Update the plugin a the latest version and take a look if the slug you have wrote is correct. We have made a test and we haven’t found any issue.

    Thread Starter aneta9

    (@aneta9)

    Well, I am copy-pasting the slugs of the product categories, therefore i can’t make a mistake there.
    The slider displays the products ONLY when cat=>” (is empty) and I see ALL products, not filtered.

    In ig-posts-carousel-shortcodes.php I see this line ‘category_name’=> $cat,
    But isn’t category_name only related to post categories? and not product categories?

    I just can’t find the spot where it is defined that $cat also means product categories.

    I have read in forums that these two things are different… therefore I feel the answer might be there. Otherwise, I am using the latest version of your plugin and can’t simply think of any other reasons why product filtering is not working.
    (posts’ filtering works fine though).

    • This reply was modified 8 years ago by aneta9.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘product categories’ is closed to new replies.