dipakmahalley wrote:Please suggest me how the products will fetch in category.
and where to write the queries for products fetching in category
only specific city related products show to the customer when customer select specific city
please suggest me early as possible.
You will find the following file ==>
~\Nop.Services\Catalog\ProductService.cs
And Methods:
[code]
/// <summary>
public virtual IPagedList<Product> SearchProducts(
out IList<int> filterableSpecificationAttributeOptionIds,
bool loadFilterableSpecificationAttributeOptionIds = false,
int pageIndex = 0,
int pageSize = int.MaxValue,
IList<int> categoryIds = null,
int manufacturerId = 0,
int storeId = 0,
int vendorId = 0,
int warehouseId = 0,
ProductType? productType = null,
bool visibleIndividuallyOnly = false,
bool markedAsNewOnly = false,
bool? featuredProducts = null,
decimal? priceMin = null,
decimal? priceMax = null,
int productTagId = 0,
string keywords = null,
bool searchDescriptions = false,
bool searchManufacturerPartNumber = true,
bool searchSku = true,
bool searchProductTags = false,
int languageId = 0,
IList<int> filteredSpecs = null,
ProductSortingEnum orderBy = ProductSortingEnum.Position,
bool showHidden = false,
bool? overridePublished = null)
{
.............
}
//For city, you have to customize code to get this feature.