Support Forums

Hey there, it looks like you've been redirected from designsandcode.com - as you can see we have a new home - read more

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro ajax container and products count

  • This topic has 121 replies, 3 voices, and was last updated 6 years ago by Ross.
Viewing 10 posts - 1 through 10 (of 122 total)
  • Veronika Palkova
    #109839

    Could you please check my site (https://bosaacik.sk/eshop) ? I would like to load filter result by AJAX, but it not works. I think that problem should be in css ajax container. Now I’ve set it to “.products”, but it not works. How should I set up AJAX container ? Or is it another issue ?

    Another problem I’ve had is that all items in taxonomy filter (i.e. Výrobca) shows zero count.
    For example:
    I have products where vyrobca=Froddo, filter shows zero count in dropdown input, but actually there is some products. You can see it in: https://bosaacik.sk/vyrobca/froddo

    Thank you

    Trevor Moderator
    #109898
    This reply has been marked as private.
    Veronika Palkova
    #109927
    This reply has been marked as private.
    Trevor Moderator
    #110007

    Hi, a quick question having had a look, is vyrobca attributes or variations?

    Veronika Palkova
    #110056

    Hi,
    vyrobca is product attribute

    Trevor Moderator
    #110374

    What is Vlastnosti then?

    Veronika Palkova
    #110390

    “Vlasnosti” is slovak translation of “Attributes”
    “Varianty” i slovak translation of “Variants”

    If wp-admin translation is problem, we/you can switch it to English.
    I have csv importer for my products, and via this importer I’ve set product attributes and variants. Something like that (just relevant columns):

    CSV Importer example:

    Trevor Moderator
    #110521

    OK

    I need to take this in steps.

    So, for now I have disabled Enable filtering on Taxonomy Archives only for testing purposes. When all is working, this can be switched back on.

    Ajax Container I have now set to .page-content because this seems to be outside the loop.

    I do a test search for Length at 12,4 and I expect to see 6 results. This is the URL it gives:

    https://bosaacik.sk/eshop?_sfm__price=24+49&_sfm__length=12%2C5

    No results. Notice it has included price also by adding _sfm__price=24+49 to the URL?

    If I edit the URL manually to this (which is what I wanted):

    https://bosaacik.sk/eshop?_sfm__length=12%2C5

    YES!! I get 6 results.

    So, there is a problem with the price slider settings or data. Looking at the 6 results, I can see prices.

    I see you use , for decimals point, but in the price field setting, this has not been set in the Decimal Seperator option. So I will change that from . to ,

    Now the https://bosaacik.sk/eshop?_sfm__price=24+49&_sfm__length=12%2C5 URL gives 4 results, not six?

    I see that the range is 24-49, but the lowest value in this search is 23,90. I do not know why it has been rounded up like this. I also notice there appears to be a bug with the start value.

    I need to stop here and talk to the developer.

    Veronika Palkova
    #110630

    Thank you for your investigation.
    I’ve also noticed that price slider round min and max value. If it is bug I can live with that to time, when it will be fixed (I can change type of price filter to other input type).


    I do a test search for Length at 12,4 and I expect to see 6 results. This is the URL it gives:
    https://bosaacik.sk/eshop?_sfm__price=24+49&_sfm__length=12%2C5
    No results. Notice it has included price also by adding _sfm__price=24+49 to the URL?
    If I edit the URL manually to this (which is what I wanted):
    https://bosaacik.sk/eshop?_sfm__length=12%2C5
    YES!! I get 6 results.

    I suppose that, you get “no results” in first query because of wrong AJAX loading (bad container?) nor because of price filter. When you try to manually make a request with price filter:
    https://bosaacik.sk/eshop?_sfm__price=24+49&_sfm__length=12%2C5
    You will get a good result.

    I can also live withou AJAX loading to time when we found a good solution.

    My main interest at this time is a good results of combination of price,taxonomy,category,tags and meta filters.

    Trevor Moderator
    #110644

    From my testing, and I have reported it also, if the lower From price is the same as default, you get no results. Try using the slider to increase the value, I think it then works. Most odd. As I said, I have passed this to Ross, the developer, for him to look at.

Viewing 10 posts - 1 through 10 (of 122 total)

The topic ‘ajax container and products count’ is closed to new replies.