Skip to content
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

Form errors during creation of product remove all product images #16053

Open
TalkMarc opened this issue Mar 25, 2024 · 0 comments
Open

Form errors during creation of product remove all product images #16053

TalkMarc opened this issue Mar 25, 2024 · 0 comments
Assignees

Comments

@TalkMarc
Copy link

Sylius version affected: 6.3.x

Description
During creation of a product, if there are problems with the filled out form and there have been product images added, the images will disappear upon submission. The user has to re-upload the images after fixing the reported issues with the product entry.

Steps to reproduce
On a default Sylius installation:

  1. Go to product page.
  2. Click "+ Create" > "Simple Product" .
  3. Fill out details of a new product, but leave one essential field empty (name for example).
  4. Add product images in the media section.
  5. Click "Create" to submit new product form.

Possible Solution
I cannot propose a valid solution at this time.
Handling product images for products that do not exist yet will probably present a challenge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants