File tree Expand file tree Collapse file tree 6 files changed +6
-21
lines changed
Catalog/view/frontend/templates/product/view
Paypal/view/frontend/layout
dev/tests/integration/testsuite/Magento/Directory/Model/Country/Postcode Expand file tree Collapse file tree 6 files changed +6
-21
lines changed Original file line number Diff line number Diff line change 40
40
</div>
41
41
</div>
42
42
<?php endif ; ?>
43
- <?php if ($ block ->isRedirectToCartEnabled ()) : ?>
44
- <script type="text/x-magento-init">
45
- {
46
- "#product_addtocart_form": {
47
- "Magento_Catalog/product/view/validation": {
48
- "radioCheckboxClosest": ".nested"
49
- }
50
- }
51
- }
52
- </script>
53
- <?php else : ?>
54
43
<script type="text/x-magento-init">
55
44
{
56
45
"#product_addtocart_form": {
57
46
"Magento_Catalog/js/validate-product": {}
58
47
}
59
48
}
60
49
</script>
61
- <?php endif ; ?>
Original file line number Diff line number Diff line change @@ -35,9 +35,6 @@ public function __construct(
35
35
*/
36
36
public function execute ()
37
37
{
38
- /** @var \Magento\Framework\View\Result\Page $resultPage */
39
- $ resultPage = $ this ->resultPageFactory ->create ();
40
- $ resultPage ->getConfig ()->getTitle ()->set (__ ('My Account ' ));
41
- return $ resultPage ;
38
+ return $ this ->resultPageFactory ->create ();
42
39
}
43
40
}
Original file line number Diff line number Diff line change 6
6
*/
7
7
-->
8
8
<page xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" layout =" 2columns-left" xsi : noNamespaceSchemaLocation =" urn:magento:framework:View/Layout/etc/page_configuration.xsd" label =" Customer My Account (All Pages)" design_abstraction =" custom" >
9
+ <head >
10
+ <title >My Account</title >
11
+ </head >
9
12
<body >
10
13
<attribute name =" class" value =" account" />
11
14
<referenceContainer name =" sidebar.main" >
Original file line number Diff line number Diff line change 207
207
<zip countryCode =" JP" >
208
208
<codes >
209
209
<code id =" pattern_1" active =" true" example =" 123-4567" >^[0-9]{3}-[0-9]{4}$</code >
210
- <code id =" pattern_2" active =" true" example =" 123 " >^[0-9]{3 }$</code >
210
+ <code id =" pattern_2" active =" true" example =" 1234567 " >^[0-9]{7 }$</code >
211
211
</codes >
212
212
</zip >
213
213
<zip countryCode =" JE" >
Original file line number Diff line number Diff line change 6
6
*/
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
- <head >
10
- <title >Billing Agreements</title >
11
- </head >
12
9
<body >
13
10
<referenceBlock name =" customer_account_navigation" >
14
11
<block class =" Magento\Customer\Block\Account\SortLinkInterface" name =" customer-account-navigation-billing-agreements-link" >
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ public function getPostcodesDataProvider()
133
133
['countryId ' => 'IL ' , 'postcode ' => '12345 ' ],
134
134
['countryId ' => 'IT ' , 'postcode ' => '12345 ' ],
135
135
['countryId ' => 'JP ' , 'postcode ' => '123-4567 ' ],
136
- ['countryId ' => 'JP ' , 'postcode ' => '123 ' ],
136
+ ['countryId ' => 'JP ' , 'postcode ' => '1234567 ' ],
137
137
['countryId ' => 'JE ' , 'postcode ' => 'TY8 9PL ' ],
138
138
['countryId ' => 'KZ ' , 'postcode ' => '123456 ' ],
139
139
['countryId ' => 'KE ' , 'postcode ' => '12345 ' ],
You can’t perform that action at this time.
0 commit comments