Variation Swatches not working on shop page

This topic has 6 replies, 3 voices, and was last updated 9 months, 3 weeks ago ago by jimmy

  • Avatar: jimmy
    jimmy
    Participant
    August 3, 2023 at 03:51

    Hi,

    The variation swatch is not working correctly on the shop page.

    After clicking the load more button, the image is not changing after clicking the swatches and the cross line is not showing for out-of-stock products.

    Here is the screenshot: https://ibb.co/09FHksT

    I use a 3 party plugin pwf filter for the shop, I suspect it has something to do with it.

    Please check what the problem is.

    Thanks
    Jimmy

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    August 3, 2023 at 07:16

    Hello @Jimmy,

    Thank you for using our theme and for reaching out to us.

    We have reviewed your website and it appears that there may be a conflict issue with the PWF – WooCommerce Products Filter. Our developers will investigate what can be done to help.

    We recommend that you contact the support team of the PWF – WooCommerce Products Filter plugin for further assistance.

    Best Regards,
    8Theme’s Team.

    Avatar: jimmy
    jimmy
    Participant
    August 3, 2023 at 07:34

    Thank you, please let me know the results

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 3, 2023 at 15:48

    Hello @Jimmy,

    One of our developers checked the situation on your site. Please contact authors of the plugin:
    We suggest adding Variation Swatches initialization after the filtering has been completed. To do this, please add the following code at the moment after the filtered content has been loaded on the page.
    if ( etTheme.reinitSwatches !== undefined ) etTheme.reinitSwatches();

    Best Regards,
    8Theme’s Team.

    Avatar: jimmy
    jimmy
    Participant
    August 5, 2023 at 03:02

    Thank you, I have contacted the plugin author, but haven’t gotten any reply yet.

    I have previously encountered a similar issue with another plugin called Variation Swatches for WooCommerce by themehigh: https://www.themehigh.com/product/woocommerce-product-variation-swatches/

    They gave me the following code, and the problem is solved:

    add_action(‘wp_footer’,’swatches_initialise256′,999);
    function swatches_initialise256(){
    ?>

    Avatar: jimmy
    jimmy
    Participant
    August 5, 2023 at 13:22

    The plugin author has replied, and the problem is solved. Thanks any way

  • Viewing 6 results - 1 through 6 (of 6 total)

The issue related to '‘Variation Swatches not working on shop page’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.