fix productvariant not correctly loaded after page reload
parent
f88c3bdd66
commit
c243020584
|
@ -201,10 +201,10 @@
|
|||
window.addEventListener('load', function() {
|
||||
const selectedValue = selectElement.value;
|
||||
|
||||
console.log("sel", selectedValue)
|
||||
console.log("sel", selectedVa)
|
||||
});
|
||||
</script>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% comment %}
|
||||
Theme default code
|
||||
{% endcomment %}
|
||||
|
@ -264,9 +264,7 @@
|
|||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
||||
{% endif %}
|
||||
{%- endfor -%}
|
||||
<script type="application/json">
|
||||
{{ product.variants | json }}
|
||||
|
|
Loading…
Reference in New Issue