WordPress.org

Ready to get started?Download WordPress

Forums

WP E-Commerce Category Page Template (5 posts)

  1. w1nk5
    Member
    Posted 3 years ago #

    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

  2. elsbth
    Member
    Posted 3 years ago #

    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

  3. shrestarohan@gmail.com
    Member
    Posted 2 years 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.

  4. theplastickid
    Member
    Posted 2 years 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.

  5. fanta00
    Member
    Posted 2 years 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.

Topic Closed

This topic has been closed to new replies.

About this Topic