• Resolved Evgeny

    (@sevar)


    Hello! Your plugin is not working on the product page in my custom theme. My theme is based on Underscores starter theme. My site on localhost on my computer. I click on color squares and other variations and nothing switches. Another plugin (Product Variations Swatches for WooCommerce) doesn’t show variations at all on my theme. I’ve tried deleting all my custom hooks, custom javascript code, and even bootstrap.bundle.min.js – still not switching variations. And the Clear button doesn’t show. I have version: 1.1.17 of the Swatches and 5.4.0 of Woocommerce.

    Console shows this error:

    
    Uncaught TypeError: t(...).WooVariationSwatches is not a function
        10 http://localhost/wooj/wp-content/plugins/woo-variation-swatches/assets/js/frontend.min.js?ver=1.1.17:1
        jQuery 7
        t http://localhost/wooj/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart-variation.min.js?ver=5.3.0:1
        setTimeout handler*t http://localhost/wooj/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart-variation.min.js?ver=5.3.0:1
        wc_variation_form http://localhost/wooj/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart-variation.min.js?ver=5.3.0:1
        <anonymous> http://localhost/wooj/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart-variation.min.js?ver=5.3.0:1
        jQuery 2
        <anonymous> http://localhost/wooj/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart-variation.min.js?ver=5.3.0:1
        jQuery 13
    • This topic was modified 4 years, 11 months ago by Evgeny. Reason: Forgot to say hello )
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Variations not switch’ is closed to new replies.