Woo Commerce Change Text

Glenn Blog 0 Comments

Use the following jQuery snippet to quickly change the text in multiple Woo Commerce fields like ‘Related’ text and ‘Description Tab Title’


// Woo Commerce Related products
jQuery(".woocommerce .related h2").html("Related");

// Woo Commerce Description Tab Title
jQuery(".woocommerce div.product #tab-description h2:first-of-type").html("More Info");

To change other Woo Commerce titles, tabs etc simply inspect the code that you want to change, locate the element and substitute the code above and enter your text in ‘html’.

About the Author
Woo Commerce Change Text 0da77002febbfe28d15144a57bbcc2c9 s 180 d mm r g

Glenn

A highly experienced WordPress Web Developer, Front-end and Back-end Developer & New Media Specialist with extensive knowledge of a wide spectrum of technologies in the Development and Creative Industries built up over a number of years.

Leave a Reply

Your email address will not be published. Required fields are marked *