Show only primair category in product loop / archive page
-
In the product loop or archive pages you see all selected categories below the prpduct image. There is only 1 switch on/off, but how can I only show primair category?
Attachments:
You must be
logged in to view attached files.
Hello,
By default, the Product Categories element displays all categories assigned to a product. There is currently no built-in option in WoodMart to display only the product’s primary category.
You can check this setting by navigating to:
Theme Settings > Product Archive > Products Loop > Show Product Categories
When this option is enabled, all categories assigned to the product will be displayed.
However, if you want to simply limit the displayed category text to one line or two lines in the product grid, please let me know. I will check and provide you with a custom CSS solution to limit the category text accordingly.
Best Regards
Yes I want to limit the displayed category tio the primair category. If you could provide a custom CSS solution to limit the category text that would be awesome.