Skip Navigation

[Closed] Archive: Front-end sort by ACF field in Classic Editor

This support ticket is created 2 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Waqar 2 years, 3 months ago.

Assisted by: Waqar.

Author
Posts
#2458777

I have a custom post type defined in Toolset that is using Advanced Custom Fields. One of these fields is "Discounted Price".

I can set the Ordering in the archive to "Order by 'Field-discounted_price' Descending As number" so that the products are listed by price, high to low, by default. This works as expected.

I'd like to give the user the opportunity to reverse this to Low to High.

I am having trouble working with the Sorting controls in the Search and Pagination area to achieve this.

How might I set this up to allow the front-end user to re-sort the archive to Ascending?

Thank you for your help.

#2458961

Hi,

Thank you for contacting us and I'd be happy to assist.

To troubleshoot and suggest the best way to achieve this, I'll need to see how this custom field and the archive are set up in the admin area.

Can you please share temporary admin login details, along with the link to this archive page?

Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.

regards,
Waqar

The topic ‘[Closed] Archive: Front-end sort by ACF field in Classic Editor’ is closed to new replies.