-
AuthorPosts
-
February 20, 2020 at 2:32 pm #1186372
Hi, For my Enfold / woocommerce ecommerce site, can you tell me how I can have certain categories of products displayed in the grid (title, photo, price), and that for other categories this is displayed in list with only title, description, price?
Thanks in advance,February 20, 2020 at 7:44 pm #1186506Hey jetsaveurs.com,
Please have a look at the following thread:
https://kriesi.at/support/topic/category-archive-page-change-layout-to-show-excerpt/#post-459206If you need further assistance please let us know.
Best regards,
VictoriaFebruary 21, 2020 at 7:14 am #1186627Thank you but unfortunately this link does not contain a solution to my problem. Indeed, my problem arises on the articles, according to the categories I want it to appear differently on the shop page, for example for category A I want it to appear in grid with photo, title, and price, but when I choose category B, I want it to appear in the form of a list with only the price and the title (therefore without photo), thank you in advance for your help.
February 25, 2020 at 7:45 am #1187606Hi,
Thank you for the update.
Could you give us links to the archive pages? This should be possible, but you have to override or modify the product template files — specifically the product taxonomy template (taxonomy-product_cat.php). In the template, you will have to define conditions for each categories so that you can display different layouts based on certain conditions. Please check the following documentation to learn more about template modification.
// https://docs.woocommerce.com/document/template-structure/#section-1
You can get the template files here:
// https://github.com/woocommerce/woocommerce/tree/2.6.0/templates
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.
