WISYWIG Posted April 17, 2018 Share Posted April 17, 2018 Hallo Wenn ich Produkte als Liste anzeigen lasse, stehen im Dropdown für die Sortierung "Relevanz", "Name" und "Preis" zur Verfügung. Wie kann dort zusätzlich "Artikel-Nr." (auf- und absteigend) hinzugefügt werden? Vielen Dank! Link to comment Share on other sites More sharing options...
Whiley Posted April 17, 2018 Share Posted April 17, 2018 Normalerweise sieht das doch so aus: Welche Shopversion u. welches Template verwendest du? Grüsse Whiley Link to comment Share on other sites More sharing options...
WISYWIG Posted April 17, 2018 Author Share Posted April 17, 2018 (edited) Hallo Whiley Sorry, ich vergass die Version zu erwähnen: PS 1.7.x Ich habe auf das mitgelieferte "Classic" Theme umgestellt und habe nur folgendes: Edited April 17, 2018 by WISYWIG (see edit history) Link to comment Share on other sites More sharing options...
Whiley Posted April 17, 2018 Share Posted April 17, 2018 Bei 1.7 bin ich leider raus! (Bei 1.6 ist die Sortierung nach Artikelnummer als Standard im Auswahlfeld enthalten! Wenn man etwas daran verändern wollte wäre das die Datei: /themes/deinTheme/product-sort.tpl) Grüsse Whiley Link to comment Share on other sites More sharing options...
WISYWIG Posted April 17, 2018 Author Share Posted April 17, 2018 OK, trotzdem Danke für deine Hilfe. Eine product-sort.tpl gibt es bei der 1.7 nicht. Dafür eine /themes/mein-theme/templates/catalog/_partials/sort-order.tpl Mit dem Code {foreach from=$listing.sort_orders item=sort_order} <a rel="nofollow" href="{$sort_order.url}" class="select-list {['current' => $sort_order.current, 'js-search-link' => true]|classnames}" > {$sort_order.label} </a> {/foreach} wird das Dropdown generiert. Dort müsste wohl irgendwie noch Code eingefügt werden um nach Artikelnnummer zu sortieren. Link to comment Share on other sites More sharing options...
***didi*** Posted July 2, 2021 Share Posted July 2, 2021 @WISYWIG hast du mittlerweile eine Lösung gefunden? Link to comment Share on other sites More sharing options...
WISYWIG Posted July 2, 2021 Author Share Posted July 2, 2021 Hi Didi Ist lange her... Nein, soweit ich mich erinnern kann habe ich es nicht herausgefunden. Vielleicht weiss ja jetzt jemand Rat? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now