How to change View Cart text in WooCommece

Estimated reading: 1 minute 121 views

After adding a product to the cart, you will see the text "View Cart". Sometimes you may need to change that text.

We can change that text with the help of a filter hook.

Add those codes in your theme/child theme's functions.php file or use 'Code Snippets' plugin to add those codes.

After using the filter hook, the text will change. Take a look below.

Note: As our product table 'View cart' text comes from Woocommerce, you can see that change will also appear in our product table as well.