Peculiar Woocommerce Problem: Need to affect/replace default loop.

Alright folks, here's my question.

I've installed a plugin that allows me to set product price and visibility by the role of the user logged in. The issue is that the behavior seems to be implemented too late and causes some strange bugs.

Examples:

Product tables claiming to display 1-10 products but only showing one.
Quick Order plugins not respecting the restricted user roles, etc.,

So my question to you good folks is, how can I trick the first loop of information out of WooCommerce into being accurate and respecting the user role restrictions that we've put in place?

  • Adam Czajczyk
    • Support Gorilla

    Hello Adam,

    I hope you're well today and thank you for your question!

    That's an interesting but a bit tricky question :slight_smile: Could you tell me a bit more about your setup? I mean: what is the plugin in question, what other WooCommerce-related plugins are you using? Would would be an examples configuration of product(s) that are affected by this?

    I'm asking this because I would like to try to create a similar setup to test how it works and then I could be able to look for a solution for that.

    Ideally, it would be great if I could review your setup (just to see if I could replicate it on my test installation) so if you could grant me a support access to it that would be just perfect:

    https://premium.wpmudev.org/docs/getting-started/getting-support/#chapter-4

    Best regards,
    Adam

    • Adam
      • Site Builder, Child of Zeus

      I'd be really happy to do that, perhaps you could help me with another problem: the dashboard on that particular server is reporting that someone else has claimed it? I'm not sure how that's possible unless they just happened to get the same IP on a server before. Anyway, the current URL is at http://104.236.108.135/ if you can tell me what's happening with that?

      As for my configuration I'm using the following:

      Custom Ubuntu 16.04 server, 4.7.3 for wordpress.
      Theme is Dream Spa Version: 1.2.6
      Woocommerce is most recent version.
      We're using the most recent WP Booster plugin (on the Dev track) https://wordpress.org/plugins/woocommerce-jetpack/ and its Pro version equivalent to unlock the "show by user role" functionality.

  • Dimitris
    • Support Star

    Hey there Adam,

    hope you're doing good and don't mind chiming in here! :slight_smile:

    I'd be really happy to do that, perhaps you could help me with another problem: the dashboard on that particular server is reporting that someone else has claimed it? I'm not sure how that's possible unless they just happened to get the same IP on a server before. Anyway, the current URL is at http://104.236.108.135/ if you can tell me what's happening with that?

    Could you please elaborate a bit more on this? Do you mean our WPMUDEV Dashboard plugin?
    It's true that every domain/IP address can only be used once by a single member.

    Inspecting http://104.236.108.135/ I wasn't able to locate any errors so I'd rather start with a conflict test to narrow this down. You can do so as described in a nice flow chart here:
    https://premium.wpmudev.org/wp-content/uploads/2015/09/Support-Process-Support-Process.gif

    If this is a matter of Booster Pro edition, I'd rather contact their support channel as this is a premium product that I don't have access to and no past experience.

    it's running now at beta.kilmersfarmmarket so you should be able to get in and play around as need be

    I can see that products list is rendering successfully in there. Could this be a matter of your theme? Can you also upload the theme you're using in previous website to check if this is the case here?
    Please advise!

    Warm regards,
    Dimitris

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.