@page "/search/{Query?}" @using Microsoft.Extensions.Configuration @using MultiShop.Shared @inject HttpClient Http @inject IConfiguration Configuration @inject IJSRuntime js
This is the maximum number of results we gather for each store we have access to. The larger the result, the longer it takes to load search queries.
The currency displayed may either be from the online store directly, or through currency conversion (we'll put a little tag beside the coonverted ones).
We'll only show products that have a rating greater than or equal to the set minimum rating. Optionally, we can also show those that don't have rating.
Results will be pruned of budgets that fall outside of the designated range. The checkbox can enable or disable the upper bound. These bounds do include the shipping price if it's known.
We'll only look through shops that are enabled in this list. Of course, at least one shop has to be enabled.
@foreach (string shop in Shops.Keys) {Only products that have enough purchases are shown. Optionally, we can also show results that don't have a purchase tally.
Only products with enough reviews/ratings are shown. Optionally, we can also show the results that don't have this information.
Show results with shipping rates less than a certain value, and choose whether or not to display listings without shipping information.
The results will be sorted by the top category. If the compared results are equal or don't have a value for that category, the next category on the list will be used and so on.
Name | Price | Shipping | Purchases | Rating | Reviews | |
---|---|---|---|---|---|---|
@product.Listing.Name
From @product.ShopName
@if (product.Listing.ConvertedPrices)
{
Converted price
}
@foreach (ResultsProfile.Category c in product.Tops)
{
@CategoryTags(c)
}
|
@if (product.Listing.UpperPrice != product.Listing.LowerPrice)
{
@product.Listing.LowerPrice to @product.Listing.UpperPrice
}
else
{
@GetOrNA(product.Listing.LowerPrice)
}
|
@GetOrNA(product.Listing.Shipping)
|
@GetOrNA(product.Listing.PurchaseCount)
|
@(product.Listing.Rating != null ? string.Format("{0:P2}", product.Listing.Rating) : "N/A")
|
@GetOrNA(product.Listing.ReviewCount) | View |