Home Forums WC Vendors Free Support wc vendors free buddypress integration where do I put the code?

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 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #53439
    Paul Chapman
    Participant

    Hi

    Would somebody be so kind as to show me where I need to put the buddypress integration code to integrate buddypress with wc vendors free please

    Thank you in advance

    Regards

    #53459
    Anna
    Member

    Hello,
    If you are referring to this code… it would go in your theme/child theme functions.php file.
    https://gist.github.com/bentasm1/e81112f4e77399a0d95c#file-functions-phop

    #53489
    Paul Chapman
    Participant

    Awesome thanks. So anywhere between??. Like opening and closing php tags? The body? I’m not a developer so sorry to be a pain

    Thank again

    #53501
    Anna
    Member

    @Handyman
    1. if you are not using a child theme- I’d highly recommend that you do.

    2. In the theme functions.php file, add the above code AFTER the opening php <?php and before any closing php ?>

    #53596
    Paul Chapman
    Participant

    That’s great thank you so much… just out of interest, is the integration for the free version the same as pro? As in do the vendor control’s such as dash bored etc display on the buddypress user profile?

    Thanks again

    Regards

    #53598
    Anna
    Member

    @Handyman
    Ahh well this code does not put the vendor dashboard in the buddypress profile.
    The above code will put a contact button (send buddypress message) on the product page, and a VIEW STORE button on the buddypress profile for WC Vendors FREE.

    For the vendor dashboard to be present in the buddypress profile, you’d need WC Vendors PRO and also this plugin BP WC Vendors:
    https://wordpress.org/plugins/bp-wc-vendors/

    Don’t use the code above for Pro, and also if you use the BP WC Vendors plugin, do not use any of our code in the KB for integrating BP with WC Vendors Pro, since the code will conflict.

    If you purchase PRO but do not want to use the BP WC Vendors Plugin, we have code in our KB to put a contact link and a view store link- it is slightly different for PRO than it is for Free: https://www.wcvendors.com/kb/integrating-with-buddypress-profiles-pro-only/

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