fbpx
Want To Add Extra Images Per Product Variation For Free? Download Now

Missing cros out of stock

Hi there,

On my shop at the first page i can see the shoe sizes with cross when out of stock, but if i go to the second page it doenst show the out of stock anymore. https://myrth.nl/product-category/schoenen/

 

True the chat i was informed that it has somtheing to do with ajax and raise a ticket.

 

So please help on this one. I use the template GOYA.

Hakik Zaman

Hi Ralph,

Thanks for reaching out to us. Please add the following snippet using the Code Snippets plugin or, inside your child theme’s functions.php:

add_action( 'wp_footer', function(){
?>
<script id="woof-wvs-ajax-compatibility" type="text/javascript">
jQuery(document).on("woof_ajax_done", woof_wvs_ajax_done_handler);
function woof_wvs_ajax_done_handler(e) {
jQuery(document).trigger("woo_variation_swatches_pro_init");
}
</script>
<?php
}, 99 );

Note: It is recommended to add the Custom Code to the child theme’s functions.php file, to avoid any data loss while updating the Parent Theme.

Thank You