File tree Expand file tree Collapse file tree 9 files changed +30
-12
lines changed
Checkout/view/frontend/templates/cart/item
OfflineShipping/etc/adminhtml
design/adminhtml/Magento/backend/web/js Expand file tree Collapse file tree 9 files changed +30
-12
lines changed Original file line number Diff line number Diff line change 1
- # Amqp Store
1
+ # Magento_AmqpStore module
2
2
3
- ** AmqpStore** provides ability to specify store before publish messages with Amqp.
3
+ The Magento_AmqpStore module provides the ability to specify a store before publishing messages with the Advanced Message Queuing Protocol (AMQP).
4
+
5
+ ## Extensibility
6
+
7
+ Extension developers can interact with the Magento_AmqpStore module using plugins. For more information about the Magento extension mechanism, see [ Magento plug-ins] ( https://devdocs.magento.com/guides/v2.3/extension-dev-guide/plugins.html ) .
8
+
9
+ [ The Magento dependency injection mechanism] ( https://devdocs.magento.com/guides/v2.3/extension-dev-guide/depend-inj.html ) enables you to override the functionality of the Magento_AmqpStore module.
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ $canApplyMsrp = $helper->isShowBeforeOrderConfirm($product) && $helper->isMinima
50
50
<?php if (isset ($ _formatedOptionValue ['full_view ' ])) :?>
51
51
<?= $ block ->escapeHtml ($ _formatedOptionValue ['full_view ' ]) ?>
52
52
<?php else :?>
53
- <?= $ block ->escapeHtml ($ _formatedOptionValue ['value ' ], ['span ' ]) ?>
53
+ <?= $ block ->escapeHtml ($ _formatedOptionValue ['value ' ], ['span ' , ' a ' ]) ?>
54
54
<?php endif ; ?>
55
55
</dd>
56
56
<?php endforeach ; ?>
Original file line number Diff line number Diff line change 137
137
</field >
138
138
<field id =" sort_order" translate =" label" type =" text" sortOrder =" 2000" showInDefault =" 1" showInWebsite =" 1" showInStore =" 0" >
139
139
<label >Sort Order</label >
140
+ <validate >validate-number validate-zero-or-greater</validate >
140
141
</field >
141
142
<field id =" debug" translate =" label" type =" select" sortOrder =" 1950" showInDefault =" 1" showInWebsite =" 1" showInStore =" 0" >
142
143
<label >Debug</label >
Original file line number Diff line number Diff line change 5
5
* Copyright © Magento, Inc. All rights reserved.
6
6
* See COPYING.txt for license details.
7
7
*/
8
+
9
+ declare (strict_types=1 );
10
+
8
11
namespace Magento \Directory \Model \Data ;
9
12
10
13
/**
@@ -17,6 +20,7 @@ class ExchangeRate extends \Magento\Framework\Api\AbstractExtensibleObject imple
17
20
{
18
21
const KEY_CURRENCY_TO = 'currency_to ' ;
19
22
const KEY_RATE = 'rate ' ;
23
+ private const KEY_EXCHANGE_RATES = 'exchange_rates ' ;
20
24
21
25
/**
22
26
* @inheritDoc
Original file line number Diff line number Diff line change 135
135
</field >
136
136
<field id =" sort_order" translate =" label" type =" text" sortOrder =" 290" showInDefault =" 1" showInWebsite =" 1" showInStore =" 0" >
137
137
<label >Sort Order</label >
138
+ <validate >validate-number validate-zero-or-greater</validate >
138
139
</field >
139
140
</group >
140
141
</section >
Original file line number Diff line number Diff line change 31
31
</field >
32
32
<field id =" sort_order" translate =" label" type =" text" sortOrder =" 100" showInDefault =" 1" showInWebsite =" 1" showInStore =" 0" >
33
33
<label >Sort Order</label >
34
+ <validate >validate-number validate-zero-or-greater</validate >
34
35
</field >
35
36
<field id =" title" translate =" label" type =" text" sortOrder =" 2" showInDefault =" 1" showInWebsite =" 1" showInStore =" 1" canRestore =" 1" >
36
37
<label >Title</label >
92
93
</field >
93
94
<field id =" sort_order" translate =" label" type =" text" sortOrder =" 100" showInDefault =" 1" showInWebsite =" 1" showInStore =" 0" >
94
95
<label >Sort Order</label >
96
+ <validate >validate-number validate-zero-or-greater</validate >
95
97
</field >
96
98
<field id =" title" translate =" label" type =" text" sortOrder =" 2" showInDefault =" 1" showInWebsite =" 1" showInStore =" 1" canRestore =" 1" >
97
99
<label >Title</label >
130
132
</field >
131
133
<field id =" sort_order" translate =" label" type =" text" sortOrder =" 100" showInDefault =" 1" showInWebsite =" 1" showInStore =" 0" >
132
134
<label >Sort Order</label >
135
+ <validate >validate-number validate-zero-or-greater</validate >
133
136
</field >
134
137
<field id =" title" translate =" label" type =" text" sortOrder =" 2" showInDefault =" 1" showInWebsite =" 1" showInStore =" 1" canRestore =" 1" >
135
138
<label >Title</label >
Original file line number Diff line number Diff line change 97
97
</field >
98
98
<field id =" sort_order" translate =" label" type =" text" sortOrder =" 1000" showInDefault =" 1" showInWebsite =" 1" showInStore =" 0" >
99
99
<label >Sort Order</label >
100
+ <validate >validate-number validate-zero-or-greater</validate >
100
101
</field >
101
102
<field id =" title" translate =" label" type =" text" sortOrder =" 40" showInDefault =" 1" showInWebsite =" 1" showInStore =" 1" canRestore =" 1" >
102
103
<label >Title</label >
Original file line number Diff line number Diff line change 136
136
</field >
137
137
<field id =" sort_order" translate =" label" type =" text" sortOrder =" 220" showInDefault =" 1" showInWebsite =" 1" showInStore =" 0" >
138
138
<label >Sort Order</label >
139
+ <validate >validate-number validate-zero-or-greater</validate >
139
140
</field >
140
141
</group >
141
142
</section >
Original file line number Diff line number Diff line change @@ -267,17 +267,18 @@ define('globalNavigation', [
267
267
if ( subMenu . length ) {
268
268
e . preventDefault ( ) ;
269
269
}
270
-
271
- menuItem . addClass ( '_show' )
272
- . siblings ( menuItemSelector )
273
- . removeClass ( '_show' ) ;
274
-
275
- subMenu . attr ( 'aria-expanded' , 'true' ) ;
276
-
277
270
closeBtn . on ( 'click' , close ) ;
278
271
279
- this . overlay . show ( 0 ) . on ( 'click' , close ) ;
280
- this . menuLinks . last ( ) . off ( 'blur' ) ;
272
+ if ( $ ( menuItem ) . hasClass ( '_show' ) ) {
273
+ closeBtn . trigger ( 'click' ) ;
274
+ } else {
275
+ menuItem . addClass ( '_show' )
276
+ . siblings ( menuItemSelector )
277
+ . removeClass ( '_show' ) ;
278
+ subMenu . attr ( 'aria-expanded' , 'true' ) ;
279
+ this . overlay . show ( 0 ) . on ( 'click' , close ) ;
280
+ this . menuLinks . last ( ) . off ( 'blur' ) ;
281
+ }
281
282
} ,
282
283
283
284
/**
You can’t perform that action at this time.
0 commit comments