• Resolved danieldavies2203

    (@danieldavies2203)


    I created this website for a company who sell decorated ceramic articles, the oval shape product I have linked only works through the use of this code snippet:

    `function gt_wc_ajax_variation_threshold( $qty, $product ) {
    return 500;
    }

    add_filter( ‘woocommerce_ajax_variation_threshold’, ‘gt_wc_ajax_variation_threshold’, 10, 2 );`

    This has been working fine for some time, It wasn’t until a recent update which showed that when a user is logged in, and they are assigned a trade account using “User Role Editor” and “Payment Gateways by User Roles for WooCommerce” so that we can have trade prices for B2B.

    Since the recent update the woocommerce shop widget doesn’t load for the user and there page is left blank as shown here: https://imgur.com/a/Rm97Efp

    I’m not sure why this is happening all of a sudden, please inform me on how to fix this issue.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @danieldavies2203,

    This could be related to a conflict with one or more plugins after they’ve been updated.

    The best way to determine if the issue is being caused by a theme and/or plugin is to temporarily switch the theme to Storefront and disable all plugins except for WooCommerce. Test to see if the issue is resolved.

    To figure out which plugin is causing the problem, continue to the next step – reactivate your theme first, then all other plugins one by one, testing after each, until you find the one causing conflict.

    Here’s a more extensive explanation in our docs: https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    Make sure you have a full backup in place before performing the conflict test.

    Let us know how it goes.

    Thread Starter danieldavies2203

    (@danieldavies2203)

    Hi Mirko,

    Turning off the code for the variation limit restores the woocommerce plugin to its urinalysis state and can be seen again by users signed as trade accounts however the problem is that we need to code for the product variation to work properly or else when creating there product it shows all the variations which aren’t available in certain combinations

    Mirko P.

    (@rainfallnixfig)

    Hi @danieldavies2203,

    I understand what you mean, but this particular forum is for questions that are directly related to the features and functionality of the free core WooCommerce plugin.

    While we’re experts on our own products, third-party plugins or custom snippets are best supported by their own authors/developers.

    If you can’t get things to work properly and need help with your customization, I would recommend consulting with the official WooCommerce Customizations Partners to see if they can assist you further.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Variation Limit Makes Shop Not Load’ is closed to new replies.