Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add missing id property

dominik-zeglen43047a9b2fd4
diff --git a/templates/product/details.html b/templates/product/details.html
index a777dea043..87fa786d83 100644
--- a/templates/product/details.html
+++ b/templates/product/details.html
@@ -139,7 +139,7 @@
{% if has_variants %}
{% bootstrap_field form.variant %}
{% else %}
- <input type="hidden" value="{{ first_variant.pk }}" name="variant" />
+ <input type="hidden" value="{{ first_variant.pk }}" name="variant" id="id_variant" />
{% endif %}
<div class="product__info__quantity">
{% bootstrap_field form.quantity %}