Skip to content

Commit 9875d78

Browse files
🔃 [Magento Community Engineering] Community Contributions - 2.2-develop
Accepted Community Pull Requests: - #23603: [Backport] Issue #23522 UPS shipping booking and label generation gives error when shipper's street given more than 35 chars (by @ankurvr) - #23612: [Backport] #23354 : Data saving problem error showing when leave blank qty and update it (by @krishprakash) Fixed GitHub Issues: - #23522: UPS shipping booking and label generation gives error when shipper's street given more than 35 chars (reported by @ankurvr) has been fixed in #23603 by @ankurvr in 2.2-develop branch Related commits: 1. ba25567 - #23354: Data saving problem error showing when leave blank qty and update it (reported by @bhavik43) has been fixed in #23612 by @krishprakash in 2.2-develop branch Related commits: 1. 90be3ce
2 parents 76f484d + a5018c0 commit 9875d78

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/code/Magento/Multishipping/view/frontend/templates/checkout/addresses.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@
6262
name="ship[<?= $block->escapeHtml($_index) ?>][<?= $block->escapeHtml($_item->getQuoteItemId()) ?>][qty]"
6363
value="<?= $block->escapeHtml($_item->getQty()) ?>"
6464
size="2"
65-
class="input-text qty"
66-
data-validate="{number: true}"/>
65+
class="input-text qty required-entry"
66+
data-validate="{number: true, required:true}"/>
6767
</div>
6868
</div>
6969
</td>

app/code/Magento/Ups/Model/Carrier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1347,7 +1347,7 @@ protected function _formShipmentRequest(\Magento\Framework\DataObject $request)
13471347
$shipperPart->addChild('PhoneNumber', $request->getShipperContactPhoneNumber());
13481348

13491349
$addressPart = $shipperPart->addChild('Address');
1350-
$addressPart->addChild('AddressLine1', $request->getShipperAddressStreet());
1350+
$addressPart->addChild('AddressLine1', $request->getShipperAddressStreet1());
13511351
$addressPart->addChild('AddressLine2', $request->getShipperAddressStreet2());
13521352
$addressPart->addChild('City', $request->getShipperAddressCity());
13531353
$addressPart->addChild('CountryCode', $request->getShipperAddressCountryCode());

0 commit comments

Comments
 (0)