New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not make product variant's fields empty while editing simple product #7764
Do not make product variant's fields empty while editing simple product #7764
Conversation
a08960a
to
2e9a809
Compare
<div class="ui segment"> | ||
<h4 class="ui dividing header">{{ 'sylius.ui.availability'|trans }}</h4> | ||
{{ form_row(form.variant.availableOn) }} | ||
{{ form_row(form.variant.availableUntil) }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should only be shown on simple products
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is, see line 41 :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, i see, sorry
To prevent setting name to null on save, yo can add |
2e9a809
to
01bfdb0
Compare
01bfdb0
to
203562c
Compare
203562c
to
f810724
Compare
Thanks Kamil! 👍 👍 👍 |
…iables Do not make product variant's fields empty while editing simple product
TODO: