Skip Navigation

[Resolved] How do I update the subcategory design in WooCommerce?

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.

Our next available supporter will start replying to tickets in about 8.54 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 1 year, 5 months ago.

Assisted by: Minesh.

Author
Posts
#2619335

Tell us what you are trying to do? I am trying to modify the design of the subcategory results in WooCommerce. I am able to replace the main shop and I see where to update the product cats, but not the subcategory page. I want it to adopt the look of the main shop page

Is there any documentation that you are following? There isn't a lot on subcategories, which is telling me I am probably missing something obvious. I have tried to methodically replace each archive option and it's not updating the subcategory pages.

Is there a similar example that we can see? hidden link (this is the page I want to update along with other subcategory results.

So for example:
/shop (got it)
/subcategory (can't figure out how to update) - Ideally, I want this to adopt the same design as the main shop page.
/product category (got it)
/product detail page (got it)

What is the link to your site? hidden link

#2619573

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

You can build the taxonomy archive that should apply to your category and subcategory pages.

But it seems you are looking to update the design for product subcategory so the URL should be product-caregory/subcaregory - right?
- If yes:
Then what you should do is, you should create another archive and add fields you want to display it and then you can use the views hook "wpv_filter_force_wordpress_archive" to assign the archive you created on fly.

More info:
=> https://toolset.com/documentation/programmer-reference/views-filters/#wpv_filter_force_wordpress_archive

Here is the reference ticket that may help you where solution is mentioned:
=> https://toolset.com/forums/topic/set-up-product-archive-with-filter/page/2/#post-1675889

It seems based on the requirement you shared you can use the hook "wpv_filter_force_wordpress_archive" tweak the archive ID you need to load with sub-category.

You should try and let me know if your require further assistance.