I am making a website for a company and they want to display their products as a catalog, not an ecommerce, so I had the idea of making a Post Template and publish the product as posts, but since the website is going to have actual blog posts I made two different categories for each one and I want to have one template for each, one to display the producs and other to display the blog post. I made a condition to make it happen, but it does not work:
Instead of displaying just for the posts with the products category it is displaying to all posts.
Hi @JuanStevan ,
I am sorry that don’t quite understand this. Based on your title “Single Post Page by Category not working”, do you mean your single template not applied? But seems like your screenshot is an archive template.
“they want to display their products as a catalog, not an ecommerce, so I had the idea of making a Post Template and publish the product as posts”
-
Display products as a catalog shouldn’t relate to the template right? Instead of using WooCommerce, why don’t just create a custom post type?
-
May I know what do you mean by “making a Post Template and publish the product as posts” ?
Do you mind recording a video to describe what you wish to achieve and what’s the actual issue?
Regards,
Jenn