Home › Forums › Themes Support › Claue › Add a new icon for Vendor Store
Tagged: vendor dashboard, dashboard
- This topic has 3 replies, 2 voices, and was last updated 6 years, 1 month ago by consciouscrafties.
-
AuthorPosts
-
-
February 23, 2018 at 7:16 pm #17371
Hi there,
I’d like to make it easy for vendors to get to their vendor dashboard.
Is it possible to add an icon of a shop in between the favourites heart and shopping bag in the main menu when vendors are logged in? (I have nav menu roles plug in).See attached screenshot.
Many thanks,
Karen
Attachments:
You must be logged in to view attached files. -
February 24, 2018 at 12:20 am #17380
Hi,
Please copy file layout-5.php from claue > views > header to claue-child > views > header and add below code
if (class_exists('WCV_Vendors') && WCV_Vendors::is_vendor(get_current_user_id())) { $page = WC_Vendors::$pv_options->get_option( 'vendor_dashboard_page' ); echo '<a class="vendor-dash-link nice-button" id="vendor-link" href="' . get_permalink( $page ) . '"><i class="fa fa-dashboard"></i></a>'; }
to line 23 in layout-5.php
I refer from this topic https://www.wcvendors.com/help/topic/add-vendor-dashboard-link-to-menu-but-make-it-only-visible-to-vendors/
If it doesn’t work please ask support from WC vendor team.
Best regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
February 24, 2018 at 1:00 am #17381
Hi Harry,
this broke my site (white screen) so I’ve raised a ticket with WCV
-
March 4, 2018 at 1:23 am #17729
Hi Harry,
You can mark this one as resolved too after you helped me add the vendor dashboard link to the My account icon 🙂
-
-
AuthorPosts
You must be logged in to reply to this topic.