Home Forums WC Vendors Free Support How to display vendor list with pagination?

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 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #6856
    sanjay
    Participant

    This plugin is working great but i have one issue i displaying vendor list with plugin short code works great

    but my problem is that i have to display 10 vendors per page with pagination. i have searched through the documentation but didn’t fine any thing can you please tell how achieve this.

    #6859
    Jamie
    Keymaster

    Hello,

    Have you tried adding ‘per_page=10’ to the shortcode ?

    cheers,

    Jamie.

    #6860
    sanjay
    Participant

    yes it not works with wc vendor like this [wcv_vendorslist per_page=10]

    #6862
    Jamie
    Keymaster

    Hello,

    I dont currently have a test environment with more than one vendor so I can’t test the pagination, I will message Ben and see if he has any insight.

    cheers,

    Jamie.

    #6863
    sanjay
    Participant

    ok

    #6866
    WC Vendors Support
    Participant

    Confirmed, per_page argument is being ignored. Looks like you’re the winner sanjay, you’ve won a new software bug! 🙂 We’ll get on it. You can track the issue here:

    https://github.com/wcvendors/wcvendors/issues/178

    #6884
    Jamie
    Keymaster

    Hello,

    This has been fixed and will be available in the next release.

    cheers,

    Jamie.

    #6898
    sanjay
    Participant

    Thanks ben for announcing me a winner i hope as soon as possible this will get resolved.

    #6899
    WC Vendors Support
    Participant

    🙂 @sanjay it’s fixed now. Upgrade to 1.7.6. 🙂

    #6900
    sanjay
    Participant

    can you please tell me in which file you have made the changes.

    #6901
    WC Vendors Support
    Participant

    Sure. It’s a shortcode…. so………..

    /classes/includes/class-wcv-shortcodes.php

    #6904
    sanjay
    Participant

    thanks ben for a great support issue resolved working charm.

    #6905
    sanjay
    Participant

    @ben 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

    #33821
    troyboy01
    Participant

    Anyone work out what is happening here?

    I am using the short code [wcv_pro_vendorslist per_page=10] and it’s choosing to display the same 9 vendors and leaving all others out. The pagination seems as though it may be ok…. just not sure why it’s choosing the same 9 vendors when I can not see anything in common?

    Cheers 🙂

    #43570
    toni
    Participant

    We are still struggling to get more than 2 vendors to show on the vendor list page. We have added the shortcode but still nothing!

    Can you help please? :-/

    #43591
    Anna
    Member

    Toni,
    Are you using WC Vendors Free or WC Vendors Pro shortcode for the vendors list?

    #43638
    toni
    Participant

    Hello Anna, i am using the pro code. So its showing to, but i can not get it to display any more,

    [wcv_pro_dashboard]

    Directory of Vendors (To edit template, use the template in /templates/front/pro-vendor-list.php
    [wcv_pro_vendorslist] – Accepts arguments of:
    orderby=’registered’ (default)
    order=’ASC’ (default)
    per_page=’12’ (default)
    show_products=’yes’ (default, yes only shows vendors with products, no shows all vendors even those with zero products)

    I think my issue is pretty much lack of knowledge and not knowing how to structure the code to get it to display correctly. I would like the per page.
    If you can help. Thank you.
    And sorry about the other threads.

    #43686
    Anna
    Member

    @tonikayleigh
    Thanks- I thnk that the PRO shorcode should be used as is, without agruments. Can you try just the [wcv_pro_vendorslist] pasted into a text box on a page on your site?
    If this fails, Please reply (set as a private reply) with your site url, an admin login / password, and I can take a look

    #43708
    Anna
    Member

    Toni, Please let me know your website as well, thank you.

    #43752
    toni
    Participant
    #43849
    Anna
    Member

    Hello,
    I cannot check the wp admin without an admin login. That is a user login, not admin.
    But, I do not think it is necessary as I can see that the HANDY theme heavily modifies WC Vendors pages- which is quite attractive, but they have modified how the shortcode displays the vendor list page.
    You will need to contact them to see what you need to do to alter their code now, or have them help you get it to display more than two vendors.

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