Introduction
You may notice the “Shop” title or link appearing in different places throughout WooCommerce, even though your page is called something else.
The Solution
- Ensure your Shop page is actually called what you want it to be called by going to , hovering over the page and choosing
- Ensure the Slug matches your shop page title
- Go to Products tab to ensure the correct Shop page is linked in the Product Archive/Shop drop-down > and click on the
If you still see the text in breadcrumbs or widgets, you will need to change it using a translation plugin, or custom function:
Plugin
The most fool-proof and easy to manage way to do this is to use a theme translation plugin to change any text elements in the WooCommerce plugin (this is not defined by the theme).
Custom Function
If you are a developer or are comfortable with modifications, you can try adding a custom functions file to the theme with the following code. Note that this code is valid as of WooCommerce 2.1, and is not tested or directly supported by Obox. For extended help with WooCommerce modifications, please visit the WooCommerce homepage.
This is considered a modification, and is provided as-is. We expect you understand what you are doing if applying coding changes using these or other WordPress tutorials. Make a backup of your existing file so you can replace it if something goes wrong and you need to start over. Modified files WILL probably be replaced by a theme update at some point, so keep note of your changes for future reference or see our guides below. We cannot assist you with modifying your theme or support problems you encounter as a result!
If you are modifying a theme as part of a client project, the following are really important!
How to Modify Your Theme the Right WayHow to Track Update Changes and Maintain Modifications
add_filter( 'woocommerce_page_title', 'woo_shop_page_title');
function woo_shop_page_title( $page_title ) {
if( 'Shop' == $page_title) {
return "My new title"; }
}
If you are still seeing “Shop” appear in breadcrumbs or widgets, you may add a custom function to rename the text.
Did You Know?
You can also use the WooCommerce Product Label extension to add custom labels to your products, promoting specials, free products or grab attention.