View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004539||OXID eShop (all versions)||1.01. Products (product, categories, manufacturer, promotions etc.)||public||2012-09-21 09:44||2019-02-04 14:22|
|Product Version||4.6.0 revision 44406|
|Target Version||Fixed in Version|
|Summary||0004539: Sorting of Variant Selections depends on stock status|
|Description||If a Variant is not available, sorting of variant selection is sometimes wrong.|
|Steps To Reproduce||- In demoshop, go to jeans "Anna" in frontend and backend.|
- change stock status to "if out of stock offline" on all available variants
- set stock to zero for the variant "W 30/L 30 | Blue"
- In Frontend, "blue" is now the last entry in dropdown, should be the first
|Tags||Products, Stock, Variants|
|PHP Version||Not defined|
|MySQL Version||Not defined|
As this was recently updated, some more info: The problem is not really in stock status, the problem is that it is impossible to properly sort two or more dimensions with one number. If all possible variants exist, it's ok, but for example if one size does not exist in one color, sorting will be wrong. Sorting could be stored multidimensional like variantnames maybe:
variant "W 30/L 30 | Blue"