Profile: TrexWebmaster


User posts

one year ago

Hi!  I was actually able to use a view component to get my new settings this way (thanks to Anton at Nop Templates support for the idea).  

`var priceRangeFilterClassResult = await Component.InvokeAsync("NopAjaxFiltersSettingsExtend", new { CategoryId = currentCategoryId });`

one year ago

Is there a way to add settings to the Ajax Filters?  I can add a setting in the admin (e.g., nopAjaxFiltersSettings.somenewsetting), but I don't know how to add it to the NopAjaxFiltersSettings.  I could inject the settings service in the view, but I'd rather not.