View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006607||OXID eShop (all versions)||1.01. Products (product, categories, manufacturer, promotions etc.)||public||2017-03-23 17:34||2022-02-02 16:35|
|Product Version||4.10.3 / 5.3.3|
|Target Version||Fixed in Version|
|Summary||0006607: low product stock warning should be based on product's oxremindamount instead of global sStockWarningLimit|
|Description||right now product's stock status is calculated based on setting "sStockWarningLimit", which can be configured in general settings -> config -> stock.|
But stock status is actually very product specific, e.g.:
10 Bugatti Veyrons would be considered as high stock status, since you sell maybe 1 per month
But 10 gallons of fuel would be kind of "no stock at all", cause you sell about 1000 units per day.
In my opinion, this high / low stock threshold should be also configurable for every product.
Thats why i suggest to use oxarticle__oxremindamount for calculating low / high stock status and sStockWarningLimit just as fallback if there is no oxremindamount configured for this product.
tomorrow i will make a pull request with my suggested adjustments for oxarticle::_assignStock()
|Tags||No tags attached.|
|PHP Version||Not defined|
|Database Version||Not defined|