WP eCommerce
[Plugin: WP e-Commerce] Changing Product Page Template Based on Category (3 posts)

  1. cassihl
    Posted 3 years ago #

    Hi all,
    What I'm trying to do is have a different page layout for one of my categories. I was able to do that on the main category level by using the shortcode to display the 1 category on a page with a custom page template. But when you click through to an individual product, it uses the normal/default page template. Is there anyway to make any product in a certain category use a custom page template?


  2. cassihl
    Posted 3 years ago #

    Does anyone have any ideas on this?

  3. ckheaton
    Posted 3 years ago #

    Follow standard WordPress template hierarchy for taxonomies. The taxonomy is wpsc_product_category.

    Use: taxonomy-wpsc_product_category-[CATEGORY SLUG].php
    So, if my category is Shirts, then WordPress will look for:

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic