So I am working on a WP E-Commerce project and I'm having a problem where the product category page (ie. domain.com/products/category/) is using my page.php template file and not my category.php template file.
Anyone have some experience with this and know why it wouldn't be using the category.php template file?
Thanks
The WP e-commerce product categories use custom taxonomy wpsc_product_category. If you want to create a template for the product categories you just name the template file
taxonomy-wpsc_product_category.php
The category.php template is only for the blog categories.
Here is a reference:
http://codex.wordpress.org/Template_Hierarchy#Custom_Taxonomies_display
shrestarohan@gmail.com
Member
Posted 9 months ago #
Can you please describe the process in more detail? I am having a similar issue where I need to display a custom page when there are no products available.
theplastickid
Member
Posted 5 months ago #
Hello did you ever resolve this issue. I am having the same issue where my template is not using any wpec template files and instead my products page is the default page.php file.
Many Thanks.
fanta00
Member
Posted 5 months ago #
That saved my life, thanks! (Why it's not stated in Wp Ecommerce documentation...)
But how to create then outside template file to use two column layout for all products list on products page (or category list)? only this one page and checkout still use page.php. I tried taxonomy-wpsc_product_list.php but that doesn't work. Any help really appreciated as that's driving me crazy.