In case you want to have a Find in Store button to redirect to the store locator page from your WooCommerce product page, this can be achieved with just a couple of lines of code that you need to add to your functions.php of the active theme, here is the code below.
/**
* [find_in_store_button_hook Hook to add a Find in Store button]
* @return [type] [description]
*/
function find_in_store_button_hook() {
echo '<a class="btn btn-primary" href="/store-locator-url">'.__('Find in Store', 'asl_locator').'</a>';
}
add_action( 'woocommerce_after_add_to_cart_quantity', 'find_in_store_button_hook', 30 );
In the above code, we have used after-cart quantity action, if you want to place it somewhere else, you can replace that event, more events are available on the WooCommerce documentation.
Try Multi-Store Addons for WooCommerce #
The above code will just add a button, if you want your stores to appear on your product page and your users to be able to select the from the page, with the store details visible in the order and shipping with it, you can our Multi-Store Addons for WooCommerce which has a lot more features related to Stores and managing the inventory by stores.