I now have one product channel with 5 categories (books, dvds, audiobooks, posters, and subscriptions). I am currently using the same “product” template to display each product entry in all of the categories.
I want to embed a smaller template into the “product” template for each of the categories.
This means that if a customer is viewing a book in the “product” template, the “details_books” template will be embedded under the images. Likewise, if a customer is viewing a poster in the same “product” template, the “details_posters” template will be embedded instead.
Would this need a conditional? How would I make the conditional choose the template based on which category the product entry is in?
Thank you for your help.