I have been breaking my head for a few days but I can not solve the following problem:
I defined the numbers for the positions of an attribute, as shown below:
And on the product details page, the order of position numbers is respected by Magento, and loaded correctly, as shown below:
But in the product listing, the position numbers are ignored, and the attributes are in an order that I can not change in any way, as the print below:
How do I sort these swatches by position on the product listing page? Even if for this I use some code.
Thank you very much in advance!