Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards!

Vendor Page Pagination

WCMp Core

Resolved
Viewing 3 reply threads
  • Author
    Posts
    • #134551
      mikestar
      Participant

      Hi,

      How to show pagination on Vendor Page? Currently only limited number of products are shown on Vendor Page on single page. How to show more number of pages for more products?

    • #134595

      Hi, thanks for reaching out to us.
      Our vendor shop page is also a taxonomy page, so your woocommerce settings will be applied here.
      Let our team check whether any code can work here.

    • #136136
      mikestar
      Participant

      Still waiting for an update

    • #136190

      Hi,
      WCMp show the the products on vendor shop page using WooCommerce functionality. So, If shop page has the pagination then it will also reflect in the vendor shop page.

      If you want to add pagination then use below code.
      Kindly add this code to your active theme function.php

      /**
       * Change number of products that are displayed per page (shop page)
       */
      add_filter( 'loop_shop_per_page', 'new_loop_shop_per_page', 20 );
      
      function new_loop_shop_per_page( $cols ) {
        // $cols contains the current number of products per page based on the value stored on Options –> Reading
        // Return the number of products you wanna show per page.
        $cols = 9;
        return $cols;
      }
      Copy

      regards,

Viewing 3 reply threads

The topic ‘Vendor Page Pagination’ is closed to new replies.