I have a shop and the owner has said they want to have two types of website. one selling normal products and the other selling training courses. Now, the former is easy as it is the default setting for Woocommerce and works quite nicely with the theme I'm using.
I am stuck on whether there is a way to force a product to be displayed using a certain view if it is a child of a particular taxonomy. Do you know if this is possible or, indeed, if there is another workaround for this?
Languages: English (English )Chinese (Simplified) (简体中文 )
Timezone: Asia/Hong_Kong (GMT+08:00)
Hi Steve,
I suggest you modify your theme file, such as single-product.php, use wp function has_term to check if current post is a child of a particular taxonomy, then output the view.
Sorry, I used the wrong terminology there. It's my fault. What I meant was is there a way to force a product to be displayed using a certain view template?