hakan.mittsParticipantJanuary 27, 2016 at 8:59 pmPost count: 6
I tried to email you but got no answer, hopefully I can get some guidance here.
I’m setting up a site where site members are able to sell their products. So members are vendors at the same time. To create a good Member experience, the current plan is to use Ultimate Member. In practice what this means is that user register via Ultimate Member and not via Marketplace (or so I would hope).
I tested Marketplace by assinging the Vendor role to a user that was already logged in, but in this way Marketplace does not seem to work. I can see the dashboard but edits fail (I get the message “All Options Updated” but the store name and the slug do not update (addreses and banner seem to do so, but not sure).
Also trying to add products fails, the user is redirected to the site main screen.
So my questions:
– Is it possible to get Marketplace to work so that the user register via UM?
– If yes, then what should I do?
hakan.mittsParticipantJanuary 28, 2016 at 9:25 amPost count: 6
I talked with UM developers and now I have full access to the admin bar but I can still not:
– set the store (name and slug are not set)
– I can create a product and send it for approval but the product is “lost” after that (I guess because the Vendor information is not properly set in the product as the store name and slug setting fails.
hakan.mittsParticipantJanuary 28, 2016 at 12:07 pmPost count: 6
The first level solution was embarrassingly simple. There is a setting for UM Roles “Access wp-admin” which just needed be be set to “on”. This opened a view into the admin page (actually a more elaborate view that I need, but that is a happy problem at this point).
So the user is now created with UM, has a UM role and then I also assigned the WP/Marketplace “Vendor” role to the user.
With this setup, still cannot set store name and slug and the product does not get “tagged” as a Marketplace product.
hakan.mittsParticipantJanuary 28, 2016 at 7:58 pmPost count: 6
Hi. No prob. Perhaps I found some sort of symptome? I activated a capability editor (Members) and noticed that the Vendor had more or less no capabilities (Read, Edit post, Mananage Products and wc_reports). I then tried to add some capabilities but could not, when I try to update the capabilities I get a message
Warning: call_user_func() expects parameter 1 to be a valid callback, function ‘post_thumbnail_meta_box’ not found or invalid function name in /var/www/vhosts/dokk.fi/httpdocs/wp-admin/includes/template.php on line 1090
What capabilities should the role Vendor have?
hakan.mittsParticipantJanuary 28, 2016 at 8:59 pmPost count: 6
So here is what seems to be going on:
– any time when I activate WC Marketplace, the capabilities of dc_vendor role go to -> 4 capabilies and I cannot edit them so that the change is permanent
– when I disable WC Marketplace, the “correct” capabilities (re)appear and I can freely edit the capabilities and they stay
So somehow it seems that WC Marketplace “overwrites” the capability?? I don’t really understand how this is happening but it is 100% reproducible.
dualcubeKeymaster12 ptsJanuary 29, 2016 at 3:57 amPost count: 556
Can you please confirm if the above scenario comes into picture when UM is active or is it independent of that i.e I mean even when you only have WooCommerce and WC Marketplace plugins in your site.
Looking forward to your response.
hakan.mittsParticipantJanuary 29, 2016 at 6:23 amPost count: 6
This is totally independent of whether or not UM is active or not. Starting WC Marketplace resets Vendor capabilities and after that prevents editing them. Or to be more exact, seems I can edit them (I managed to remove the error message, it was not the reason here), no error during edit, but then “something” comes and overrides the settings..
dualcubeKeymaster12 ptsJanuary 29, 2016 at 4:30 pmPost count: 556
Let’s try to get this issue fixed. Can we have a one-to-one conversation over live chat. If yes, please ping me as per your availability. In case I am not around, I shall drop you an email to schedule the discussion.
Please LOGIN to reply to this topic