• Resolved jimbothigpen

    (@jimbothigpen)


    I know how to find the URL for product categories that show products that belong to BOTH cat1 AND cat2 (/?product_cat=cat1+cat2), as well as product categories that show products that belong to EITHER cat1 OR cat2 (/?product_cat=cat1,cat2), but is there any way to get URLs for more complex combinations?

    For instance, products that belong to:

    EITHER (BOTH cat1 AND cat2) OR (BOTH cat3 AND cat4)
    (/?product_cat=cat1+cat2,cat3+cat4 doesn’t work)

    BOTH cat1 AND NOT cat2
    (/?product_cat=cat1+!cat2 doesn’t work)

    Or any boolean-type combinations that aren’t covered by simple “+” or “,” combinations?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there @jimbothigpen

    As I understand, you would like to offer more ways for the products to be grouped and displayed to the store’s visitors. Correct?

    My suggestion would be to create those categories in the backend and then display them using the Products by Category block, for displaying them on the front-end.

    Linked here is a screenshot showcasing a few of the options for that block.

    Feel free to learn more about WooCommerce Blocks at this page.

    I trust that points you in the right direction, but if you have more questions, let us know. We’re happy to help.

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Since we haven’t heard from you for a while, I’m marking this as resolved. We’re always here to help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Product Category URLs for Complex Combinations’ is closed to new replies.