Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for magento2.4.4 #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 21 additions & 20 deletions view/frontend/web/template/shipping.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,50 +5,50 @@
*/
-->
<li id="shipping" class="checkout-shipping-address" data-bind="fadeVisible: visible()">
<each args="getRegion('before-shipping-address')" render="" />
<div class="step-title" translate="'Shipping Address'" data-role="title" />
<each args="getRegion('before-shipping-address')" render=""></each>
<div class="step-title" translate="'Shipping Address'" data-role="title"></div>
<div id="checkout-step-shipping"
class="step-content"
data-role="content">

<each if="!quoteIsVirtual" args="getRegion('customer-email')" render="" />
<each args="getRegion('address-list')" render="" />
<each args="getRegion('address-list-additional-addresses')" render="" />
<each if="!quoteIsVirtual" args="getRegion('customer-email')" render=""></each>
<each args="getRegion('address-list')" render=""></each>
<each args="getRegion('address-list-additional-addresses')" render=""></each>

<!-- Address form pop up -->
<if args="!isFormInline">
<button type="button"
class="action action-show-popup"
click="showFormPopUp"
visible="!isNewAddressAdded()">
<span translate="'New Address'" />
<span translate="'New Address'"></span>
</button>
<div id="opc-new-shipping-address"
visible="isFormPopUpVisible()"
render="shippingFormTemplate" />
render="shippingFormTemplate"></div>
</if>

<each args="getRegion('before-form')" render="" />
<each args="getRegion('before-form')" render=""></each>

<!-- Inline address form -->
<render if="isFormInline" args="shippingFormTemplate" />
<each args="getRegion('after-form')" render="" />
<render if="isFormInline" args="shippingFormTemplate"></render>
<each args="getRegion('after-form')" render=""></each>
</div>
<each args="getRegion('after-shipping-address')" render="" />
<each args="getRegion('after-shipping-address')" render=""></each>
</li>

<!--Shipping method template-->
<li id="opc-shipping_method"
class="checkout-shipping-method"
data-bind="fadeVisible: visible(), blockLoader: isLoading"
role="presentation">
<each args="getRegion('before-shipping-method')" render="" />
<each args="getRegion('before-shipping-method')" render=""></each>
<div class="checkout-shipping-method">
<div class="step-title"
translate="'Shipping Methods'"
data-role="title" />
data-role="title"></div>

<each args="getRegion('before-shipping-method-form')" render="" />
<each args="getRegion('before-shipping-method-form')" render=""></each>

<div id="checkout-step-shipping_method"
class="step-content"
Expand All @@ -61,28 +61,29 @@
submit="setShippingInformation"
novalidate="novalidate">

<render args="shippingMethodListTemplate"/>
<render args="shippingMethodListTemplate"></render>

<div id="onepage-checkout-shipping-method-additional-load">
<each args="getRegion('shippingAdditional')" render="" />
<each args="getRegion('shippingAdditional')" render=""></each>
</div>
<div role="alert"
if="errorValidationMessage().length"
class="message notice">
<span text="errorValidationMessage()" />
<span text="errorValidationMessage()"></span>
</div>
<div class="actions-toolbar" id="shipping-method-buttons-container">
<div class="primary">
<button data-role="opc-continue" type="submit" class="button action continue primary">
<span translate="'Next'" />
<span translate="'Next'"></span>
</button>
</div>
</div>
</form>
<div class="no-quotes-block"
ifnot="rates().length > 0"
translate="'Sorry, no quotes are available for this order at this time'" />
translate="'Sorry, no quotes are available for this order at this time'"></div>
</div>
</div>
<each args="getRegion('after-shipping-method')" render="" />
<each args="getRegion('after-shipping-method')" render=""></each>
</li>