I’m currently Programming a Plugin in Shopware 6, and now I have the Problem, that I need to create a Product and I dont exactly how to to it in a Controller.
In the generated Product following attributes must be set: price, description, pictures have to be added, each newly created product has variants (sizes)
Furthermore I need the Link to the newly generated Product to redirect to it.
Thank you in Advance