• Developing a site and Yith Wishlist works as expected for non-logged in users, admin user and customer. However, there is a custom user role vendor from WC Vendors that doesn’t behave right. Is there any known issue with custom user roles and wishlist functionality?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi there

    Plugin doesn’t in any case check user’s role, so I don’t think this could be the source of the problem
    Could you please describe me better the issue your Vendors are facing?

    Thread Starter gsibert

    (@gsibert)

    yith-woocommerce-wishlist.php does call the WC_customers class which refers to the customer role… though I don’t enough to know if that means anything.

    Here’s a very short video showing the issue. The first part is logged in as a Vendor and the second part is the proper function which works for non-logged in, customers, and admin role. It’s just the vendor role created by WC Vendors that doesn’t work right. I did try this on a complete cache free development environment with the same result.

    Plugin Author YITHEMES

    (@yithemes)

    Hi there

    I checked your video, and I can see the issue
    Anyway, I’m not totally sure this could be caused by wishlist itself

    I’d like to test directly on your installation; is registration for vendors open on your site?
    Could you please share with me url where I can register?

    Thread Starter gsibert

    (@gsibert)

    Plugin Author YITHEMES

    (@yithemes)

    Hi again

    I just submitted a request to become a vendor; could you please confirm my account, so I can check the problem?

    Thread Starter gsibert

    (@gsibert)

    Done

    Plugin Author YITHEMES

    (@yithemes)

    Thank you!

    I just checked, and it seems that the product is correctly added to wishlist
    Anyway, the answer of the ajax call contains what follows: screen

    Needless to say, that style tags shouldn’t be there, and aren’t added by our plugin
    My best guess is that they are added by the plugin that manages Multi Vendor features
    Do you think you could point this out to plugin developers, to see if this is something that they already experienced?

    Thread Starter gsibert

    (@gsibert)

    Are you saying that logged in as a vendor it functions the same as if you aren’t logged in? I don’t find that to be true.

    Thread Starter gsibert

    (@gsibert)

    I am seeing the error you pointed out, and it only happens when logged in as a vendor. Thanks for the lead, I can follow that trail. I’ll post if I find anything.

    Plugin Author YITHEMES

    (@yithemes)

    > Are you saying that logged in as a vendor it functions the same as if you aren’t logged in?
    Just to clarify, I can see the error; ajax call seems to work just fine, but then js error block execution of subsequent operation (update button and wishlist counter)

    > I’ll post if I find anything.
    Thank you, let me know if I can help

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘User Role Issue’ is closed to new replies.