hide vendor storefront info

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 5 reply threads
  • Author
    Posts
    • #23496
      luanne
      Guest

      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

    • #23505
      WCFM Forum
      Member

      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

    • #23525
      luanne
      Guest

      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?

    • #23527
      WCFM Forum
      Member

      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

    • #23552
      luanne
      Guest

      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.”

    • #23582
      WCFM Forum
      Member

      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

Viewing 5 reply threads
  • The topic ‘hide vendor storefront info’ is closed to new replies.