12. April 2013
Shopware 4: Auf Alphabetische Sortierung von Varianten ändern (12.04.13)
![Shopware 4: Auf Alphabetische Sortierung von Varianten ändern (12.04.13)](https://sven-goessling.de/wp-content/themes/ribbon-lite/images/nothumb-featured.png)
Hy, ich habe mal das Smarty etwas erweitert um diese Funktion des Sortierens ins Smarty verwenden zu können. Dazu erstellt ihr eine Datei Names : modifier.sortby.php im Ordner : /engine/Library/Smarty/plugins/ Mit dem Datei-Inhalt: <?php # # sorts an array of named arrays by the supplied fields # For Shopware 4 from : sven-goessling.de function