Skip Navigation

[Resolved] Get woocomemrce product's category name from URL parameter in a View

This support ticket is created 5 years, 9 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)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 5 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#1224238
Screen Shot 2019-04-02 at 00.43.12.png

I'm trying to display product's category name and its parent category's name if exists in a View that uses URL parameter with wpvproductcat in query filter. I can only get the category slug with this [wpv-search-term param='wpvproductcat'].

Thank you.

#1224305

Hello,

Please elaborate the question with more details:

I'm trying to display product's category name and its parent category's name if exists in a View that uses URL parameter with wpvproductcat in query filter.

How do you setup the view as you mentioned in screenshot?
hidden link

Is it a post view or taxonomy view?

How do you want to check parent category's name if exists in a View?
How do you setup the taxonomy terms?
How do you setup the terms of the post?

I need to test it in my localhost, thanks