vendure-ecommerce / vendure

The commerce platform with customization in its DNA.
https://www.vendure.io
Other
5.62k stars 995 forks source link

Adding product variant with no price gives no error #2917

Closed brunoslalmeida closed 3 months ago

brunoslalmeida commented 3 months ago

Describe the bug At the Product Variant management page, if you try to add a new variant with no price it gives no error and the button does not work.

chrome-capture-2024-6-20

To Reproduce Steps to reproduce the behavior:

  1. Go to the Product Variant Management Page (http://localhost:3000/admin/catalog/products/ID/manage-variants)
  2. Click new product variant
  3. Fill all but price
  4. Click save

Expected behavior Either the button is suppressed or it shows a error message saying that price is required.

Environment (please complete the following information):