Could you add regexp matching to filters?
-
Hi,
We are currently experimenting with this plugin to export a portion of the products to various ad systems. Our goal would be to filter by product brand and categories. I know that the “brand” taxonomy is not part of the default WooCommerce product data set but most feed plugin handle quite well custom taxonomies like yours.
Since filter rules are always evaluated using the “AND” operator, we can not create one feed that includes only specific brands of the catalog.
If there would be a regexp matching in the conditions it would be however possible to have a list of “OR”-ed brand names that could be then narrowed down with a separate category filter.
You already seem to use preg_match() while retrieving product data, perhaps this wouldn’t be that big project but who knows ??
- The topic ‘Could you add regexp matching to filters?’ is closed to new replies.