[Resolved] Different Woo Single Product Template for each or some categories
This thread is resolved. Here is a description of the problem and solution.
Problem:
The issue here is that the user wanted to know if it was possible to display a different content template based on the category of the Product. Solution:
I'm sure this question has been asked before......
I would like (ideally) to have different single product templates for different categories. I could for the moment settle for two templates - one for one specific top level category and one for the rest but hey - in an ideal world I'd like to customise the single product page as much as possible.
which seems like a good place to start but that specifically concerns TS Layouts and as I understand it as a *Divi* user layouts is not the way to go. I'm wondering if the best approach is to set up multiple Divi library items and then (somehow) reference them in the code that was supplied in the URL above.
Mmm - same article but if I understand correctly the conditional statement checks a condition and if it's true they display content - all in the one WC layout. I
I guess I could use that to reference Divi content shortcodes and load the bits I want into the page on a conditional basis. Let me go away and have a go - I'll close this if I get it working (and explain what I did).
The problem was I needed multiple different WC tab sets per different categories but I've sorted it using conditional display of tabs in WC which meets my needs for the mo'.