Shopware 6 administration: on create new product, price cannot be null

111 Views Asked by At

If i create a new product price.net === null & price.gross === null the product can't be saved.

What is the concept behind this? Why can a product.price not be null?

1

There are 1 best solutions below

4
dneustadt On

In the context of a commerce platform a product should have a price, even if it may be 0. Otherwise every application of a price calculation would have to take into account, that a price might be null, which just isn't feasible.