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
Replace <b-tags> - AddToCart
DanielŻuławski40cb819e43fa
diff --git a/src/Web/Grand.Web/Views/Product/_AddToCart.cshtml b/src/Web/Grand.Web/Views/Product/_AddToCart.cshtmlindex 02c359463..06d96e7b8 100644--- a/src/Web/Grand.Web/Views/Product/_AddToCart.cshtml+++ b/src/Web/Grand.Web/Views/Product/_AddToCart.cshtml@@ -18,7 +18,7 @@</div></div>}-<b-input-group class="product-add-to-cart flex-nowrap">+<div role="group" class="input-group product-add-to-cart flex-nowrap">@if (!Model.DisableBuyButton || Model.EnteredPrice){if (!String.IsNullOrEmpty(Model.MinimumQuantityNotification))@@ -93,12 +93,12 @@}</script>- <b-input-group-append>- <button type="button" id="[email protected]" class="btn btn-info w-100 add-to-cart-button d-inline-flex" data-productid="@Model.ProductId" onclick="AxiosCart.addproducttocart_details('@Url.RouteUrl("AddProductDetails", new { productId = Model.ProductId, shoppingCartTypeId = (int)shoppingCartType })', '#product-details-form');return false;">- <span>@addToCartText</span>- </button>- </b-input-group-append>+ <div class="input-group-append">+ <button type="button" id="[email protected]" class="btn btn-info w-100 add-to-cart-button d-inline-flex" data-productid="@Model.ProductId" onclick="AxiosCart.addproducttocart_details('@Url.RouteUrl("AddProductDetails", new { productId = Model.ProductId, shoppingCartTypeId = (int)shoppingCartType })', '#product-details-form');return false;">+ <span>@addToCartText</span>+ </button>+ </div>}}}-</b-input-group>+</div>