protected function prepareMethodsCheckout(array &$list)
    {
        foreach ($list as &$item) {
            if (isset($item['module']) && isset($item['image'])) {
                $path = GC_DIR_MODULE . "/{$item['module']}/{$item['image']}";
                $item['image'] = $this->url(gplcart_path_relative($path));
            }
        }
    }
protected function prepareMethodsCheckout(array &$list)
    {
        foreach ($list as &$item) {
            if (isset($item['module']) && isset($item['image'])) {
                $path = GC_DIR_MODULE . "/{$item['module']}/{$item['image']}";
                $item['image'] = $this->url(gplcart_path_relative($path));
            }
        }
    }
protected function prepareMethodsCheckout ( array & $ list ) { foreach ( $ list as & $ item ) { if ( isset ( $ item [ 'module' ] ) && isset ( $ item [ 'image' ] ) ) { $ path = GC_DIR_MODULE . "/{$item['module']}/{$item['image']}" ; $ item [ 'image' ] = $ this -> url ( gplcart_path_relative ( $ path ) ) ; } } }
Prepare payment and shipping methods
@param array $list
Prepare payment and shipping methods