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.

Replace <b-> tags in Vendor.cshtml file

PatrykPorabik9637a8fc72b5
diff --git a/src/Web/Grand.Web/Views/Catalog/Vendor.cshtml b/src/Web/Grand.Web/Views/Catalog/Vendor.cshtml
index 0a1d1fe66..6a9f74058 100644
--- a/src/Web/Grand.Web/Views/Catalog/Vendor.cshtml
+++ b/src/Web/Grand.Web/Views/Catalog/Vendor.cshtml
@@ -16,21 +16,21 @@
}
<div class="page vendor-page">
- <b-card class="mt-3">
- <b-row>
- <b-col xl="2" lg="3" md="4">
- <b-avatar size="6rem" alt="@Model.PictureModel.AlternateText" src="@Model.PictureModel.ImageUrl">
- </b-col>
- <b-col xl="10" lg="9" md="8" class="align-items-center d-flex">
+ <div class="card mt-3">
+ <div class="row">
+ <div class="col-xl-2 col-lg-3 col-md-4">
+ <img class="img-fluid" alt="@Model.PictureModel.AlternateText" src="@Model.PictureModel.ImageUrl">
+ </div>
+ <div class="col-xl-10 col-lg-9 col-md-8 align-items-center d-flex">
<div>
<h1 class="h2 generalTitle w-100">
@Model.Name
</h1>
@if (Model.AllowCustomersToContactVendors)
{
- <b-button variant="info" size="sm" class="contact-vendor-button float-xs-right" onclick="location = ('@Url.RouteUrl("ContactVendor", new { vendorId = Model.Id })')">
+ <button class="btn btn-sm btn-info contact-vendor-button float-xs-right" onclick="location = ('@Url.RouteUrl("ContactVendor", new { vendorId = Model.Id })')">
@Loc["ContactVendor"]
- </b-button>
+ </button>
}
@await Component.InvokeAsync("Widget", new { widgetZone = "vendordetails_top", additionalData = Model.Id })
@*Rendering description section*@
@@ -48,10 +48,10 @@
</div>
}
</div>
- </b-col>
- </b-row>
- <b-row>
- <b-col cols="12">
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-12">
@if (Model.Address != null)
{
<ul class="info px-0 mb-0">
@@ -132,41 +132,41 @@
}
</ul>
}
- </b-col>
- </b-row>
- </b-card>
+ </div>
+ </div>
+ </div>
<div id="catalog-products">
@await Component.InvokeAsync("Widget", new { widgetZone = "productsearch_page_before_results" })
<partial name="_Selectors" />
<template v-if="catalog.Model.Products.length > 0">
<template v-if="catalog.Model.PagingFilteringContext.ViewMode == 'grid'">
- <b-col cols="12" class="product-grid px-0">
- <b-form-row>
+ <div class="col-12 product-grid px-0">
+ <div class="form-row">
<template v-for="Model in catalog.Model.Products">
- <b-col lg="4" sm="6" cols="6" class="product-container mb-2">
+ <div class="col-lg-4 col-sm-6 col-6 product-container mb-2">
<partial name="_CatalogProductViewVue" />
- </b-col>
+ </div>
</template>
- </b-form-row>
- </b-col>
+ </div>
+ </div>
</template>
<template v-else>
<div class="product-list">
- <b-col cols="12">
- <b-row>
+ <div class="col-12">
+ <div class="row">
<template v-for="Model in catalog.Model.Products">
<partial name="_CatalogProductListViewVue" />
</template>
- </b-row>
- </b-col>
+ </div>
+ </div>
</div>
</template>
<partial name="_Pagination" />
</template>
<template v-else>
- <b-alert variant="info" show class="my-3">
+ <div class="alert alert-info my-3">
@Loc["search.noresultstext"]
- </b-alert>
+ </div>
</template>
</div>
</div>