Skip to content

Commit

Permalink
Do not make product variant's fields empty while editing simple product
Browse files Browse the repository at this point in the history
  • Loading branch information
pamil committed Mar 21, 2017
1 parent 47683b6 commit 32792bf
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@

{# Nothing to see here. #}
<div class="ui hidden element">
{% if product.simple %}
{{ form_row(form.variant.translations) }}
{% endif %}
{{ form_row(form.variantSelectionMethod) }}
</div>
</div>
Expand Down

0 comments on commit 32792bf

Please sign in to comment.