• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Home
  • Blog
  • Sample Page

WordPress Tips

Just another WordPress site

Change the WooCommerce Shop Page URL

July 11, 2017 Leave a Comment 1

WP Beaches ~

You can change the WooCommerce shop URL with a filter that WooCommerce provides, this can be helpful especially if you have a one product based shop and you want your users to return to that product and not the default shop page URL.

The filter to use is aptly named – woocommerce_return_to_shop_redirect

add_filter( ‘woocommerce_return_to_shop_redirect’, ‘st_woocommerce_shop_url’ ); /** *

Filed Under: woocommerce, WordPress Tagged With: woocommerce, WordPress

Reader Interactions

Related Posts

  • WooCommerce Direct Checkout Review: Add a “Buy Now” Button + More
  • Media Temple Managed WordPress Hosting: Overview and Review
  • Transform Your Gym with a Booking Plugin
  • Hotjar Heatmap Analytics: An Overview and Review

Leave a Reply Cancel reply

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

Primary Sidebar

Copyright ©2019 · WPress.Tips - All Rights Are Reserved · Powered by Genesis Framework