This topic has 6 replies, 3 voices, and was last updated 1 years, 4 months ago ago by jimmy
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
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.
Thank you, please let me know the results
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.
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(){
?>
The plugin author has replied, and the problem is solved. Thanks any way
The issue related to '‘Variation Swatches not working on shop page’' has been successfully resolved, and the topic is now closed for further responses