As of release 7.0.9 of our plugin, we support the creation of powerful ‘find & replace’ rules. Next to the existing rule options we have introduced a find & replace rule feature which allows you to replace parts of attribute values. This feature is best explained by showing some examples.
Let’s imagine we have a product in our feed with the title: “Red Carrot Wallet“:
![Screenshot 2019-12-30 at 11.33.05 - AdTribes](https://adtribes.io/wp-content/uploads/Screenshot-2019-12-30-at-11.33.05.png)
Now let’s say we want to change the “Red” part of the title into “Blue” and leave the rest of the title. Creating the following rule will accomplish exactly that:
![Screenshot 2019-12-30 at 11.35.37 - AdTribes](https://adtribes.io/wp-content/uploads/Screenshot-2019-12-30-at-11.35.37-1024x109.png)
After re-processing the product feed the title now looks like this:
![Screenshot 2019-12-30 at 11.37.36 - AdTribes](https://adtribes.io/wp-content/uploads/Screenshot-2019-12-30-at-11.37.36.png)
Another example: our product has a color value of “golden red breeze” but the channel we are creating a feed for requires it to be “red“.
![Screenshot 2019-12-30 at 11.44.50 - AdTribes](https://adtribes.io/wp-content/uploads/Screenshot-2019-12-30-at-11.44.50.png)
Creating the following rule will change the color value to “red” in your product feed:
![Screenshot 2019-12-30 at 11.46.26 - AdTribes](https://adtribes.io/wp-content/uploads/Screenshot-2019-12-30-at-11.46.26-1024x105.png)
After re-processing the product feed the title now looks like this:
![Screenshot 2019-12-30 at 11.47.08 - AdTribes](https://adtribes.io/wp-content/uploads/Screenshot-2019-12-30-at-11.47.08.png)
And that’s all, it’s that easy!
One last point of attention, find and replace rules do not (yet) work on values which WooCommerce saves in so-called attributes like product tags and shipping details.
Do you need help creating find and replace rules? Don’t hesitate to reach out to our support team.