Home Forums WC Vendors Pro Support Simple question on the KnowledgeBase: Buddypress Integration directions

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 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #13927
    Mark
    Participant

    Hi, I was following along the KnowledgeBase: Buddypress Integration directions and also this related posting

    My question has to do with destination directory for Step1: copy /wp-content/plugins/buddypress/bp-themes/bp-default/members/single/member-header.php to /wp-content/themes/YOURTHEME/buddypress/members/single/member-header.php

    I use the “kleo-child” theme and I only have the directory /wp-content/themes/kleo-child/
    Should I create the subdirectories /buddypress/members/single/ under the “kleo-child” directory and then copy the member-header.php there?

    Also, I did notice that there was another version of member-header.php already in the main kleo theme directory /wp-content/themes/kleo/buddypress/members/single/member-header.php
    Wasn’t sure if that made a difference in which one I should copy from and modify per the Buddypress Integration directions.
    Thanks

    #13954
    WC Vendors Support
    Participant

    Yes! For sure, the child theme. 🙂 If the member-header.php file already exists the parent them, then copy that version to your child theme and modify that with BuddyPress. 🙂

    #14063
    Mark
    Participant

    Thanks Ben. I was able to get this implemented but then it led to a few new questions maybe you could explain.

    I noticed when I click on the “Visit Store” link that appears in the buddypress profile I’m looking at, it takes me to a link that looks like http://yoursite.com/vendors/%5Buser login name]
    I’m guessing this is the vendor shop page defined on the WC Vendors -> General tab under Shop Options. It does show only the products created by that vendor and there is a “Sorting Filter” on this page. For a separate idea, is there a shortcode that will display all products offered with this “Sorting Filter” on a page and it is also possible to show all products per a category first and then use the “Sorting Filter”

    In addition, if you click on the “sold by” link that displays on a product, it links to the “Vendor Store” page like http://yoursite.com/vendor_stores/%5Bvendor_store_name%5D and there is no “Sorting Filter” on this page.
    What is the reason (difference between) to have links to “Vendor Shop Page” vs “Vendor Store Page”? Is it because of FREE vs PRO version? Should I point my “Visit Store” link to this Store Page instead to be consistent to one place? If so, how should I modify the Buddypress Integration code?

    Recommendation, on the WC Vendors -> Pro tab under Vendor Store Slug, may want to consider changing the description yoursite.com/[your_setting_here]/[vendor_name_here] to yoursite.com/[your_setting_here]/[vendor_STORE_name_here] (Some users might get confused, I was initially)

    Thanks

    #14100
    WC Vendors Support
    Participant

    @mtgame21 — New KB article: https://www.wcvendors.com/kb/integrating-with-buddypress-profiles-pro-only/

    Much easier to do. Just copy and paste into your themes functions.php file. No more copying templates and editing. 🙂 This works for WC Vendors Pro, only, and sends them to the correct /vendor_stores/whatever URL.

    For a list of our shortcodes, see the KB for the Shortcodes article. Plenty of ways to display vendors products with shortcodes. They are the same as Woo’s shortcodes, so any arguments you can use for them, apply to ours, too.

    #14156
    Mark
    Participant

    That worked perfect. Was KB just updated with new “Pro” buddypress integration guidance in the past day or two? If its been there awhile, my apologies for not seeing it sooner. I always try to search the forum to avoid asking a “repeat” question, if possible.

    After adding the “View Store” button, I found this posting with guidance for syncing up proper “site role” and Pmpro Membership levels which worked great for when members upgrade and downgrade memberships. My site is simple, has level 1 which is a subscriber and level 2 is a Vendor.

    Question is, when a member is level 2 and creates a Vendor store, then later drops back down to level 1, how do I block/disable access to their Store page. The “Visit Store” button discussed above disappears from their profile because they are now a level 1 subscriber, but a visitor can still reach their Store if they had the Store URL bookmarked.

    #14160
    WC Vendors Support
    Participant

    I wrote it specifically for you, and posted the KB article, then linked to it here. 🙂

    As for all that level 1 level 2 stuff, I have noooooooo idea whatsoever, though! If you want to disable a vendors store normally, you would delete all of their products (or set to draft/private/hidden) and then change their role from Vendor to something else, like Subscriber or Customer.

    #14187
    Mark
    Participant

    I thought the Pro integration was new. 🙂 thanks…

    With this guidance, I am already able to change their role from Vendor to Subscriber when a member downgrades. So half way there. Perhaps we can integrate something for below into this same function.

    I tested your idea to manually set all of their products to “Catalog Visibility” = “hidden”. Their Store Page was still reachable, which is OK because all of their “products” were hidden, so it just appeared empty. Which is good enough. Did not yet test to set “Visibility” to “Private” to see if there is a difference.

    Is there code on KB for setting all products (if he has any) to “Catalog Visibility” = “hidden” when a user changes roles from Vendor to Subscriber. And then setting all products (if he has any) back to “Catalog Visibility” = “Catalog/Search” when a user changes roles from Subscriber to Vendor(assuming they were a Vendor in the past, downgraded to Subscriber, and then wanted to go back to being a Vendor again)

    #14201
    WC Vendors Support
    Participant

    There is no code to mass set the products that way. We could write something like that, but it’d be a custom job. Probably take about 2 hours to do.

    #14204
    Mark
    Participant

    If I decide to go forward with a custom job, would I just follow the guidance on the Paid Support page with the $49 per hour rate?

    #14206
    WC Vendors Support
    Participant

    Yup! Or just shoot me an email [email protected].

    #15131
    Mark
    Participant

    Hi Ben, I sent you an email a few days ago. Did you get it or was it blocked by spam?

    #15244
    WC Vendors Support
    Participant

    Hi Mark,

    Yup, it was in the spam folder. Found it, and responding to it now. 🙂

    Ben

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