Querry Database

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 6 ans
i want to change bestseller querry database, where that place? thank you
Il y a 6 ans
rafaarian wrote:
i want to change bestseller querry database, where that place? thank you


Hello,

Require source code for that.

Open  Product controller from Presentation\Nop.Web\Controllers and find HomepageBestSellers action. You can change in that action

Thanks,
Jatin
Il y a 6 ans
so i dont know about this source code in homepagebestseller for what?


var report = _cacheManager.Get(string.Format(ModelCacheEventConsumer.HOMEPAGE_BESTSELLERS_IDS_KEY, _storeContext.CurrentStore.Id),
                () => _orderReportService.BestSellersReport(
                    storeId: _storeContext.CurrentStore.Id,
                    pageSize: _catalogSettings.NumberOfBestsellersOnHomepage)
                    .ToList());
Il y a 6 ans
thanks
Il y a 6 ans
what the meaning about this.ignore in nop.data thanks
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.