Forums › Forums › Search & Filter Pro › ajax container and products count
- This topic has 121 replies, 3 voices, and was last updated 6 years, 7 months ago by Ross.
-
Anonymous(Private) November 13, 2017 at 5:57 pm #141677
I would like to summarize problems I have:
– can not filtrate via meta data of product variations (i.e. product length)
– after product variant is sold out, S&F cache need to be rebuild
– counts in product filter does not accept “post meta” condition -> _stock_status = instockRoss Moderator(Private) November 13, 2017 at 6:01 pm #141679This reply has been marked as private.Ross Moderator(Private) November 13, 2017 at 7:24 pm #141711This reply has been marked as private.Anonymous(Private) November 13, 2017 at 8:13 pm #141750OK, I understand that this thread could be little bit long and confusing.
I don’t use meta filters in my production version because of its malfunction.I’ve added length and width meta filters to testing site (bosaacik.sk)
You can check these out.
i.e. Baby Bare Shoes – Lion has length 12,2cm and 6,2cm width.
When I set filter to show length: 10+15 and width:3+9 its show me no result:
https://bosaacik.sk/eshop?_sfm__length=10+15&_sfm__width=3+9&_sfm__price=10.5+100Ross Moderator(Private) November 14, 2017 at 10:25 pm #141986This reply has been marked as private.Anonymous(Private) November 15, 2017 at 9:24 am #1420341) Meta Filter – can not filtrate via meta data of product variations (i.e. product length)
– so far I’ve tested, it looks that filtering works fine2) Range filter UI
2a) Can not correctly set range filter to make step 0.1. When I try to filter products with length 11.6 – 12.1, it looks that products are filtered correctly but, Range Filter attributes in UI was changed to 11.0 – 12.0
2b) When user manually change min value of range UI (ie. length) lower that minimum value was detected, UI change this value to detected minimum value automatically after switch to another UI element.
2c) Max value of price was not detected correctly. S&F detected 100,5 but real max value is 100.3) Issue in filtering
It is difference between:
https://bosaacik.sk/eshop/typ/balerinky
and
https://bosaacik.sk/eshop?_sfm__length=11+24&_sfm__width=5.2+9&_sfm__price=10.5+100.5&_sft_pa_typ=balerinky
(was generated with filter: typ=balerinky)4) counts in product filter does not accept “post meta” condition -> _stock_status = instock
I’ve disabled “Update the Search Form on user interaction” because I don’t want to change filter with user interaction. Its fine for me, when filter shows correct values after page load.
– Anyway option “Enable auto count” works fine5) after product variant is sold out, S&F cache need to be rebuild
– I’ve noticed in your video that “Baby Bare SHoues – canary” variant 23 has disabled “warehouse management”. Don’t know why, because all variants should has this option enabled.To simulate my issue:
– Filter products with size 20: https://bosaacik.sk/eshop?_sfm__length=11+24&_sfm__width=5.2+9&_sfm__price=10.5+100.5&_sft_pa_velkost=20
– change baby bare shoes – lion (https://bosaacik.sk/wp-admin/post.php?post=9407&action=edit) variant 20: stock quantity = 0 and “stock status” = “out of stock”
– again filter products with size 20: https://bosaacik.sk/eshop?_sfm__length=11+24&_sfm__width=5.2+9&_sfm__price=10.5+100.5&_sft_pa_velkost=206) filter products which has empty length or width meta
– With correct meta length/width filter function came another “issue”. I have products in my eshop which has no length or width values (i.e. https://bosaacik.sk/eshop/typ/doplnky). How can I achieve, that also these products would be filtered. Is it possible to add any condition in “post meta” that provide it ?7) don’t know why, but AJAX loading stop works correctly – when I filter products, no products are shown – they are loaded but not visible. I’ve made no change which should affected this feature.
Ross Moderator(Private) November 15, 2017 at 1:21 pm #142119Ok some updates
1) Great 🙂
2a) This has been fixed – let me know
2b) This is correct behaviour, user should not be able to select lower than the min, especially in range slider
2c) Max is being detected correctly, but this max is taking into consideration your value of
step
from themin
(10.5) value. The max will always be the end of astep
range, try setting min manually to10
or0
3) I am looking into
4) Great 🙂
5) I am looking into
6) This is how S&F works. If you have a range slider, and a form is submitted, then the user is submitting the range (and its appended to the URL) say
0 - 100
Empty meta values are not within the range, so they won’t show. Currently the only way around this for now, is to set dimensions of0
for your products so they are listed in the default search (and make sure min of the range slider is manually set to0
).
I am working on a new implementation for S&F V37) We will leave this to the end, I have an idea about it but lets tackle the other first.
Let me know your feedback on the above.
Thanks
-
AuthorPosts