Skip to content

Commit 899833b

Browse files
ENGCOM-3358: [Forwardport] Prevent rendering of 'Ship here' button to select a shipping item if it is already selected #18986
- Merge Pull Request #18986 from nmalevanec/magento2:2.3-develop-PR-port-17708 - Merged commits: 1. 75e2547
2 parents da1a96c + 75e2547 commit 899833b

File tree

2 files changed

+2
-5
lines changed
  • app
    • code/Magento/Checkout/view/frontend/web/template/shipping-address/address-renderer
    • design/frontend/Magento/blank/Magento_Checkout/web/css/source/module/checkout

2 files changed

+2
-5
lines changed

app/code/Magento/Checkout/view/frontend/web/template/shipping-address/address-renderer/default.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@
3535
click="editAddress">
3636
<span translate="'Edit'"></span>
3737
</button>
38+
<!-- ko if: (!isSelected()) -->
3839
<button type="button" click="selectAddress" class="action action-select-shipping-item">
3940
<span translate="'Ship Here'"></span>
4041
</button>
42+
<!-- /ko -->
4143
</div>

app/design/frontend/Magento/blank/Magento_Checkout/web/css/source/module/checkout/_shipping.less

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,6 @@
9898
text-align: center;
9999
top: 0;
100100
}
101-
102-
.action-select-shipping-item {
103-
&:extend(.abs-no-display-s all);
104-
visibility: hidden;
105-
}
106101
}
107102
}
108103

0 commit comments

Comments
 (0)