• Hi WooCommerce Team,

    I’m migrating a website to WooCommerce for my client and I found a serious issue in the version 4.8.0. Please check these 2 JS files:

    1. /wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart-variation.min.js

    2. /wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart-variation.js

    They are a bit different. In the min version, the event ‘show_variation’ is not triggered when the variation is selected.

    I have checked the older versions of WooCommerce and they do not have this issue. Hopefully this will be solved in the next update.

    Thank you!
    Martin
    The Next-Cart Team

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Hi there,

    Can you highlight the *exact* line of code of the unminified min.js file that’s different from from the regular .js file? I’d like to match that up with what I’m seeing on my side.

    Thanks!

    Thread Starter Martin Nguyen

    (@martinnguyen1990)

    Hi,

    Yes. The line is 318. In the minified version, the code below is omitted:

    trigger( 'show_variation', [ variation, purchasable ] )

    Thank you!
    Martin
    The Next-Cart Team

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show variation event issue’ is closed to new replies.