• Resolved nishitm

    (@nishitmorakhia)


    Why is the product not visible in the given link?
    Other products are working fine except few which does not display.
    Products uploaded are from single file out of which some do not display and some does.
    Products visibility is also set to public.

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

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

    (@rainfallnixfig)

    Hi @nishitmorakhia,

    This kind of problem is usually caused by a conflict with your theme or with another plugin. The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Reload the product page and check again

    If you’re seeing the product after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated.

    Reactivate the theme first and check again. Then, go on and reactivate your other plugins one by one, testing after each, until you find the one causing conflict.

    You can find a more detailed explanation on how to do a conflict test here: https://docs.woocommerce.com/document/how-to-test-for-conflicts/.

    Thanks!

    Thread Starter nishitm

    (@nishitmorakhia)

    Thanks for pointing me to the right direction.
    Found the below code in the plugin causing the issue:

    function iconic_wc_ajax_variation_threshold( $qty, $product ) {
        return 1500;
    }
     
    add_filter( 'woocommerce_ajax_variation_threshold', 'iconic_wc_ajax_variation_threshold', 10, 2 );

    if i set it to 500 it works.

    But i am looking to set it to 1500
    How to increase the value?

    Mirko P.

    (@rainfallnixfig)

    Hi @nishitmorakhia,

    The code you shared doesn’t seem to come from core WooCommerce. So I recommend getting help directly from the code authors or reaching out to a developer that can assist you further in fixing it.

    Thanks.

    Thread Starter nishitm

    (@nishitmorakhia)

    woocommerce_ajax_variation_threshold

    Is your filter right which I am using?
    Does it support 1500 or not?

    As per the description of the filter hook here
    https://developer.woocommerce.com/2015/07/13/improving-the-variations-interface-in-2-4/

    1500 should work, however it would also depend on the PHP settings of your site if it permits that without a timeout happeing (you need to check with your host about it)

    It will be great if you could share your current System Status Report. You can get it by navigating to the WooCommerce / Status section of your site. Once there, click on the Get system report button and then copy it by clicking on the Copy for support button. Then paste it here in a comment.

    Are you able to see any fatal errors within
    **WP Admin → WooCommerce → Status → Logs** ?

    Hi @nishitmorakhia

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. If you have further questions, please feel free to open a new topic.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Product page issue’ is closed to new replies.