File tree 4 files changed +26
-3
lines changed
Catalog/view/adminhtml/web/catalog/product/composite
Checkout/view/frontend/web/template/cart
dev/tests/functional/tests/app/Magento/Checkout/Test/Block/Cart
4 files changed +26
-3
lines changed Original file line number Diff line number Diff line change 7
7
* @api
8
8
*/
9
9
define ( [
10
+ 'jquery' ,
10
11
'Magento_Ui/js/lib/view/utils/async' ,
11
12
'jquery/ui' ,
12
13
'mage/translate' ,
@@ -838,4 +839,6 @@ define([
838
839
} ;
839
840
840
841
productConfigure = new ProductConfigure ( ) ;
842
+ jQuery ( document ) . trigger ( 'productConfigure:inited' ) ;
843
+ jQuery ( document ) . data ( 'productConfigureInited' , true ) ;
841
844
} ) ;
Original file line number Diff line number Diff line change 11
11
< fieldset class ="fieldset rate " data-bind ="visible: (shippingRates().length > 0) ">
12
12
< dl class ="items methods " data-bind ="foreach: shippingRateGroups ">
13
13
< dt class ="item-title "> < span data-bind ="text: $data "> </ span > </ dt >
14
- < dd class ="item-options " data-bind ="foreach: $parent.getRatesForGroup($data) ">
14
+ < dd class ="item-options " data-bind ="foreach: { data: $parent.getRatesForGroup($data), as: 'method' } ">
15
15
< div data-bind ="css: {'field choice item': available, 'message error': !available} ">
16
16
<!-- ko ifnot: (available) -->
17
17
< div data-bind ="text: error_message "> </ div >
29
29
"/>
30
30
< label class ="label " data-bind ="attr: {for: 's_method_' + method_code} ">
31
31
<!-- ko text: $data.method_title --> <!-- /ko -->
32
- <!-- ko text: $parents[1].getFormattedPrice(amount) --> <!-- /ko -- >
32
+ < each args =" element.getRegion('price') " render ="" / >
33
33
</ label >
34
34
<!-- /ko -->
35
35
</ div >
Original file line number Diff line number Diff line change 7
7
-->
8
8
<page xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:View/Layout/etc/page_configuration.xsd" >
9
9
<body >
10
+ <referenceBlock name =" checkout.cart.shipping" >
11
+ <arguments >
12
+ <argument name =" jsLayout" xsi : type =" array" >
13
+ <item name =" components" xsi : type =" array" >
14
+ <item name =" block-summary" xsi : type =" array" >
15
+ <item name =" children" xsi : type =" array" >
16
+ <item name =" block-rates" xsi : type =" array" >
17
+ <item name =" children" xsi : type =" array" >
18
+ <item name =" price" xsi : type =" array" >
19
+ <item name =" component" xsi : type =" string" >Magento_Tax/js/view/checkout/shipping_method/price</item >
20
+ <item name =" displayArea" xsi : type =" string" >price</item >
21
+ </item >
22
+ </item >
23
+ </item >
24
+ </item >
25
+ </item >
26
+ </item >
27
+ </argument >
28
+ </arguments >
29
+ </referenceBlock >
10
30
<referenceBlock name =" checkout.cart.totals" >
11
31
<arguments >
12
32
<argument name =" jsLayout" xsi : type =" array" >
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ class Shipping extends Form
70
70
*
71
71
* @var string
72
72
*/
73
- protected $ commonShippingPriceSelector = '.shipping .price ' ;
73
+ protected $ commonShippingPriceSelector = '.totals. shipping .price ' ;
74
74
75
75
/**
76
76
* Open estimate shipping and tax form.
You can’t perform that action at this time.
0 commit comments