• Resolved adrian4fun

    (@adrian4fun)


    Hello,
    First, thank you for the great plugin!

    Recently I found a bug that serves this extension. When I choose the size in my store, then the quantity and add to the basket, after reloading the page I can not choose other sizes or reset existing values.
    I checked with another plugin (e.g. SMNTCS WooCommerce Quantity Buttons) and there is no problem. Is there a chance to resolve this error?

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author taisho

    (@taisho)

    Please change line 16 of .js file (js folder) to:

    $(‘.woocommerce form.cart, .woocommerce td.product-quantity, .woocommerce li.product’).off(‘click’, ‘.qib-button’).on( ‘click’, ‘.qib-button’, function() {

    Save, clear cache and see if it solves the problem.

    Plugin Author taisho

    (@taisho)

    I’ve released version 2.2.1. This bug is too important to make it wait. The new release applies exactly the change as I’ve posted above. I’m 99% sure this will resolve this problem for you. Many thanks for reporting it.

    Thread Starter adrian4fun

    (@adrian4fun)

    Thank you for a very efficient response and making changes to the update. Unfortunately, it does not solve my problem. The situation is still the same as in the first description.

    Plugin Author taisho

    (@taisho)

    Your website uses LiteSpeed Cache plugin. I see that there is still the bugged version of the .js file loading on your website.

    I will consider using inline JavaScript rather than within a file in the future versions to avoid issues like this.

    Plugin Author taisho

    (@taisho)

    By the way, here is a helpful link about clearing cache:

    https://d5creation.com/clear-cache-from-website/

    Plugin Author taisho

    (@taisho)

    I’ve checked that the script from the updated plugin is now loaded on the website and it works correctly, so I’m closing this topic.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Bug when add to cart’ is closed to new replies.