Home Forums WC Vendors Free Support Vendor list pagination not displaying all vendors.

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #6906
    sanjay
    Participant

    updated version code getting issue like suppose if i have 38 vendors and i am showing

    [wcv_vendorslist per_page=10]

    using this short code so its showing only 30 vendor of them with 3 page pagination if i increase the size of vendors to 40 then its displaying vendor 40 with 4 page pagination i think there some little bit bug can you please look into this

    #6909
    Jamie
    Keymaster

    Hi Sanjay,

    I pulled a piece of code out of the pagination that might have affected this.

    You’ll find a line in the classes/includes/class-wcv-shortcodes.php

    Find Line 599 should look like this.

    $total_pages = intval($total_vendors / $per_page);

    change it to this:

    $total_pages = intval($total_vendors / $per_page) +1;

    and let me know if that fixes it.

    If it does ill fix it for next released.

    cheers,

    Jamie.

    #6911
    sanjay
    Participant

    working charm Jamie thanks.

    #7059
    katie eldridge
    Participant

    Hi!

    Me again…Sick of seeing my posts yet?

    I have my vendors listed however no matter what I have the number of Venders set to…I see no pagination…I’ve also changed the code above. I currently the code
    [wcv_vendorslist per_page=10] Set to 100 so all vendors that I have will appear otherwise it will only list 10 vendors and not page to show more.

    #7060
    WC Vendors Support
    Participant

    Tested here on our development site and all looks good. We have 2 vendor accounts on our dev server and both show up on individual pages when setting per_page to 1.

    Try with a different them? Try with other plugins disabled?

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘WC Vendors Free Support’ is closed to new topics and replies.