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
<template v-if="PopupQuickViewVueModal.ProductType == 40">
<div class="row">
<div class="form-group col-12">
<template v-if="PopupQuickViewVueModal.EndTime !== null">
<div class="countdown-box alert alert-info">
<template v-if="new Date(PopupQuickViewVueModal.EndTime).getTime() > new Date().getTime()">
<countdown :end-time="new Date(PopupQuickViewVueModal.EndTime).getTime()">
<template v-slot:process="{ timeObj }">
<span class="col-form-label">@Loc["AddToCart.Timeleft"]</span>
<span>{{ `${timeObj.d}` }}@Loc["Countdown.Days"]</span>
<span>{{ `${timeObj.h}` }}@Loc["Countdown.Hours"]</span>
<span>{{ `${timeObj.m}` }}@Loc["Countdown.Minutes"]</span>
<span>{{ `${timeObj.s}` }}@Loc["Countdown.Seconds"]</span>
</template>
<template v-slot:finish>
<span>@Loc["ShoppingCart.Auctionends"]</span>
</template>
</countdown>
</template>
<template v-else>
<div class="d-inline-flex flex-wrap flex-column">
<label class="ended-label col-form-label mb-0">@Loc["ShoppingCart.Auctionends"]:</label>
<div class="count-date d-flex" v-html="new Date(PopupQuickViewVueModal.EndTimeLocalTime).toLocaleString()"></div>
</div>
</template>
</div>
</template>
<template v-if="new Date(PopupQuickViewVueModal.EndTime).getTime() > new Date().getTime()">
<div class="input-group product-add-to-cart flex-nowrap">
<input :name="'HighestBidValue'" type="number" class="form-control bid-input" :value="PopupQuickViewVueModal.HighestBidValue + 1"/>
<div class="input-group-append">
<button :id="'bid-button-' + PopupQuickViewVueModal.Id" class="btn btn-info add-to-cart-button d-inline-flex align-items-center" :data-productid="PopupQuickViewVueModal.Id" data-cart-action="bid" :data-url="'/AddBid/' + PopupQuickViewVueModal.Id" data-form="#product-details-form">
<i class="b-icon bi bi-hammer mx-1" aria-hidden="true"></i><span>@Loc["ShoppingCart.Bid"]</span>
</button>
</div>
</div>
</template>
</div>
</div>
</template>