Home Forums WC Vendors Pro Support Vendor Stores

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 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #17071
    alwhit
    Participant

    A couple of questions on Vendor Stores if you wouldn’t mind pointing me in the right direction!?

    1. I’m trying to make a menu of Vendors. Jamie’s code https://gist.github.com/digitalchild/db65c29a4ba3f0d6a31e works brilliantly, but it seems to show the Vendor Shop pages (free) rather than store pages (pro). I’m sure it’s a simple edit but I can’t find the right slugs etc to use. Basically just need the store version of $vendor_store_link and pv_shop_slug

    2. Is there a way to have the vendor slug blank, i.e. vendor URL becomes http://www.mysite.com/vendorname rather than http://www.mysite.com/vendors/vendorname ?? It’s much nicer/shorter url for people to advertise on business cards etc.

    #17074
    WC Vendors Support
    Participant

    Hi alwhit,

    1.) That’s neat, I never even knew he wrote that. I’ll get it fixed up later, create a KB article for it, and then post back in this thread when it’s re-coded for Pro. I’ll likely have it done tonight, if not first thing in the morning. (My wife is on a “BEN GET OFF THE COMPUTER AND COME HELP CLEAN THIS” kick right now ;)).

    2.) No. Not with the way WordPress rewrites work at all. The /vendors/ tells WordPress what code to use to look for the /vendors/username/ so without the /vendors/ there it just would give you a pile of 404 not founds. This is a WordPress limitation we can do nothing about.

    #17079
    alwhit
    Participant

    1. Yep it is cool, and saves adding URLs manually! Thanks for editing this.

    2. No worries, thought that might be the case.

    #17135
    alwhit
    Participant

    Any luck with this one @ben ?

    #17138
    WC Vendors Support
    Participant

    “Iโ€™ll get it fixed up later, create a KB article for it, and then post back in this thread when itโ€™s re-coded for Pro. Iโ€™ll likely have it done tonight, if not first thing in the morning.”

    First thing in the morning is indeed lunch time for me. ๐Ÿ˜‰ Just sat down, finishing up support tickets then working on this. You’re funny, you seem as if you think we’d forget you. Never! ๐Ÿ™‚

    #17163
    WC Vendors Support
    Participant
    #17167
    alwhit
    Participant

    Trouble is, first thing in the morning is my evening (in the UK). ๐Ÿ™‚

    Thanks very much anyway…

    #17222
    Nicolas
    Participant

    Hello Ben

    I’m jumping in instead of creating a new post, as I also have an issue with this code.
    First I need to mention that I use WPML plugin, and as version 3.3 allows, my first admin language is French instead of English. So a “vendOr” is called in french a “vendEUr”.

    I tried to replace vendor occurences by vendeur in the code, but still no luck, nothing displays…

    How is it supposed to work?
    Should it add a page-like in the left column of the menu edition so that I would add this “page” to the menu? Or should it display elsewhere?

    Since I have WC Vendors Pro, I suppose I don’t need to use the wc vendors free section, do I ?

    #17225
    alwhit
    Participant

    Hi Nicolas. I’m sure Ben will be along with a better answer, but I think the only occurrence of Vendors you need to translate is on line 27. You only need to use the Pro part of the code yeah and it goes in your functions.php file. It adds a Vendor dropdown menu to the end of your existing menu, you don’t need to do anything else. You can’t actually see it in the admin menu section, so you can’t reorder or edit it this way, you’d need to edit the code.

    I’m guessing if it isn’t displaying then you might not be using the right call to your primary menu. In Ben’s code this is “primary” (line 25) but mine was actually “primary-menu”. You’ll need to dig into your theme files to work this one out (or I did anyway!)

    Hope that helps. Al

    #17227
    Nicolas
    Participant

    Thanks Al.
    Indeed it was calling the wrong menu name, so I switched it back to “primary”.
    Unfortunately, it still does not work.
    I suppose it’s somewhat related to the vendeur/vendor confusion…

    I hope Ben or Jamie will give me a solution.

    #17248
    WC Vendors Support
    Participant

    We didnt exactly make the snippet translatable since it’s not part of the plugin, so as alwhit says, just change it in the code.

    If it doesnt show up on your site, it’s a matter of you debugging how your theme handles the menus and sorting it out from there. Most likely tweaking line 25 to whatever your theme is calling the menu you want to show up on.

Viewing 11 posts - 1 through 11 (of 11 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.
This website uses cookies to ensure you get the best experience on our website.