• Resolved mirwordpress

    (@mirwordpress)


    is it possible to have a wordpress filter products by tag via the URL as follows: ( this does not work )
    /product-category/schools/?product-tag=testingtag

    Like this current one that is already in place:

    /product-category/schools/?orderby=popularity&product-tag=testingtag

    is it possible or would i need to add rewrite rules?

    thanks

    • This topic was modified 3 years, 3 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
    • This topic was modified 3 years, 3 months ago by James Huff.
    • This topic was modified 3 years, 3 months ago by James Huff.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @mirwordpress,

    That is super close. Change the product-tag to product_tag and that should let you get products with this tag inside this category.

    Something like this:

    
    https://site.com/product-category/clothing/?product_tag=shirt
    

    Let us know if you have any trouble.

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    We’ve not seen any activity on this thread for a while, so I’m marking this thread as resolved.

    Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘is this url structure/query possible with wordpress?’ is closed to new replies.