Projekt

Allgemein

Profil

GX-Bug #69317

Von Mirko Janssen vor mehr als 2 Jahren aktualisiert

For options, additional options (once product options) and product variants it's possible to set a `stockType` that will define how the given/stored stock is managed in the future (because it's not implemented yet). 
 The enum values for these three domains aren't consistent and furthermore, some are wrong assigned so that it would result in a different result than expected. Therefore, in all three domains, the enums for the `stockType` should be changed to the following behaviour: 

 - `only-positive` (once `positive` or `integer`): Only positive values are allowed as stock, including zero. 
 - `all-numbers` (once `natural`): All numbers are allowed as stock. 
 - `not-managed`: The stock is not actively managed, which means that this value is not considered for the determination of the current stock. 


 Things to be tested: 

 - Creation and update of options, additional options, and product variants 
 - Gambio Updater (should update old enum values in several DB tables) 
 - Documentation

Zurück