• After loading with the Load More button, the selection of colour variations doesn’t work anymore, basically I click on the color icon but the image doesn’t change. I use the Variation Swatches for WooCommerce plugin to manage the color selection. The color selections works fine for the products above the Load More, which are visible when the shop loads. Please help to fix this conflict.

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

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

    (@razyrx)

    Hello @marcomancosu,

    Plugin “Variation Swatches for WooCommerce” has some script that initialize all functionality.
    To fix issue add code that initialize functionality in plugin settings -> JavaScript tab -> After update field.
    To get correct code please contact “Variation Swatches for WooCommerce” developers.

    Regards,
    Oleg

    I have the same problem ??

    suspend plugin

    @razyrx

    I am author of the swatches plugin.

    We have the following trigger added in your code

    $(‘.variations_form’).each(function(){
    $(this).wc_variation_form();
    });

    Like the competitor of your plugin (Malinky Ajax Pagination): https://www.ads-software.com/plugins/malinky-ajax-pagination/

    They provide following trigger.

    document.addEventListener(‘malinkyLoadPostsComplete’, function(e) {
    console.log(‘LoadPostsComplete’);
    });


    And we combine the trigger scrolling pluign trigger and our code like the following example.

    document.addEventListener(‘malinkyLoadPostsComplete’, function(e) {
    // console.log(‘LoadPostsComplete’);
    jQuery(‘.variations_form’).each(function(){
    jQuery(this).wc_variation_form();
    });
    });

    Please provide a trigger like the plugin. We’ll include it on our guideline.

    Thank You

    I have the same problem.

    Plugin Author Dmytro Holovnia

    (@dholovnia)

    @pluginswoo ,

    Our plugin has After Update textarea where plugin users can add own Javascript to run after next loaded. It is located in the plugin settings page tab Javascript.

    Regards,
    Dima

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘After loading with Load More, colour variations cannot be selected’ is closed to new replies.