Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WC Marketplace › hide vendor storefront info
- This topic has 5 replies, 2 voices, and was last updated 6 years, 7 months ago by WCFM Forum.
- AuthorPosts
- May 17, 2018 at 7:31 pm #23496luanneGuest
Hi, I have WCMarketplace with WC Frontend Manager. On the vendor’s dashboard store settings I would like to hide some of their information from being viewed on my site:
On branding, Social Profile Manager, and Customer support tabs:
Shop Phone Number
Store Address
Store Email(except email provided by my website)Only reason is so that customers don’t bypass my site for theirs!
Thank-you
- May 18, 2018 at 6:31 am #23505WCFM ForumMember
Hi,
Thanks for get in touch with us.
I understand your requirement.
Kindly ad this code snippet to your site –
add_filter('wcmp_vendor_store_header_hide_store_address', '__return_false' ); add_filter('wcmp_vendor_store_header_hide_store_phone', '__return_false' ); add_filter('wcmp_vendor_store_header_hide_store_email', '__return_false' );
Please know me is this helpful for you or not!
Thank You
- May 18, 2018 at 5:35 pm #23525luanneGuest
Thank you for your reply. I tried to paste that code in the customizer, but I got the “red flag” warnings stating that it could break my site.
I tried adding it to the end of the Woocommerce Front End Manager Plugin editor, but I also got a warning.
On the last line of that plugin code, there is ?>. Should the new code be pasted after that on the same line, or should it be pasted on the following line?
Also, do I need to add } before or after the code is pasted? - May 18, 2018 at 6:23 pm #23527WCFM ForumMember
Hi,
I have given you a PHP code, where you were trying to add this?
This should be at child theme’s functions.php
Thank You
- May 19, 2018 at 7:41 pm #23552luanneGuest
I tried that too, and this is the message I get: “Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.”
- May 20, 2018 at 3:08 pm #23582WCFM ForumMember
hi,
Why you are not trying from File system using FTP client or cpanel?
WP file editor always not work properly and it has many reasons.
Thank You
- AuthorPosts
- The topic ‘hide vendor storefront info’ is closed to new replies.