Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards

Default shipping class by supplier when adding products

Theme and Plugin Support

Resolved
Viewing 19 reply threads
  • Author
    Posts
    • #129818
      michaeltaly97
      Participant

      Hello,

      I use WCFM and I need to ask a question.

      We use the mail delivery method in our store, but we want to make this method available to all suppliers, and for that we had the idea of ​​creating a shipping class for each supplier with POST as a shipping method.

      So far it worked, however, we want to have the option of taking this class and leaving it standardized for this supplier, and whenever they add a product to that specific class, is there any way to do this via code in functions or something like that ?

      Example:

      Class:
      Supplier1

      Supplier ID:
      0001

      Example Code:

      (If supplier 0001 includes a product, it must be linked in class Supplier1).

      And so follows the order of the code for the other suppliers.

    • #129822

      Hello @michaeltaly97, thank you for reaching WCMp Support.

      Our plugin WC Marketplace by default lets the vendor access all the default shipping methods of WooCommerce i.e. Free Shipping, Flat Rate and Local Pick up. Now as you want to let vendor access another method, in that case you can direct them to the backend add product page. Or you can do custom code and integrate this shipping method into the vendor dashboard.
      Also, by default whenever a vendor is created, we create their corresponding shipping class and all their products are assigned with this shipping class by default.
      Please note, WCFM is a separate third-party plugin and not compatible with WCMp.

      • #129869
        michaeltaly97
        Participant

        Hi, another question, I’m using WCMP now, and I have a question, when I try to create the registration page and go to the address, the following message appears:

        The administrator needs to add a plan in order to allow the supplier to register on the site.

        What plan would that be? Because the intention is that everyone register and only pay the commission on the sale.

        Thanks!

    • #129867
      michaeltaly97
      Participant

      Thank you very much for the quick feedback congratulations!

      Another question, in this plugin of you know where I can edit the final panel appearances? Because I’m from Brazil, I need to translate some things that I don’t translate locally, translate and adjust the design.

      As for shipping, how can I allow the client to access the backend so he can configure the plugin already linked to his class, is there any code model that can help me?

      Or even some code that I can perform manually every time a seller registers on my site, I link the submission of his class, I just need that when he adds a product he pulls this class automatically without the need to register manually in the product.

      Thanks!

    • #129894

      Hi ,
      I’m using WCMP now, and I have a question, when I try to create the registration page and go to the address, the following message appears:
      Can you provide a short video so that we can understand your query better . because WCMp by default creates two forms for vendors that is ( vendor registration and vendor dashboard ) , and the error that you are talking about can only pop if you are applying your vendors for some membership plan .
      can edit the final panel appearances? Because I’m from Brazil, I need to translate some things that I don’t translate locally, translate and adjust the design.
      In case you want to translate few settings you can use loco translate : https://multivendorx.com/knowledgebase/wcmp-translation-guide/
      This documentation can guide you through the process
      As for shipping, how can I allow the client to access the backend so he can configure the plugin already linked to his class, is there
      WCMp provides a separate backend for the vendors . Now , the admin can allow the vendors to configure their own settings after they have configured the settings from their end .Note the shipping class that will be created for the vendor will get reflected on the vendor dashboard itself .

    • #129962
      michaeltaly97
      Participant

      Thanks for the feedback, however, the options that the plugin provides are not enough, we would like to work with mail, in this case when a seller registers, when he posts the product will it be automatically linked to that class of his that is automatically created by the plugin?

    • #129964

      Hi @michaeltaly97, can you please share some scrrenshot to explain this “he can configure the plugin already linked to his class”.

    • #130041
      michaeltaly97
      Participant

      Hi how are you?

      As for shipping, I’ll organize the prints and forward them to you.

      The problem I’m having is the translation, I used the translater loco and translated all plugins in 100% to Portuguese, I even tried to edit the source file changing to Portuguese, but most of my panel is still in English and I don’t think a way to translate.

      Attached is an image with fields highlighted in yellow when qualifying in English, besides this I have others, but in Loco Tradução there is nothing left to translate, and even the panel file I translated and nothing has changed.

      Example:

      I edited the vendor-report.php file on line 40

      In:
      <?php esc_html_e(‘Total sales’, ‘dc-woocommerce-multi-vendor’); ?>

      For:

      <?php esc_html_e(‘Total Sales’, ‘dc-woocommerce-multi-vendor’); ?>

      • #130045
        michaeltaly97
        Participant

        Just correcting it, I changed:

        in:
        <? Php esc_html_e ( ‘Total Sales’ , ‘dc-woocommerce-multi-vendor’); ?>

        For:

        <? php esc_html_e ( ‘Vendas totais’ , ‘dc-woocommerce-multi-vendor’); ?>

    • #130083

      Hi,
      Kindly note that we tried to recreate this on our end but didn’t face any such issues.
      Kindly refer to the link: https://www.loom.com/share/ef8804c66ded4c63ab8fd143db9bcd0a
      Also,
      After translating the text using Loco translate, go to “Tools” in vendor dashboard and click on “Clear Transient” and reload Vendor dashboard page.
      Do keep us posted.

      • #130230
        michaeltaly97
        Participant

        Hi!

        I really appreciate your support, I managed to translate a panel, the problem was the lack of synchronization in Loco Translate.

        As for transport, if you don’t print below, I can include a button with the action (Print Shipping Label), and we are the ones who will attach this label, as the shipping will be paid by the marketplace.

    • #130233
      michaeltaly97
      Participant

      I have a very critical problem.

      I registered a test seller, and most of the orders don’t appear on the seller’s panel, just a few.

      I’m forwarding the print of orders that we got between 07/08/2021 and 08/11/2021 from the same seller, totaling 5 orders, and the seller’s panel only shows 3 orders that are old.

    • #130257

      Hi,
      We tried to recreate this on our end but didn’t face any such issues.
      Please note we display only On Hold, pending, processing and completed orders. As you are facing this issue, can you please create a staging site and share the admin, ftp access.
      While sharing the access, don’t forget to mark the response as private.

    • #130277
      michaeltaly97
      Participant

      Hello,

      It has now appeared on the dashboard. Is it normal every time someone generates an order, the system creates 2 orders being the main and a suborder?

      Thank you very much for the support you have provided with all my doubts, I will definitely recommend the plugin to friends in Brazil.

    • #130287

      Hi,

      Yes it the default flow of order that whenever an order is placed, a main order and corresponding sub-order is created.

      You are welcome.

    • #130398
      michaeltaly97
      Participant

      Hello, is it possible to remove this so that the system does not create two orders?

    • #130437

      Let me help you out with our flow. Sub order is an integral part of WC Marketplace allowing vendors to manage their respective orders. When customer completes the checkout, there will be different sub orders for every vendor. Each vendor can see the small summary of their order. All our vendor end data is calculated and fetched from sub order. i.e. vendor commission, vendor report, banking overview, payment history etc
      Admin can also view the suborder from their order menu. Beside each parent order section, the admin can also see the suborder section.
      Please refer the link to fetch more details regarding it’s functionality- https://multivendorx.com/knowledgebase/wcmp-split-order-module/
      so sub orders can’t be removed. But you can hide this or display parent order number instaed of sub order.
      let us know where do you want to see these changes, so we can help you out accordingly.

    • #130493
      michaeltaly97
      Participant
      This reply has been marked as private.
    • #130514

      Hi,
      The current user must have

      list_users
      Copy

      capability.

    • #130684
      michaeltaly97
      Participant

      Hi,

      Where do I get the token of each logged in user, is it possible?

      Because I want to do an integration, and in this integration, get the data through the seller’s login.

    • #130723

      Hi,
      what do you mean by a token?

    • #130763
      michaeltaly97
      Participant

      Hi,

      I’m trying to make a control panel outside of wordpress, to integrate with our ERP, but I can’t create in PHP the screen that asks for the seller’s login to get his WCMP token, I can consult a seller normally through consumer_key and consumer_secret, but I want it for example:

      Seller 1 access the url integracao.mysite.com.br and click link account, when he clicks, it asks to log in with his account from our marketplace, and after that the user data is loaded.

      I tried to do this authentication with woocommerce documentation, but without success.

    • #130774

      Hi,
      So it’s a huge task. So we can explain on our end. If current WordPress users don’t have list_users capability then you cant get details. You need to modify the code. you need to remove 107 to 109 https://github.com/wcmarketplace/dc-woocommerce-multi-vendor/blob/master/api/class-wcmp-rest-vendors-controller.php#L107-L109
      Thanks

Viewing 19 reply threads

The topic ‘Default shipping class by supplier when adding products’ is closed to new replies.