voehrs Posted August 11, 2021 Report Share Posted August 11, 2021 Hi, Das Cross Selling Plugin nutzt aktuell einen Button namens: $extF->_MultiButton_stm. Dieser wird verwendet um die Sortierung der CrossSelling Produkte zu verändern. Dieser nutzt außerdem intern die MsgConfirm Funktion. Mein Kunde möchte aber aktuell kein Confirm und möchte einen "normalen" Button nutzen. Wie kann ich dies simpel mit extF für CrossSelling umstellen? Viele Grüße Quote Link to comment Share on other sites More sharing options...
Sven Bauer Posted August 16, 2021 Report Share Posted August 16, 2021 Hallo, wir haben eine Lösung, die wir mit kommender Pluginversion veröffentlichen werden. Getestet mit xt 6.3 und Plg 5.2.0 Derweil: öffne die Datei plugins/xt_cross_selling/classes/class.cross_selling_products.php suche die Zeile $rowActionsFunctions['sort_up'] = $extF->_MultiButton_stm(TEXT_SORT_UP, 'sort2_up'); sollte die 46 sein ersetze diese und die folgenden 3 Zeilen mit $rowActionsFunctions['sort2_up'] = 'sort2_up("yes")'; $rowActionsFunctions['sort2_down'] = 'sort2_down("yes")'; $rowActions[] = array('iconCls' => 'sort2_up', 'qtipIndex' => 'qtip1', 'tooltip' => TEXT_SORT_UP); $rowActions[] = array('iconCls' => 'sort2_down', 'qtipIndex' => 'qtip1', 'tooltip' => TEXT_SORT_DOWN); öffne xtAdmin/css/icons.css suche die Zeile .sort_up::before { sollte die 327 sein ersetze die beiden sort_up/sort_down-css-Regeln mit .sort_up::before, .sort2_up::before { font-family: "Font Awesome 5 Free"; font-weight: 600; content: "\f0de"; font-style: normal; } .sort_down::before, .sort2_down::before { font-family: "Font Awesome 5 Free"; font-weight: 600; content: "\f0dd"; font-style: normal; } voehrs 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.