You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I provide a product:AdminCreateProduct & {id?: string} with id and variants to the groupProductsForBatchStep it always trying to create new product variants which will fail if a variant with the same SKU already exists.
Currently it does not allow for the variant to be updated (no variant id can be provided).
Expected behavior
Should be possible to provide variant id in which case it should update the product variant instead of dong insert
Actual behavior
its trying to create product variant duplicate
Link to reproduction repo
its more of a design issue
The text was updated successfully, but these errors were encountered:
Package.json file
Node.js version
20.18.1
Database and its version
16.2
Operating system name and version
linux
Browser name
No response
What happended?
When I provide a
product:AdminCreateProduct & {id?: string}
withid
andvariants
to thegroupProductsForBatchStep
it always trying to create new product variants which will fail if a variant with the same SKU already exists.Currently it does not allow for the variant to be updated (no variant id can be provided).
Expected behavior
Should be possible to provide variant id in which case it should update the product variant instead of dong
insert
Actual behavior
its trying to create product variant duplicate
Link to reproduction repo
its more of a design issue
The text was updated successfully, but these errors were encountered: