Search and Replace Plugin (CMSR) - WooCommerce Support


WooCommerce Support

Back to User Guide

The plugin Search and Replace plugin is compatible with WooCommerce. It allows replacing the content in product descriptions, reviews and attribute labels.

Replacing Content in Descriptions and Reviews

To enable search and replace functionality for WooCommerce product descriptions and reviews, navigate to Admin Dashboard → Search & Replace → Settings → Settings tab. 

Navigation to the plugin settings - Find and Replace Plugin WordPress
Navigation to the plugin settings

Find the option Search & Replace post types and choose there a post type related to WooCommerce - Product (product).

Enabling search and replace support for WooCommerce product pages - WordPress Plugin to Mass Replace Links
Enabling search and replace support for WooCommerce product pages

Then click the button Save Changes at the bottom of the page.

Saving the changes - Mass Replace Text in WordPress
Saving the changes

Now let's create a rule. Head to the tab Replacement Rules.

Navigation to the replacement rules dashboard - Search and Replace Plugin
Navigation to the replacement rules dashboard

TIP

Learn more about creating replacement rules in this guide: Search and Replace Plugin (CMSR) - Replacement Rules

For example, we have a t-shirt as a product. And we want to replace "T-Shirt" to "TOP". Our rule will be the following:

Creating a replacement rule - WordPress Plugin Search and Replace
Creating a replacement rule

Now let's see the product page and its description before and after replacing:

Example of replacing the content on the WooCommerce product page - WordPress Plugin Search Database and Replace
Example of replacing the content on the WooCommerce product page

The same will work for the Reviews tab - before and after replacing:

Example of replacing the reviews content on the WooCommerce product page - Find and Replace Plugin WordPress
Example of replacing the reviews content on the WooCommerce product page

Replacing In WooCommerce Attribute Labels

In case, if you have variable products instead of simple Products, you can have some product variations based on attributes. In our example, we add as attributes for our t-shirt - Color and Size.

Setting up the product attributes - WordPress Plugin to Mass Replace Links
Setting up the product attributes

TIP

Learn more about WooCommerce Product Attributes.

To apply replacement rules to product attributes, navigate to the Extensions tab.

Navigation to the extensions settings - Mass Replace Text in WordPress
Navigation to the extensions settings

Find the option Search & Replace in WooCommerce Attribute Labels and enable it.

Enabling search and replace functionality in WooCommerce attribute labels - Search and Replace Plugin
Enabling search and replace functionality in WooCommerce attribute labels

Then click the button Save Changes at the bottom of the page.

Saving the changes - WordPress Plugin Search and Replace
Saving the changes

Now let's head back to the Replacement Rules tab and create 2 new rules - for replacing "Size" to "CHOOSE SIZE" and "Color" to "CHOOSE COLOR".

Creating new replacement rules - WordPress Plugin Search Database and Replace
Creating new replacement rules

Here's how it looks like on the front-end before and after replacing:

Front-end result - Find and Replace Plugin WordPress
Front-end result

This way you can easily search and replace the content on WooCommerce product pages.


More information about the Search and Replace Plugin for WordPress

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.