Sort by Price not working – ajax error

  • prakashreddy.imduri
    Participant
    5 months, 1 week ago #30699

    I have added Price – Low to High and High to Low Sorting, the ajax is returning [error 500 in network tab], rest of the sorting is working fine like relevancy, A-Z . I am using _price attribute for this filter.
    Image image.png of Sort by Price not working - ajax error
    Image image.png of Sort by Price not working - ajax error

    wpsolr
    Keymaster
    5 months, 1 week ago #30700

    Did you select “_price” in screen 2.2, and reindexed all your data?

    prakashreddy.imduri
    Participant
    5 months, 1 week ago #30701

    Yes, we selected it and also indexed all data.
    Image image.png of
    Image image.png of

    prakashreddy.imduri
    Participant
    5 months, 1 week ago #30702

    I deleted the data and re-indexed, now its working. Thank you

    wpsolr
    Keymaster
    5 months, 1 week ago #30704

    For your price, you should select the type “Float number” rather than integer number in screen 2.2 (then reindex all the data).

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.