Sauter la navigation

[Résolu] Sort and Ordering

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:
Does Toolset Views provide Sort and Ordering options?

Solution:
Yes, you can add Primary and subsequent sorting and ordering to Views directly in the Search section, as front end order by options.
You can choose custom fields, and more, there - inclusive fields of WooCommerce public fields or of other parties.

Relevant Documentation:

https://toolset.com/documentation/user-guides/allowing-visitors-to-sort-the-front-end-results/

This support ticket is created Il y a 5 années et 3 mois. 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
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Marqué : 

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par marcusC-4 Il y a 5 années et 3 mois.

Assisté par: Beda.

Auteur
Publications
#1328523

I have this development site setup where I am using WooCommerce and Toolset together.

I have created a custom filter using Toolset that allows people to quickly search and find their courses.

Everything is working well, except that on the search results page, I want to include sorting options like the ones that come with WooCommerce by default.

Here is an example of my course list page as built with Toolset: lien caché

And here is the Shop page where you can see WooCommerce’s default sorting options on the right side of the page: lien caché

Is there a better way to integrate Toolset with Woo so that I can get the custom course list that I want and use my filters and also use their default sorting options?

Any advice on this is appreciated.

Marcus

#1328649

In a Toolset View, you cannot sort or order with WooCommerce sort and order features, because mandatorily, since you decided to design the templates, searches, and archives with Toolset - you will use Toolset to add order and sorting options.

WooCommerce's feature is designed for the Shop, and cannot be used elsewhere.

You can, however, add Primary and subsequent sorting and ordering to Views directly in the Search section, as front end order by options.
You can choose custom fields, and more, there - inclusive fields of WooCommerce public fields.
https://toolset.com/documentation/user-guides/allowing-visitors-to-sort-the-front-end-results/

Would these options help to achieve your goal?

#1334341

Ok, thanks -- I think that’s exactly what I needed. Playing around with options now. 🙂