Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Nav menu issue in Buddypress profile for non-vendor customer role account
- This topic has 9 replies, 3 voices, and was last updated 4 years, 7 months ago by Auhouse.ru.
- AuthorPosts
- August 18, 2019 at 11:40 am #77187sho_amanoParticipant
A link button to the store manager is displayed on the Buddypress profile of a customer role account that is not registered as a vendor.
Of course, nothing happens when you click this Store Manager link.Is there any way to hide this?
Theme : Kleo 4.9.10
WCFM – WooCommerce Multivendor Marketplace: 3.1.8
WCFM – WooCommerce Frontend Manager – Ultimate: 6.2.7
WCFM – WooCommerce Frontend Manager: 6.2.7
BuddyPress: 4.4.0
WooCommerce: 3.7.0Attachments:
You must be logged in to view attached files. - August 20, 2019 at 8:36 am #77469WCFM ForumMember
Hi,
Please add this code to your site –
add_filter( 'wcfm_is_pref_buddypress', function( $is_pref ) { return false; }, 850 );
Add this code to your child theme’s functions.php
In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/Thank You
- August 21, 2019 at 2:09 am #77577sho_amanoParticipant
Thank you for your reply.
I entered the code you wrote in the specified location, but it doesn’t work.
Unfortunately I’m not a programmer, so I might be doing something wrong.
A screen shot of the entered part is attached, so make sure there are no mistakes.Attachments:
You must be logged in to view attached files. - August 22, 2019 at 5:05 pm #77823WCFM ForumMember
Hi,
Please add this code using this plugin and check once – https://wordpress.org/plugins/code-snippets/
Thank You
- August 23, 2019 at 6:04 am #77946
- August 28, 2019 at 4:28 pm #78785WCFM ForumMember
Hi,
Please go to WCFM Admin Setting -> Modules -> Set OFF “BuddyPress Integration” module – https://ibb.co/my8tXmD (there is only one module without image)
Thank You
- August 28, 2019 at 10:40 pm #78840sho_amanoParticipant
If I turn it off, the Store Manager link icon will disappear from the Buddypress Profile Page for all roles, right?
I want to hide that icon from roles other than Store Vendor.
- August 28, 2019 at 10:47 pm #78846sho_amanoParticipant
Wow!!!
I turned it off and then turned it on again and the problem was solved!!!
Thank you so much!!!! - August 30, 2019 at 7:44 am #79177WCFM ForumMember
You are welcome 🙂
- May 26, 2020 at 2:42 pm #135352Auhouse.ruParticipant
sho_amano hi, I like what your Buddypress menu looks like, share how you did it?
Attachments:
You must be logged in to view attached files.
- AuthorPosts
- You must be logged in to reply to this topic.