WordPress.org

Forums

WP eCommerce
[resolved] Next and Previous Links (2 posts)

  1. chrisregan
    Member
    Posted 2 years ago #

    Hi, I would like to add next and previous links on the single product page. I've tried using the "next_post_link" method which links to other products but I need it to link to the next product in the category.

    I've tried using "next_post_link('%link', 'Next', TRUE);" but this doesn't show any link at all.

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

  2. Justin Sainton
    Member
    Plugin Author

    Posted 2 years ago #

    I'd highly recommend looking into the wpsc_pagination() function. It's located in /wpsc-includes/product-template.php, around Line 68. It's a fairly robust function that will do what you're wanting.

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic