• Resolved mrfwappy

    (@mrfwappy)


    Hi. I have found that when one of my simple products is out of stock, then its product page fails to load properly, if this plugin is enabled. The product image and gallery fail to load, and the product tabs are not rendered properly. Seems strange because this plugin doesn’t have options for simple products. Can you replicate this? I’m on WC 3.5.1
    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Denis ?oljom

    (@dingo_d)

    Thanks for mentioning this to me, I’ll check it out and get back to you. The plugin works only with variations and doesn’t touch galleries so I’m not entirely sure what could be the issue.

    My guess is that there is a JS error which will prevent the rest of the JS to load and run properly. Do you have any errors in the console?

    Thread Starter mrfwappy

    (@mrfwappy)

    Sorry I’m new to Woocommerce. How do I check the console?

    Here are some links for you to see. We only have 3 products (two simple, and then one variable using your awesome plugin. Everything works great but if one of the simple products has 0 stock, its product page fails to load properly until I disable your plugin. Note that I have the extra Variations Images plugin installed so that’s what creates the blurred gallery loading thing. If I disable that plugin, then the images just don’t show at all (but they are still clickable).

    Here’s the link to a simple product that fails to load because it is out of stock. Note also the price and “out of stock” never shows up.
    https://www.boredbrainmusic.com/product/patchulator-8000/

    Here’s one working properly (also has pre-order button plugin).
    https://www.boredbrainmusic.com/product/transmutron/

    Here’s the variable product using your plugin. If you choose 6-Pack, then you’ll get an option to choose Length, so it is working properly here. And if you choose a variation that is out of stock, it still seems ok.
    https://www.boredbrainmusic.com/product/transmutron/

    Thanks!
    Adam

    Plugin Author Denis ?oljom

    (@dingo_d)

    Odd, the $('.simplewlv_hidden') the hidden field seems to be missing, and that’s why it fails.

    But this shouldn’t be shown on the simple product at all. I’ll have to update the code a bit and release a fix for this.

    I’ll try to do this tomorrow so that you don’t experience these issues.

    Thank you for reporting this bug ??

    Plugin Author Denis ?oljom

    (@dingo_d)

    Hi @mrfwappy, I’ve released a quick fix for this, can you update the plugin to v1.0.4, and let me know if everything works as intended? Thanks!

    Thread Starter mrfwappy

    (@mrfwappy)

    Thanks for working on this. Unfortunately it doesn’t seem to fix the issue (follow my first link above again). I’ve also tried uninstalling the plugin completely and reinstalling. Note that as before, if I disable the plugin, the product page loads fine.

    Plugin Author Denis ?oljom

    (@dingo_d)

    I’m looking at the first link, and there is no JS error in your page anymore.

    Try clearing your cache: In Chrome, right click on a page and select inspect, then with the inspector open go to the refresh icon beside the forward button in the browser, right click on it and select ‘Empty cache and hard reload’

    Thread Starter mrfwappy

    (@mrfwappy)

    Yes it does work. I cleared my browsing data. Thank you sir! Perfect plugin to help customers make sense of our cable packs. ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Plugin breaks Simple Product Page if out of stock’ is closed to new replies.