Skip to content

Commit

Permalink
Added carrier code to ID to distinguish shipping methods with the sam…
Browse files Browse the repository at this point in the history
…e method name but differing carrier code
  • Loading branch information
peterjaap committed Oct 14, 2017
1 parent 56ec141 commit 3e4f1a4
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -24,10 +24,10 @@
checked: $parents[1].selectedShippingMethod,
attr: {
value: carrier_code + '_' + method_code,
id: 's_method_' + method_code
id: 's_method_' + carrier_code + '_' + method_code
}
"/>
<label class="label" data-bind="attr: {for: 's_method_' + method_code}">
<label class="label" data-bind="attr: {for: 's_method_' + carrier_code + '_' + method_code}">
<!-- ko text: $data.method_title --><!-- /ko -->
<!-- ko text: $parents[1].getFormattedPrice(amount) --><!-- /ko -->
</label>
Expand Down

0 comments on commit 3e4f1a4

Please sign in to comment.