I am trying to understand how I can make a page show certain products if ALL of the categories match. So for instance, if the page has this code
[products limit="16" columns ="4" category="interior,lighting"]
I would want it to only show products that have both the interior and lighting category specified. Right now, this means that either of these categories will show.
You could use
cat_operator
as part of your shortcode andAND
relationship, like so:You could read more about it on the documentation page:
Woocommerce shortcodes