ZangZang Posted January 27, 2015 Share Posted January 27, 2015 In Cart.php there is a function named "getDeliveryOptionList" that returns $delivery_option_list. What I want to achieve is to be able to remove at least one carrier in the carrier list: $delivery_option_list[$id_address][$key] = array( 'carrier_list' => null, //<--------------- changed this to null 'is_best_price' => true, 'is_best_grade' => false, 'unique_carrier' => (count(0) <= 1) ); and it seems to be removed, however in the shipping summary the row is still visible I'm not very well versed in PHP so any help is appreciated. Link to comment Share on other sites More sharing options...
tomerg3 Posted January 28, 2015 Share Posted January 28, 2015 Did you try to simply unset the array in that [$key] Link to comment Share on other sites More sharing options...
Recommended Posts