And so, simplify the code logic, as product is always created before the publication
Attach a file by drag & drop or click to upload