Skip to content

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.

693 B
Raw Blame
@model ProductDetailsModel
<div class="availability generalMarginSupporter">
    @if (!string.IsNullOrWhiteSpace(Model.StockAvailability))
    {
        <div class="stock">
            <span class="label">@Loc["Products.Availability"]:</span>
            @*no itemprop here: this block sits in the Product scope, and availability is an
              Offer property - Partials/Prices states it, from the same Model.Availability*@
            <span class="value" id="[email protected]">@Model.StockAvailability</span>
        </div>
    }
    @if (Model.DisplayOutOfStockSubscription)
    {
        <partial name="Partials/OutOfStockSubscription" model="Model"/>
    }
</div>