Your cart is currently empty!
Change “Return to Shop” Button text in Woocommerce a WordPress plugin this is quit easy to change it using function hook. If you are not using shop or name it something like back to home or store.
Change “Return to Shop” Button text in Woocommerce
Copy below code and paste into theme function.php file
add_filter( 'gettext', 'change_woocommerce_return_to_shop_text', 20, 3 ); function change_woocommerce_return_to_shop_text( $translated_text, $text, $domain ) { ย ย ย ย switch ( $translated_text ) { ย ย ย ย ย ย ย ย ย ย ย case 'Return to shop' : ย ย $translated_text = __( 'Return to Store', 'woocommerce' ); ย ย break; ย } ย return $translated_text; }
Also make sure you must take backup of file before proceeding.
Comments
Grabber Pro
Original price was: $59.$39Current price is: $39.Custom WooCommerce Checkbox Ultimate
Original price was: $39.$19Current price is: $19.Android App for Your Website
Original price was: $49.$35Current price is: $35.Abnomize Pro
Original price was: $30.$24Current price is: $24.Medical Portfolio Pro
Original price was: $31.$24Current price is: $24.
Latest Posts
- When Data Must be Sanitized, Escaped, and Validated in WordPress
- Alternative to WordPress for High Traffic News Websites: Node.js & Other Scalable Solutions
- Build a Simple PHP Note-Taking App with AJAX
- How to Dynamically Add or Remove Classes Based on Screen Size Using jQuery
- How to Handle Sudden Traffic Spike in Website – Do Node Balancer Really Help
Leave a Reply