Okay
  Public Ticket #3620234
Vendor Creation
Closed

Comments

  • Mauro started the conversation

    Hello,

    I am having some issues with the Vendor registration feature of the Market King plugin. I have created a page with a MK registration form for vendors, so that only a specific user role can access the page and create a store. However, when a user with that role sends the application, he is redirected to the home page without anything happening. I have tried filling the same form as Admin and the Store was created correctly, so the issue could be with the permissions allowed to the custom role (it has been created duplicating the Customer role) or with the fact that the role is a Custom role itself.

    Also, ideally it would be great if the plugin could automatically create a store for new users with the custom role I created specifically for these types of vendors.

    I look forward to hearing from you.

    All the best,

    Mauro Piccillo

  •  1,883
    WebWizards replied

    Hello Mauro,

    Thank you for purchasing our plugin,


    It does sound like there may be a missing permission somewhere, although I'm also not completely sure where. It shouldn't be a problem that a custom role is used, but maybe that role lacks a specific permission / something is preventing it from submitting the form.

    It would be great if we could check this directly and test. For that, would it be possible to share a backend login to the site, or to a staging clone site? I can then go through the code and see what exactly happens and where the issue is.

    (if so, please also let me know what role it is / how to test for the issue).


    Also, ideally it would be great if the plugin could automatically create a store for new users with the custom role I created specifically for these types of vendors.

    This may be achievable, it depends on how these new users are created. Are they created manually or is there a registration form that registers users into this role?


    Kind regards,

    Stefan

  •   Mauro replied privately
  •  1,883
    WebWizards replied

    Thank you for the access details,

    I looked into this now on the site,


    It seems in general this doesn't work for any non-admin users, not specific to the Vivaio role,

    I believe some plugin or code is restricting this. I will be doing some further tests and trying to get back to you with a solution to this later today. 

    Will message here again with more info shortly.


  •  1,883
    WebWizards replied

    Thank you for your patience on this,


    After some more testing, it seems the following plugin is changing how this works:

    Indeed Ultimate Affiliate Pro

    If this plugin is disabled, then that form seems to work for all users (as it should), both the Vivaio role and other roles like Cliente.

    If that plugin is enabled, it no longer seems to work for any non-admin user.

    Another thing I notice is that if I disable that plugin, the Vivaio role seems to get an admin bar on the frontend, other roles do not, but that probably has to do with how the role is configured. My guess is that plugin adds some frontend restrictions, including a restriction to process forms / save data like our form.


  • Mauro replied

    Hello and thank you for your feedback!

    Do you think it might be just some of the plugin's component that create this conflict or should I remove it altogether? Do you know of any affiliate plugins that work correctly with MarketKing?

    Also, is there a way I can automatically have MarketKing add a new user with the role Vivaio as a Vendor/Store?

  •  1,883
    WebWizards replied

    I am not completely sure why that plugins does that / what it does technically. Normally any affiliate plugin should work, I have not seen this result before. It may be worth to ask their team about it in case they understand what is happening - I think maybe there is a simple fix.


    Also, is there a way I can automatically have MarketKing add a new user with the role Vivaio as a Vendor/Store?

    I believe you are registering Vivaio role users using a WPForms form? I think I could add a code snippet that makes a wpforms form also set users as vendors directly. Could you provide me with the link to which specific form is being used?


  •   Mauro replied privately
  •  1,883
    WebWizards replied

    I have set up a code snippet on the site that makes that form auto-register vendors.

    I tested and I believe this is working.

  • Mauro replied

    Perfect thank you!

    You have been great, everything seems to work correctly now!

  •   WebWizards replied privately