coreshop / CoreShop

CoreShop - Pimcore enhanced eCommerce
http://www.coreshop.org
Other
275 stars 157 forks source link

Store Product with Price 0.00 not get stored #414

Closed solverat closed 6 years ago

solverat commented 6 years ago
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no

Products with Price 0.00 get skipped during the save process (db value = null). Since a product also could be a container product, they should get stored in db regardless its price.

dpfaffenbauer commented 6 years ago

doesn't that just happen on migrations?

I don't see any condition on saving them: https://github.com/coreshop/CoreShop/blob/master/src/CoreShop/Bundle/CoreBundle/CoreExtension/StorePrice.php#L248