Hello @aizensoft ,
Can you please specify in which menu you want to add the store button? Is it on the navigation menus of the site or in the dashboard menu?
Depending on your theme you may need to use different hook to add the menu. But I can show you the way of getting the store URL –
global $current_user;
$user_id = $current_user->ID;
<a href="<?php echo dokan_get_store_url( $user_id ); ?>" target="_blank"><?php _e( 'Visit your store', 'dokan-theme' ); ?> <i class="fa fa-external-link"></i></a>
A great example of this implementation is our default Dokan Theme –
https://github.com/weDevsOfficial/dokan-theme/blob/786020dc1791e32e2dcebedb5465039921ab9ff4/includes/template-tags.php#L275
I hope you can get an idea from this and use it accordingly in your theme.
Thank you.