fix productvariant not correctly loaded after page reload

main
alexanderroese 2024-07-14 18:04:37 +02:00
parent 0f0182c0c2
commit bbdd91e321
1 changed files with 6 additions and 0 deletions

View File

@ -197,6 +197,12 @@
}
}
});
window.addEventListener('load', function() {
const selectedValue = selectElement.value;
console.log("sel", selectedValue)
});
</script>
{% else %}
{% comment %}