jQuery(function() {
$('.single-option-selector').on('change', function(){
setTimeout(function(){
if($('[name="id"]').val() != "{{ product.selected_or_first_available_variant.id }}"){
location.reload();
}
}, 1);
});
});
Hi Guleria,
This code refresh really too slow. Is there any way to refresh the page as fast as we select the variant product?
Regards