VirtueMart

WooCommerce

Others

Docs

Support

Demo

Blog

About

Forum
Welcome, Guest
Username: Password: Remember me

TOPIC: Add subcategory names

Add subcategory names 17 Feb 2015 18:30 #1

Hello,

Is there anyway I can add the name of each subcategory before the displayed products in the parent category?
For example, when accessing Category 1 (which has as subcategories "Subcategory 1, Subcategory 2 and Subcategory 3) to see the following:
Subcategory 1
- Product 1 - Product 2 -Product 3
Subcategory 2
- Product 1 - Product 2 - Product 3
Subcategory 3
- Product 1 - Product 2 - Product 3

Hope someone has a solution.

Regards,
Fuzy
The administrator has disabled public write access.

Add subcategory names 20 Feb 2015 16:43 #2

Unfortunately, this is nothing my plugin can do. To the contrary: My plugin assigns also the parent category, so the reason the products are displayed is not because they are in the subcategories, but because they are in the currently viewed category.

To achieve what you want, you cannot use my plugin and leave the products only in the subcategories (but do NOT assign it the parent categories). You will then probably have to modify the category view to also display the products of the child categories. Unfortunately, I don't know whether there is already a template override or a module that does this...

Sorry,
Reinhold
The administrator has disabled public write access.

VM - Shopping cart

 x 

Cart empty

Login Formular