How to change Shop page title WooCommerce

By default, WooCommerce names the shop, simply “Shop”. While this generic title is probably adequate for most uses, you might find that you wish to change it to a custom title.

There are some ways to change the title, including using translation plugins (that will allow you to “translate” the string “Shop” to what you want), and SEO plugins, such as Yoast SEO, that allows you to change both the shop title and description.

You can even directly modify the shop’s title and slug from the “All Pages” screen on the dashboard, by choosing “Quick Edit” under your “Shop” page. However, if for whatever reason you need to do it programmatically, the following snippet will do the trick: