Skip to content

Commit c8dbdf4

Browse files
author
vitaliyboyko
committed
graphQl: fixed multi shipping model
1 parent a0bb0fc commit c8dbdf4

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

app/code/Magento/QuoteGraphQl/Model/Resolver/ShippingAddress/SetShippingAddressOnCart/MultiShipping/ShippingItemsMapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class ShippingItemsMapper
1414
{
1515

1616
/**
17-
* Converts shipping address input array into shipping items information array
17+
* Converts shipping address input array into shipping items information array
1818
* Array structure:
1919
* array(
2020
* $cartItemId => array(
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
8+
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
9+
<virtualType name="multishippingPaymentSpecification" type="Magento\Payment\Model\Method\Specification\Composite">
10+
<arguments>
11+
<argument name="specifications" xsi:type="array">
12+
<item name="enabled" xsi:type="string">Magento\Multishipping\Model\Payment\Method\Specification\Enabled</item>
13+
</argument>
14+
</arguments>
15+
</virtualType>
16+
<type name="Magento\Multishipping\Block\Checkout\Billing">
17+
<arguments>
18+
<argument name="paymentSpecification" xsi:type="object">multishippingPaymentSpecification</argument>
19+
</arguments>
20+
</type>
21+
<type name="Magento\Multishipping\Model\Checkout\Type\Multishipping">
22+
<arguments>
23+
<argument name="paymentSpecification" xsi:type="object">multishippingPaymentSpecification</argument>
24+
</arguments>
25+
</type>
26+
</config>

0 commit comments

Comments
 (0)