File tree Expand file tree Collapse file tree 4 files changed +14
-4
lines changed
Adminhtml/Sales/Order/View Expand file tree Collapse file tree 4 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -363,7 +363,6 @@ public function setRequest(RateRequest $request)
363
363
364
364
if ($ request ->getDestPostcode ()) {
365
365
$ r ->setDestPostal ($ request ->getDestPostcode ());
366
- } else {
367
366
}
368
367
369
368
if ($ request ->getDestCity ()) {
Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ public function getMessage()
171
171
/**
172
172
* Retrieve save url
173
173
*
174
- * @return array
174
+ * @return string
175
175
* @codeCoverageIgnore
176
176
*/
177
177
public function getSaveUrl ()
Original file line number Diff line number Diff line change 3
3
* Copyright © Magento, Inc. All rights reserved.
4
4
* See COPYING.txt for license details.
5
5
*/
6
+
6
7
namespace Magento \GiftMessage \Block \Cart ;
7
8
8
9
use Magento \Backend \Block \Template \Context ;
9
10
use Magento \Framework \Json \Encoder ;
10
11
use Magento \GiftMessage \Model \CompositeConfigProvider ;
11
12
12
13
/**
14
+ * Gift options cart block.
15
+ *
13
16
* @api
14
17
* @since 100.0.2
15
18
*/
@@ -63,6 +66,8 @@ public function __construct(
63
66
}
64
67
65
68
/**
69
+ * Retrieve encoded js layout.
70
+ *
66
71
* @return string
67
72
*/
68
73
public function getJsLayout ()
@@ -76,7 +81,7 @@ public function getJsLayout()
76
81
/**
77
82
* Retrieve gift message configuration
78
83
*
79
- * @return array
84
+ * @return string
80
85
*/
81
86
public function getGiftOptionsConfigJson ()
82
87
{
Original file line number Diff line number Diff line change 3
3
* Copyright © Magento, Inc. All rights reserved.
4
4
* See COPYING.txt for license details.
5
5
*/
6
+
6
7
namespace Magento \GiftMessage \Model \Type \Plugin ;
7
8
9
+ /**
10
+ * Add gift message to quote plugin.
11
+ */
8
12
class Onepage
9
13
{
10
14
/**
@@ -30,9 +34,11 @@ public function __construct(
30
34
}
31
35
32
36
/**
37
+ * Add gift message ot quote.
38
+ *
33
39
* @param \Magento\Checkout\Model\Type\Onepage $subject
34
40
* @param array $result
35
- * @return $this
41
+ * @return array
36
42
*/
37
43
public function afterSaveShippingMethod (
38
44
\Magento \Checkout \Model \Type \Onepage $ subject ,
You can’t perform that action at this time.
0 commit comments