Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
@*v-cloak: v-if does not suppress anything until Vue has mounted, so without it the
raw {{ }} source of this block is on screen until the deferred bundle runs*@
<div v-if="vmorder.Confirm" v-cloak class="checkout-data order-summary-content col-12 px-0">
@await Component.InvokeAsync("Widget", new { widgetZone = "checkout_confirm_top" })
<div class="order-summary mb-3">
<partial name="Partials/ReviewData" model="null"/>
</div>
<div class="confirm-order">
<div v-if="vmorder.MinOrderTotalWarning !== null">
<div class="alert alert-danger my-3">
{{vmorder.MinOrderTotalWarning}}
</div>
</div>
<div v-if="vmorder.ConfirmWarnings !== 'undefined' && vmorder.ConfirmWarnings.length > 0" class="alert alert-danger my-3">
<template v-for="warning in vmorder.ConfirmWarnings">
<span>{{warning}}</span>
</template>
</div>
</div>
@await Component.InvokeAsync("Widget", new { widgetZone = "checkout_confirm_bottom" })
<div class="confirm-buttons">
<template v-if="vmorder.MinOrderTotalWarning == null && vmorder.cart.TermsOfServiceOnOrderConfirmPage">
<div class="w-100 mb-3">
<div class="form-check">
<input class="form-check-input" type="checkbox" id="TermsOfService" name="TermsOfService" v-model="vmorder.terms">
<label class="form-check-label" for="TermsOfService">
@Loc["Checkout.TermsOfService.PleaseAccept"] <a href="@Url.RouteUrl("Page", new { SeName = "conditionsofuse" })" target="_blank">@Loc["Checkout.TermsOfService.Read"]</a>
</label>
</div>
<div class="alert alert-info my-2" :show="vmorder.acceptTerms">@Loc["Checkout.TermsOfService.PleaseAccept"]</div>
</div>
<button class="btn btn-secondary me-2" id="new-back-confirm_order" @@click="vmorder.backStep(vmorder.previousStep)">@Loc["Common.Back"]</button>
<button class="btn btn-info" @@click="vmorder.termsCheck()">
@Loc["Common.Confirm"]
</button>
</template>
<template v-else>
<button class="btn btn-secondary me-2" id="new-back-confirm_order" @@click="vmorder.backStep(vmorder.previousStep)">@Loc["Common.Back"]</button>
<input type="button" class="btn btn-info confirm-order-next-step-button" @@click="vmorder.vConfirmOrder.save()" value="@Loc["Common.Confirm"]"/>
</template>
</div>
</div>