Close

Profile: rread

Avatar

User posts

Running Nop 3.2.  Price range filter is posting to /Catalog7Spikes/GetFilteredProducts.  All products in categories are filtering properly, except the first one in the product grid for that category.  This issue occurs across multiple categories.  

Test Case #1:  Category shows a $459 product on the product grid when the max price range is set to $250.  If I go less than $250, the $459 product is correctly filtered out.  

Test Case #2:  A different category has the same problem, except that the product price is $250, and continues to display all the way down to a max price of $0.

Posted JSON (note SelectedPriceRange":{"To":"250"}):

{"categoryId":"1","manufacturerId":"0","priceRangeFilterModel7Spikes":{"CategoryId":"1","ManufacturerId":"0","Priority":1,"SelectedPriceRange":{"To":"250"},"MinPrice":"20","MaxPrice":"550"},"specificationFiltersModel7Spikes":{"CategoryId":"1","ManufacturerId":"0","SpecificationFilterGroups":[{"Id":"7","FilterItems":[{"Id":"48","FilterItemState":"Unchecked"},{"Id":"49","FilterItemState":"Unchecked"}]},{"Id":"6","FilterItems":[{"Id":"39","FilterItemState":"Disabled"},{"Id":"40","FilterItemState":"Unchecked"},{"Id":"41","FilterItemState":"Unchecked"}]},{"Id":"5","FilterItems":[{"Id":"36","FilterItemState":"Disabled"}]},{"Id":"4","FilterItems":[{"Id":"25","FilterItemState":"Disabled"},{"Id":"26","FilterItemState":"Disabled"},{"Id":"29","FilterItemState":"Disabled"},{"Id":"30","FilterItemState":"Disabled"},{"Id":"31","FilterItemState":"Disabled"},{"Id":"33","FilterItemState":"Disabled"}]},{"Id":"2","FilterItems":[{"Id":"18","FilterItemState":"Disabled"}]},{"Id":"1","FilterItems":[{"Id":"2","FilterItemState":"Disabled"},{"Id":"5","FilterItemState":"Disabled"}]}]},"attributeFiltersModel7Spikes":{"CategoryId":"1","ManufacturerId":"0","AttributeFilterGroups":[{"Id":"1","FilterItems":[{"Name":"Black","ProductVariantAttributeIds":["18"],"FilterItemState":"Disabled"},{"Name":"White","ProductVariantAttributeIds":["18"],"FilterItemState":"Disabled"}]},{"Id":"6","FilterItems":[{"Name":"Doge 1","ProductVariantAttributeIds":["19"],"FilterItemState":"Disabled"},{"Name":"Test 1","ProductVariantAttributeIds":["19"],"FilterItemState":"Disabled"},{"Name":"Test Color 2","ProductVariantAttributeIds":["19"],"FilterItemState":"Disabled"}]},{"Id":"2","FilterItems":[{"Name":"Test option 1","ProductVariantAttributeIds":["20"],"FilterItemState":"Disabled"},{"Name":"Test option 2","ProductVariantAttributeIds":["20"],"FilterItemState":"Disabled"},{"Name":"Test option 3","ProductVariantAttributeIds":["20"],"FilterItemState":"Disabled"},{"Name":"Test option 4","ProductVariantAttributeIds":["20"],"FilterItemState":"Disabled"}]},{"Id":"8","FilterItems":[{"Name":"2 Inches","ProductVariantAttributeIds":["17"],"FilterItemState":"Unchecked"},{"Name":"3 Inches","ProductVariantAttributeIds":["17"],"FilterItemState":"Unchecked"},{"Name":"4 Inches","ProductVariantAttributeIds":["17"],"FilterItemState":"Unchecked"},{"Name":"5 Inches","ProductVariantAttributeIds":["17"],"FilterItemState":"Unchecked"}]}]},"manufacturerFiltersModel7Spikes":{"CategoryId":"1","ManufacturerFilterItems":[{"Id":"2","FilterItemState":"Unchecked"},{"Id":"6","FilterItemState":"Unchecked"}]},"pageNumber":null,"orderby":"0","viewmode":"grid","pagesize":"12","queryString":"","shouldNotStartFromFirstPage":false}


Response output shows a product with a price of $459.00:

<div id="nopAjaxFiltersNoProductsDialog" title="NO RESULTS FOUND">
    <p>There are no products for the filters that you selected. Please widen your search criteria.</p>
</div>
    <div class="product-grid">
        <div class="item-grid">
                <div class="item-box">
                    
<div class="product-item" data-productid="1">
    <h2 class="product-title">
        <a href="/ms-dmc3-4-master-station-white"> M&amp;S DMC3-4 Master Station - White</a>
    </h2>
    <div class="picture">
        <a href="/ms-dmc3-4-master-station-white" title="Show details for  M&amp