• joncampbell

    (@joncampbell)


    In the latest WooCommerce 8.3.1 and this plugin 1.8.5 we are finding that when a product page loads it is automatically clicking the first tab on the page and jumping down to it.

    It seems like the code in single-product.js forces the first tab to be clicked so when someone visits our product it is jumping them right down to the first tab, which is very confusing.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter joncampbell

    (@joncampbell)

    To add some more context, in WooCommerce 8.2.2 this was not a problem, it is only since WooCommerce 8.3.x.

    trose1189

    (@trose1189)

    We’re having the same issue. Did you find any type of solution?

    Thread Starter joncampbell

    (@joncampbell)

    @trose1189,
    no, we have just stuck to the older version of Woo for now.

    trose1189

    (@trose1189)

    @joncampbell — ok, your comment at the start of the thread was helpful to point me in the right direction. I went into woocommerce/assets/js/frontend/single-product.js and commented out lines 11-27 (we’re on Woo version 8.5.1), and then did the same thing in woocommerce/assets/js/frontend/single-product.min.js (it was lines 4-16 there, after unminifying).

    Far from ideal, as that will need to be done any time Woo gets updated, but if you need to run updates that seems to do the trick for me.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Automatic jumping to first tab’ is closed to new replies.