source/Application/Model/Order.php
public function getShippingSetList()
    {
        // in which country we deliver
        if (!($sShipId = $this->oxorder__oxdelcountryid->value)) {
            $sShipId = $this->oxorder__oxbillcountryid->value;
        }

        $oBasket = $this->_getOrderBasket(false);

        // unsetting bundles
        $oOrderArticles = $this->getOrderArticles();
        foreach ($oOrderArticles as $sItemId => $oItem) {
            if ($oItem->isBundle()) {
                $oOrderArticles->offsetUnset($sItemId);
            }
        }

        // add this order articles to basket and recalculate basket
        $this->_addOrderArticlesToBasket($oBasket, $oOrderArticles);

        // recalculating basket
        $oBasket->calculateBasket(true);

        // load fitting deliveries list
        $oDeliveryList = oxNew(\OxidEsales\Eshop\Application\Model\DeliveryList::class, "core");
        $oDeliveryList->setCollectFittingDeliveriesSets(true);

        return $oDeliveryList->getDeliveryList($oBasket, $this->getOrderUser(), $sShipId);
    }
public function getShippingSetList()
    {
        // in which country we deliver
        if (!($sShipId = $this->oxorder__oxdelcountryid->value)) {
            $sShipId = $this->oxorder__oxbillcountryid->value;
        }

        $oBasket = $this->_getOrderBasket(false);

        // unsetting bundles
        $oOrderArticles = $this->getOrderArticles();
        foreach ($oOrderArticles as $sItemId => $oItem) {
            if ($oItem->isBundle()) {
                $oOrderArticles->offsetUnset($sItemId);
            }
        }

        // add this order articles to basket and recalculate basket
        $this->_addOrderArticlesToBasket($oBasket, $oOrderArticles);

        // recalculating basket
        $oBasket->calculateBasket(true);

        // load fitting deliveries list
        $oDeliveryList = oxNew(\OxidEsales\Eshop\Application\Model\DeliveryList::class, "core");
        $oDeliveryList->setCollectFittingDeliveriesSets(true);

        return $oDeliveryList->getDeliveryList($oBasket, $this->getOrderUser(), $sShipId);
    }
public function getShippingSetList ( ) { // in which country we deliver if ( ! ( $ sShipId = $ this -> oxorder__oxdelcountryid -> value ) ) { $ sShipId = $ this -> oxorder__oxbillcountryid -> value ; } $ oBasket = $ this -> _getOrderBasket ( false ) ; // unsetting bundles $ oOrderArticles = $ this -> getOrderArticles ( ) ; foreach ( $ oOrderArticles as $ sItemId => $ oItem ) { if ( $ oItem -> isBundle ( ) ) { $ oOrderArticles -> offsetUnset ( $ sItemId ) ; } } // add this order articles to basket and recalculate basket $ this -> _addOrderArticlesToBasket ( $ oBasket , $ oOrderArticles ) ; // recalculating basket $ oBasket -> calculateBasket ( true ) ; // load fitting deliveries list $ oDeliveryList = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ DeliveryList :: class , "core" ) ; $ oDeliveryList -> setCollectFittingDeliveriesSets ( true ) ; return $ oDeliveryList -> getDeliveryList ( $ oBasket , $ this -> getOrderUser ( ) , $ sShipId ) ; }
Loads possible shipping sets for this order

@return oxdeliverysetlist
Loads possible shipping sets for this order