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.

896 B
Raw Blame
@{
    var addtowishlist = Url.RouteUrl("AddProductDetails");
}
<template v-if="!PopupQuickViewVueModal.AddToCart.DisableWishlistButton">
    <template v-if="PopupQuickViewVueModal.AddToCart.UpdatedShoppingCartItemId == null">
        <a :id="'add-to-wishlist-button-' + PopupQuickViewVueModal.AddToCart.ProductId" class="btn btn-secondary add-to-wishlist-button me-1" title="@Loc["ShoppingCart.AddToWishlist"]" :data-productid="PopupQuickViewVueModal.AddToCart.ProductId" data-cart-action="add-details" :data-url="'@addtowishlist/' + PopupQuickViewVueModal.AddToCart.ProductId + '/2'" data-form="#product-details-form" data-bs-toggle="tooltip" data-bs-placement="bottom">
            <span class="visually-hidden">
                @Loc["ShoppingCart.AddToWishlist"]
            </span>
            <i class="b-icon bi bi-heart" aria-hidden="true"></i>
        </a>
    </template>
</template>