47 \
Magento\Tax\Helper\Data $taxHelper,
52 $this->_taxHelper = $taxHelper;
53 $this->_filterGridFactory = $filterGridFactory;
54 $this->_multishipping = $multishipping;
55 parent::__construct($context,
$data);
56 $this->_isScopePrivate =
true;
66 return $this->_multishipping;
74 $this->pageConfig->getTitle()->set(
75 __(
'Shipping Methods') .
' - ' . $this->pageConfig->getTitle()->getDefault()
77 return parent::_prepareLayout();
85 return $this->
getCheckout()->getQuote()->getAllShippingAddresses();
109 if (
$item->getParentItemId()) {
115 $itemsFilter = $this->_filterGridFactory->create();
116 $itemsFilter->addFilter(
new \
Magento\Framework\Filter\Sprintf(
'%d'),
'qty');
117 return $itemsFilter->filter(
$items);
126 return $address->getShippingMethod();
135 $groups =
$address->getGroupedAllShippingRates();
145 if (
$name = $this->_scopeConfig->getValue(
146 'carriers/' . $carrierCode .
'/title',
161 return $this->
getUrl(
'*/checkout_address/editShipping', [
'id' =>
$address->getCustomerAddressId()]);
169 return $this->
getUrl(
'*/*/backToAddresses');
177 return $this->
getUrl(
'*/*/shippingPost');
185 return $this->
getUrl(
'*/*/backtoaddresses');
196 return $this->priceCurrency->convertAndFormat(
getAddressEditUrl($address)
getData($key='', $index=null)
getItemsBoxTextAfter(\Magento\Framework\DataObject $addressEntity)
getAddressShippingMethod($address)
getAddressItems($address)
getUrl($route='', $params=[])
__construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Framework\Filter\DataObject\GridFactory $filterGridFactory, \Magento\Multishipping\Model\Checkout\Type\Multishipping $multishipping, \Magento\Tax\Helper\Data $taxHelper, PriceCurrencyInterface $priceCurrency, array $data=[])
getShippingRates($address)
setData($key, $value=null)
getShippingPrice($address, $price, $flag)
getCarrierName($carrierCode)
if(!isset($_GET['name'])) $name