How can one vendor sell several brands from 1 account?

MultivendorX

Resolved
Viewing 11 reply threads
  • Author
    Posts
    • #189346
      l.gan
      Participant

      Hello
      Please tell me if you can implement a solution in the future / or suggest solutions now:

      One seller may have several brands for sale. (Distribution). But each brand needs to have its own store page.
      And the store/brand management page should be one. (statistics, etc.)

      I mean, if the “Orion Company” sells Dior, Gucci, Chanel.
      Chanel has a separate product page and a separate seller name (vendor store page Chanel )(fronted), Gucci has a separate product page and a separate seller name (vendor store page Gucci )(fronted), Dior has a separate product page and a separate seller name (vendor store page Dior)(fronted).

      But in the back end, they are all managed by “Orion Company”. And Orion enters his account and can manage all 3 brands at the same time. he does not need to re-login?

    • #189374

      Thanks for the suggestion . I have forwarded this to the Product enhancement team. Depending upon mass request and availability of resources, the team would be in a situation to proceed further.
      You can keep track of the enhancement from here https://github.com/multivendorx/MultiVendorX/issues/338

    • #189385
      l.gan
      Participant

      Hello

      Thanks for the feedback. It would be great.

      For now, could you give me a couple of pieces of code / solutions so that I can temporarily use them?

      1.How can I disable the vendor store page? I need to hide vendor store for clients. (fronted).

      2. How to hide the ability to go to the vendor’s store from the dashboard (backend)?

      3. How to disable followers in the dashboard (backend)?

      4. ORDERS:
      4.1. How can I add a column with the attribute name “pa_brand” to the column in photo 1?.
      4.2.Is it possible to filter by the “pa_brand” attribute – for example, so that the “Orion Company” can select only “Gucci” orders? in photo 2.

      5. PRODUCT MANAGER:
      5.1. How can I add a column with attribute name “pa_brand” to the column in photo 3.
      5.2. Is it possible to filter by the “pa_brand” attribute – for example, so that the “Orion Company” can select only “Gucci” orders? in photo 4.

      Thanks, sorry to bother you

    • #189396

      Our team will check and get back to you.

    • #189398
      l.gan
      Participant

      3. How to disable followers in the dashboard (backend)? – I turned this off.

      Please help me with other questions. Thank you

    • #189482

      Hi, our replies are inline :

      1.How can I disable the vendor store page? I need to hide vendor store for clients. (fronted).

      >> Reffer to this link https://multivendorx.com/docs/code-snippet/hide-vendors-shop-page/

      2. How to hide the ability to go to the vendor’s store from the dashboard (backend)?

      >> Add this code in the function.php of the theme :
      `add_action(‘wp_before_admin_bar_render’, ‘remove_toolbar_items’);
      function remove_toolbar_items() {
      global $wp_admin_bar;
      $wp_admin_bar->remove_menu(‘vendor_dashboard’);
      }`

      4. ORDERS:
      4.1. How can I add a column with the attribute name “pa_brand” to the column in photo 1?.
      >> Use this filter to add the coloumn by adding your own code :
      mvx_datatable_order_list_table_headers

      4.2.Is it possible to filter by the “pa_brand” attribute – for example, so that the “Orion Company” can select only “Gucci” orders? in photo 2.

      >> Use this hook to add extra filter by adding your own code : mvx_vendor_order_list_add_extra_filters

      5. PRODUCT MANAGER:
      5.1. How can I add a column with attribute name “pa_brand” to the column in photo 3.
      >> Use this filter to add the cloumn mvx_vendor_dashboard_product_list_table_headers

      5.2. Is it possible to filter by the “pa_brand” attribute – for example, so that the “Orion Company” can select only “Gucci” orders? in photo 4.
      >> Use this hook to add extra filter by adding your own code :
      mvx_products_list_add_extra_filters

    • #189514
      l.gan
      Participant

      Thanks for your wonderful help!

      Can you please tell me if you have examples with adding an attribute?

      I searched for items 4-5, by the names of the hooks, but found only the addition of the SKU, and the delivery address. For example: https://multivendorx.com/support-forum/topic/orders-table-earnings-commissions-and-shipping-cost/

      Can you give a code that is suitable for adding an attribute?

      Thanks again for the great plugin support

    • #189527

      @l.gan, our team will check and get back to you.

    • #190030
      promita
      Keymaster

      Can you please explain this a bit more i.e. what are you referring as “Can you please tell me if you have examples with adding an attribute?”

    • #190145
      l.gan
      Participant

      Hello

      thanks for the answer

      I have added a Brands column, but I don’t understand how to get the value of the “pa_brand” attribute for each product in this column. Could I ask you to help me with this?

      add_filter( ‘mvx_vendor_dashboard_product_list_table_headers’, function($headers) {
      $headers[‘vendor_brands’] = __( ‘Brand’, ‘multivendorx’ );
      return $headers;
      } );
      // For add that headers content
      add_filter( ‘mvx_vendor_dashboard_product_list_table_row_data’,
      function( $row, $product, $filterActionData, $requestData ) {
      $row[‘vendor_brands’] = $product->????
      return $row;
      }, 10, 4 );

    • #190247

      Our dev will check and get back to you.

    • #190319
      promita
      Keymaster

      Hi l.gan, To get the value of the “pa_brand” attribute add this code in functions.php of your current active theme:

      
      add_filter( 'mvx_vendor_dashboard_product_list_table_headers', function($headers) {
          $headers['vendor_brands'] = __( 'Brand', 'multivendorx' );
          return $headers;
          } );
          // For add that headers content
      add_filter( 'mvx_vendor_dashboard_product_list_table_rows',
          function( $row, $product ) {
              $row['vendor_brands'] = $product->get_attribute('brand');
              return $row;
          }, 10, 2 );
      
      Copy
Viewing 11 reply threads

The topic ‘How can one vendor sell several brands from 1 account?’ is closed to new replies.