silvershop-core
silvershop-core copied to clipboard
Variations not (really) sortable
Product variations are sortable in the backend. But when building the dropdown in the frontend form, sort order is ignored. It's simply missing in the query in the ProductVariationsExtension
That's because the dropdown itself, does not list the Variations but the AttributeTypes and the corresponding values.
Look here: https://github.com/silvershop/silvershop-core/blob/c21570757a3f38431471ebafd8c72c9f71c69e91/src/Forms/VariationForm.php#L123-L134
So it just does not care about the sort order of the Variations.