Skip Navigation

[Resolved] How to customize the toolset set called view loop

This thread is resolved. Here is a description of the problem and solution.

Problem:

I make a coupang affilate website. In the WordPress editor, I use a view loop So i can filter the product list. But i want to I want to organize them by category and at the same time, in descending order by rating which i used metabox plugin to make another custom filed.

Solution:

It needs a nested view, for example:

https://toolset.com/forums/topic/how-to-customize-the-toolset-set-called-view-loop/#post-2288369

Relevant Documentation:

This support ticket is created 2 years, 10 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/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by junkyuJ 2 years, 10 months ago.

Assisted by: Luo Yang.

Author
Posts
#2288305

Tell us what you are trying to do?
Hello I,m a wordpress manager. I make a coupang affilate website. In the WordPress editor, I use a view loop So i can filter the product list. But i want to I want to organize them by category and at the same time, in descending order by rating which i used metabox plugin to make another custom filed.

Is there any documentation that you are following?
No

Is there a similar example that we can see?
No This is the first time for help.

What is the link to your site?
hidden link

#2288369

Hello,

It needs a nested view, for example:
1) Parent taxonomy view:
- Query terms of taxonomy "category"
- In views loop, display term information + below child post view
2) Child post view:
- Query product posts
- Order the result by rating custom filed
- Filter by:
Select posts with taxonomy:
Categories set by the parent Taxonomy View
- in view's loop, display the post information

#2289167
이미지 5.png

Ok where can i find a "parent taxonomy view"?

#2289299

In order to setup the taxonomy view, you need to use classic editor, for example:
Dashboard-> Toolset-> Settings-> General, in section "Editing experience", enable option "Show both the legacy and Blocks interface and let me choose which to use for each item I build".

Dashboard-> Toolset-> Views, setup the parent taxonomy and child taxonomy view, in the child post view, you can follow our document to setup the taxonomy filter:
https://toolset.com/documentation/user-guides/views/filtering-views-by-taxonomy/
Value set by parent Taxonomy View

#2291313

My issue is resolved now. Thank you!