WordPress.org

Forums

WP eCommerce
Product Category Page (5 posts)

  1. bobspalding
    Member
    Posted 1 year ago #

    Hi. I have put this together to work with my theme, but it only outputs 1 product, how can I get it to display a fixed number or if possible all?

    I have pasted the code on pastebin: http://pastebin.com/LAw1fVjW

    -Thanks.

    http://wordpress.org/extend/plugins/wp-e-commerce/

  2. bobspalding
    Member
    Posted 1 year ago #

    Just and update on that paste, not much different, problem still occurring, just managed to include breadcrumbs but still only 1 product showing. : http://pastebin.com/jyDcTC1k

  3. Justin Sainton
    Member
    Plugin Author

    Posted 1 year ago #

    I would highly recommend not doing what you're doing in that code. If you want to display all products, I'd recommend using the standard core theme files that do exactly that.

  4. bobspalding
    Member
    Posted 1 year ago #

    Sorry, I didn't word that right, that code is the 'taxonomy-wpsc_product_category.php' file in the theme folder, I want to change the setting for category pages only, you see on the homepage I use a shortcode in a marquee so all the products scroll, this is in grid view, I want the products to display on their own pages in list view, so far, this code does this, but only show's one product, all I want to do is get this to display all products (and the bit I missed out) on the current category (eg. All shoes under /products-page/shoes).

    Alternatively, would it be possible to create a shortcode for the category and setting something like: (Example: [wpsc_category_'shoes' view_'list'] - Note this code is fake) so I wouldn't need to modify the default page? - Thanks

  5. bobspalding
    Member
    Posted 1 year ago #

    I see one of the problems, the code as you rightly said Justin is echoing the main default products page, how would I go about being able to change grid view/list view/default view per category upon removing the 'taxonomy-wpsc_product_category.php' file? Or would I need a re-written 'taxonomy-wpsc_product_category.php' file? - Thnaks

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic

Tags