Skip Navigation

[Gelöst] Customize WooCommerce category

This support ticket is created vor 7 Jahre, 10 Monate. 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 4 Antworten, has 2 Stimmen.

Last updated by willem-siebeS vor 7 Jahre, 9 Monate.

Assigned support staff: Shane.

Author
Artikel
#280119

Hi,

In WooCommerce I have created a parent category and different subcategories. However, these 'subcategories' are not all related, so instead of just outputting them I want to show my subcategories like this:

Haartype (h2 header)
- a few of the subcategories

Customer (h2 header)
- a few of the subcatgories

Other (h2 header)
- a few of the subcatgories

Is this possible?

Kind regards,

Willem

#280377

Shane
Supporter

Languages: Englisch (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Willem,

This is something that you can achieve by using a Parent/Child relationship view.

What you can do is have a look at the instructions here : https://toolset.com/documentation/user-guides/using-a-child-view-in-a-taxonomy-view-layout/

This should allow you to setup your view as you described it.

#281526

Hi,

I have looked at it, but using WooCommerce categories this is a WordPress archive what I need to modify, so I'm not sure your suggestion is working.

Kind regards,

Willem-Siebe

#282001

Shane
Supporter

Languages: Englisch (English )

Timezone: America/Jamaica (GMT-05:00)

Hi willem,

What you can try doing is creating a view that is displayed based on a parent.

This concept works similar to the View in View link that I sent earlier.

Instead of creating 2 views you will create 1 view and set the filter to be determined by a parent.

The next step is to add that view inside your archive template in this format.

Haartype (h2 header)
- view shortcode

Customer (h2 header)
- view shortcode

Other (h2 header)
- view shortcode

If this does not work I need to request temporary access (wp-admin and FTP) to your site in order to be of better help.

You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

#282575

Ok, I will try to follow up your suggestions and will open new ticket when I don't get it working. Thanks for the help.