Magento – die verknüpften Produkte eines Konfigurierbaren Produkts werden nach ID sortiert

…and not according to the sorting of the attribute value within.

Das ist ein Problem, welches u.a. in Magento 1.9 auftritt und sehr ärgerlich ist. Hat man z.B. the attribute “Size” connected to a configurable product and then linked to the different sizes of XXS to XXL so, kann es sein, dass diese nicht in der gewünschten Reihenfolge von klein bis groß im Frontend angezeigt werden, sondern nach der ID der verknüpften Einfachen Produkte.

Dies ist für den Kunden sehr umständlich und kann zu Verwirrung und fehlenden Käufen fehlen. Um die im Attribut hinterlegte Sortierung herzustellen, muss eine Änderung an der Collection.php aus dem Ordner app/code/core/Mage/Catalog/Model/Resource/Product/Type/Configurable/Attribute vorgenommen werden (die natürlich vorher in das Verzeichnis app/code/local/Mage/Catalog/Model/Resource/Product/Type/Configurable/Attribute kopiert wird).

Eine Darstellung der Lösung hat jonathonbyrd HERE aufgezeichnet. Ich habe dies in einer Magento CE 1.9.2.0 Version erfolgreich getestet.

Published by Covos

Since 2009 I have been working intensively with Magento. I started with the creation and operation of B2C stores. This was extended through my work in the logistics sector. This resulted first specialized B2E systems. Today I work day-a day with exciting B2C, B2B- and B2E projects and reports in this blog about challenges and give insider tips.

Leave a Reply

Your email address will not be published. Required fields are marked *