Private marketplace for members

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 3 reply threads
  • Author
    Posts
    • #120252

      Hello! I would like to create a private marketplace for my vendors who have signed up on the multivendor marketplace. I’m thinking adding a link to the shop in their dashboard. Is there any way to create a link in their dashboard to go to a specific url?

    • #120272
      Sushobhan
      Keymaster

      Hello,
      Thanks for getting in touch.
      From what I have understood, you just want a link/menu/button in your vendor dashboard which will take them to some other url. Now I have a couple of questions-
      1. Is it a static link or dynamic? Means, will it be different for each vendor?
      2. What will be purpose of vendor store page on your site?
      By default, the store logo (at the top left of vendor dashboard) is linked with vendor store page. Now we can change that url easily according to our need. That is one way of achieving what you want.
      Let me know.
      Thanks!

    • #127540

      Hello! Sorry for the late response. It will be a static link. It will take them all to the same store. I just want this store to be hidden from the everyday customer.

    • #127681
      Sushobhan
      Keymaster

      Hi,
      You can do so, using the following snippet, final result will be like this- https://imgur.com/PDkUSqY

      add_action( 'wcfm_dashboard_after_username', function($id) {
          if ( wcfm_is_vendor() ) {
              $external_url = 'https://myprivateurl.com';
              echo "<div class='external_url'><a href='{$external_url}' target='_blank' rel='noopener noreferrer'>{$external_url}</a></div>";
          }
      }, 100 );

      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/
      Let me know how this goes.
      Thanks!

Viewing 3 reply threads
  • You must be logged in to reply to this topic.