WooCommerce - excelling eCommerce
How to display Next/Previous link on Single Product page (2 posts)

  1. adjosh
    Posted 2 years ago #

    I would like to be able to move to the next product or previous product in a category/subcategory from the single product view.

    I thought of copying the woocommerce_pagination hook from the archive-product.php page to the single-product.php page, but not sure how to alter the code so that the Next/Previous links cycle through product by product instead of page by page.

    Example single product page:

    Ideas anyone?
    Thank you!


  2. Roy Ho
    Posted 2 years ago #

    You can try using the next/previous functions from the blog post instead.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic