Hi huys
I´ve installed nopMinial theme. Deleted all products and started adding mine. And ajaxFilters stopped working.
http://edensign.azurewebsites.net/water
The strange think is that in my local machine with the demo products it still works
This is the error:
Uncaught TypeError: Cannot read property 'wrapper' of null
at FiltersManager.i.showNoProductsModalDialog (1sggd_s_gpknwwb5dxjonqyblqatlymx6jrkwx70e5s1?v=atwTgrc0avrQ01pF0wjvSJiE0KdtNjNiahDARI3v_rw1:1)
at FiltersManager.i.refreshProducts (1sggd_s_gpknwwb5dxjonqyblqatlymx6jrkwx70e5s1?v=atwTgrc0avrQ01pF0wjvSJiE0KdtNjNiahDARI3v_rw1:1)
at Object.<anonymous> (1sggd_s_gpknwwb5dxjonqyblqatlymx6jrkwx70e5s1?v=atwTgrc0avrQ01pF0wjvSJiE0KdtNjNiahDARI3v_rw1:1)
at a (1sggd_s_gpknwwb5dxjonqyblqatlymx6jrkwx70e5s1?v=atwTgrc0avrQ01pF0wjvSJiE0KdtNjNiahDARI3v_rw1:1)
at Object.fireWith [as resolveWith] (1sggd_s_gpknwwb5dxjonqyblqatlymx6jrkwx70e5s1?v=atwTgrc0avrQ01pF0wjvSJiE0KdtNjNiahDARI3v_rw1:1)
at k (1sggd_s_gpknwwb5dxjonqyblqatlymx6jrkwx70e5s1?v=atwTgrc0avrQ01pF0wjvSJiE0KdtNjNiahDARI3v_rw1:1)
at XMLHttpRequest.u (1sggd_s_gpknwwb5dxjonqyblqatlymx6jrkwx70e5s1?v=atwTgrc0avrQ01pF0wjvSJiE0KdtNjNiahDARI3v_rw1:1)
i.showNoProductsModalDialog @ 1sggd_s_gpknwwb5dxjonqyblqatlymx6jrkwx70e5s1?v=atwTgrc0avrQ01pF0wjvSJiE0KdtNjNiahDARI3v_rw1:1
i.refreshProducts @ 1sggd_s_gpknwwb5dxjonqyblqatlymx6jrkwx70e5s1?v=atwTgrc0avrQ01pF0wjvSJiE0KdtNjNiahDARI3v_rw1:1
(anonymous) @ 1sggd_s_gpknwwb5dxjonqyblqatlymx6jrkwx70e5s1?v=atwTgrc0avrQ01pF0wjvSJiE0KdtNjNiahDARI3v_rw1:1
a @ 1sggd_s_gpknwwb5dxjonqyblqatlymx6jrkwx70e5s1?v=atwTgrc0avrQ01pF0wjvSJiE0KdtNjNiahDARI3v_rw1:1
fireWith @ 1sggd_s_gpknwwb5dxjonqyblqatlymx6jrkwx70e5s1?v=atwTgrc0avrQ01pF0wjvSJiE0KdtNjNiahDARI3v_rw1:1
k @ 1sggd_s_gpknwwb5dxjonqyblqatlymx6jrkwx70e5s1?v=atwTgrc0avrQ01pF0wjvSJiE0KdtNjNiahDARI3v_rw1:1
u @ 1sggd_s_gpknwwb5dxjonqyblqatlymx6jrkwx70e5s1?v=atwTgrc0avrQ01pF0wjvSJiE0KdtNjNiahDARI3v_rw1:1
And I´ve checked the request and response of /getFilteredProducts , and it seems the problem is there.
Request:
POST http://edensign.azurewebsites.net/getFilteredProducts HTTP/1.1
Host: edensign.azurewebsites.net
Connection: keep-alive
Content-Length: 598
Pragma: no-cache
Cache-Control: no-cache
Accept: */*
Origin: http://edensign.azurewebsites.net
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36
Content-Type: application/json; charset=UTF-8
Referer: http://edensign.azurewebsites.net/water?pagesize=3&pagenumber=3
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.8,pt;q=0.6
Cookie: ARRAffinity=ace043bd59d14d9475b95288ea5fbe183a23a27c005d813477d193483806dea4; __RequestVerificationToken=7U67osnim2lvsNirtxtkY_QIZLTiOHGf1D9WDOsWOIrnqlAeUDrbJCllhq7GhGy6MHmbxQ1n62x-8qkzJBeCQEVm46NvLVvNjzxDmrUkAmI1; ASP.NET_SessionId=rpako4d5jhzu2zb1rukxenwi; NOPCOMMERCE.AUTH=B54E9D3821FA34135DFA79F6B7BA11AA88251EB5AB1AFCC551EBA85678AA0C5F9AB5E06AF6BE169A153630770AB6C361CEFB7BB9679355E64E2C9AC41A2AF6599C9979636547C03555FED5499CAA7FF3B79110DC146923EB1EA40A8EFDAAAD494E17107FB369EFCA2511A06AB5DEC792B3E3DE06FF1F86F1384D1F1B47E5326F618ED9A43A88BA153EFF6CE4CDBE7D3BB083FFBD59EBA78BF89CCD7396E23BA4C6E1A7AFAFC7AEDE54A83DBE111D9D6CD316F14F26639704A51E37B034CC8F30; Nop.customer=6bbf2dc2-cec7-4a1f-b857-c624417b766a
{"categoryId":"27","manufacturerId":"0","vendorId":"0","priceRangeFilterModel7Spikes":{"CategoryId":"27","ManufacturerId":"0","VendorId":"0","Priority":1,"SelectedPriceRange":{"To":"1097"},"MinPrice":"0","MaxPrice":"1250"},"pageNumber":null,"orderby":"0","viewmode":"grid","pagesize":"6","queryString":"","shouldNotStartFromFirstPage":false,"keyword":"","searchCategoryId":"0","searchManufacturerId":"0","searchVendorId":"0","priceFrom":"","priceTo":"","includeSubcategories":"False","searchInProductDescriptions":"False","advancedSearch":"False","isOnSearchPage":"False","inStockFilterMod