Home Forums Plugin or Theme Compatibility Custom plugin – Sidebar Widget for Vendor Store

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
  • #20339
    Carlos
    Participant

    Hi guys, how are you? I’m trying to create a Sidebar Widget that shows the vendor store information, but I’m not able to access the store data from my Widget. Could you please let me know how should I access WC Vendors classes to get the store information from my widget? This widget would be on a sidebar on the vendor store page.

    Thanks!

    #20340
    WC Vendors Support
    Participant

    Hi Carlos,

    Are you running Free, or Pro?

    #20341
    Carlos
    Participant

    It’s Pro.

    #20342
    WC Vendors Support
    Participant

    Okee, that’s good. And bad, but just temporarily bad. 🙂 Right now, Pro uses “Custom Post Types” for the vendor stores. In v1.2.0 of Pro, which will be released in a few days most likely, the CPT is going away, and we’re moving all of the store data to the vendors user edit screen. The meta keys will be the same, but instead of get_post_meta for the vendor store ID, it’ll be get_user_meta with the vendors user ID.

    I would probably recommend waiting till v1.2.0 comes out. And then from there, you can go to the wp-admin > users > edit users screen and view the source to show you the meta keys for all the vendor fields you can call. It will be much faster for you and save you a lot of time. 🙂

    Cheers

    #20343
    Carlos
    Participant

    Ok thank you, so It’s better to wait.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Plugin or Theme Compatibility’ is closed to new topics and replies.