How to change review submit button text in Woocommerce?

In this tutorial we’ll learn how to change review submit button text on product pages in woocommerce. By default the text ‘Submit’ is being displayed on that button.

woocommerceWe can change this text to any text of our choice.

Now let’s say I want to change the text of this button to ‘Review’.

To do this go to installed plugins section under plugin and click on the edit link under woocommerce.

woocommerceThis will take you to the editor.

Now find the file single-product-reviews.php and click on it to edit.

woocommerceNow search for this line of code:

'label_submit' => __( Submit, 'woocommerce' ),

And replace the ‘Submit’ text with the text you want to set.

'label_submit' => __( Review, 'woocommerce' ),

Click on update file after that.

woocommerceAfter saving the file, go to product page again and you’ll see the submit text changed.woocommerceCHEERS J

Waqas

I hope you enjoy reading this blog post. If you want my team to do WooCommerce Maintenance for you, click here.

Leave a Comment

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