• Resolved topcat99

    (@topcat99)


    Hi, i’m trying to use cat_operator to show products that are in BOTH two categories, but it does not work. I’ve used this shortcode:
    [products limit=”8″ columns=”4″ category=“alojamento-local,faial”? cat_operator=”AND”]
    I have double checked the category slugs, and made sure there are products that match the query, but the shortcode displays all the products instead of the one that matches the query. Can you help me? Thank you. I have Woocommerce 5.9.0.
    Sigfrido

    • This topic was modified 2 years, 11 months ago by topcat99.
    • This topic was modified 2 years, 11 months ago by topcat99.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • @topcat99

    Kindly check this thread, I found it helpful

    Thread Starter topcat99

    (@topcat99)

    Thanks Oyadeyi, i had seen that thread already, but unfortunately didn’t help. I did exactly what suggested in the thread, but it does not work ??

    Hi there,

    The syntax seems to be correct, I am just wondering if the quotes are creating the issue.


    Link to image: https://snipboard.io/m5MPDy.jpg

    Can you please replace:
    [products limit=”8″ columns=”4″ category=“alojamento-local,faial” cat_operator=”AND”]

    With:
    [products limit="8" columns="4" category="alojamento-local, faial" cat_operator="AND"]

    Does that make a difference? Let us know.

    We haven’t heard back from you in a while, so I’m marking this thread as resolved – we’ll be here if and/or when you are ready to continue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘cat_operator does not appear to work’ is closed to new replies.