Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Stefan van den Dungen Gronovius
Developer

Hi Philipp,

Is it correct that you use an ACF text field for your price?
In our plugin we use difference ways to sort ACF text and number fields.
When you use an ACF number field, sorting is done based on a number. 1 is smaller than 2 is smaller than 10

When you sort on a ACF text field, sorting is based on a string instead of a number.

100 an 10 or even 1000 start with 1, so it’s smaller that 2. This seems to be the case in your example.
You could try to add to change the ACF field to number.

7 years, 10 months ago

You must be logged in to reply to this topic.