Zur Positionierung der Versandarten im Bestellablauf hat man die Möglichkeit, in dem jeweiligen Template (Bsp.: basket.phtml) folgenden Code zu integrieren:
Über das Warenkorb-Icon können folgende Shortcodes erzeugt werden:
<?php
// echo \sto\M1::debug($this->view['basket']['sum']);
$hideProgress = \sto\Settings::getConfig('sto_shop_orderflow_showprogress');
$showSelectCountry = \sto\Settings::getConfig('sto_shop_basket_select_country');
$showSelectPayment = \sto\Settings::getConfig('sto_shop_basket_select_payment');
$showSelectShipping = \sto\Settings::getConfig('sto_shop_basket_select_shipping');
$showTopCheckoutbutton = \sto\Settings::getConfig('sto_shop_basket_select_kasseTop');
$arShippingUnsorted = $this->arShipping;
$this->arShipping = [];
/*
6_12:Abholung
6_6:Paketversand DE, 1-2 Werktage
6_3:Postversand DE mit Verfolgung, 1-2 Werktage
6_10:Sperrgut DE, 3-5 Werktage
6_2:Warensendung ohne Verfolgung, 5-8 Werktage
*/
foreach (['6_3', '6_2', '6_6', '6_10', '6_12'] as $shipping_key) {
if (array_key_exists($shipping_key, $arShippingUnsorted)) {
$this->arShipping[$shipping_key] = $arShippingUnsorted[$shipping_key];
unset($arShippingUnsorted[$shipping_key]);
}
}
// Jetzt noch die, wo die Sortierung evtl. nicht angegeben ist
foreach ($arShippingUnsorted as $shipping_key => $shipping_data) {
$this->arShipping[$shipping_key] = $shipping_data;
}
?>