-
Author
Tagged: buddy press integration, multi vendor, WC Vendors
-
January 6, 2015 at 08:50 #41081
mattylb
ParticipantHi all!
I’ve enjoyed working with the KLEO theme since finding out about it on the rtcamp.com site when I was reviewing rtMedia. So far, it’s covered nearly everything I needed in a user interface for my project, except I’m having some trouble trying to integrate a multi-vendor woo-commerce plugin call WC Vendors into the default KLEO members area styling and, aside from simply asking for help with this, I was wondering if you would consider adding this pretty amazing “freemium” plugin as a value-add to KLEO?
They provide code for incorporating the vendor features into BuddyPress, as well as filters and hooks for better theme integration, yet unfortunately it is all above my head and each time I’ve tried to follow their BP steps I mess something up with the theme.
If you’re interested in looking into this (and I’m sure they would appreciate you doing so and work with you on it) these links will help point you in the right direction:
WC VENDORS:
author site – http://www.wcvendors.com/download/
bp integration steps – http://www.wcvendors.com/knowledgebase/integrating-buddypress-profiles/
hooks & filters – http://www.wcvendors.com/knowledgebase/list-filtersactionshooks/Thanks for considering this! š
January 9, 2015 at 02:26 #41424sharmstr
ModeratorWhat happened when you tried it? They look like simple changes. If you give me access I’ll look at it for you.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 9, 2015 at 02:34 #41427mattylb
ParticipantLet me set it up again on my test site and I’ll send you access to it so you can see what I mean. Give me about an hour but I need to know what email address to set your account up with. Thanks!
January 9, 2015 at 02:53 #41431sharmstr
ModeratorJust create an account and post the credentials here privately. Take your time. I might not get to it tonight.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 9, 2015 at 03:37 #41439mattylb
ParticipantWorking on it now. Forgot to ask, what level of access do you need? Full-on admin? It’s multisite, btw – so do you need access to the network or just a site. Sorry, I’m a bit of a noob with WPMU roles and such.
January 9, 2015 at 05:37 #41443sharmstr
ModeratorI need access to change your child theme files
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 9, 2015 at 16:53 #41501mattylb
ParticipantUSR: sharmstr
PSW: sharmEdit!I’ve added the integration code from WC Vendor’s instructions and this time it didn’t break the site, but I still don’t see any vendor-related options in the my account area when I’m logged in as a vendor.
Ultimately I’d like to have another icon appear under the “members” account area for vendors, along with the current Activity, Profile, Media, etc – but it’s not a huge obstacle initially and I can proceed without it. It would just be easier for members to navigate all their tools from one member panel. Speaking of that, doesn’t BuddyPress integrate with WooCommerce and if so, shouldn’t customer orders be available via the members area?
Thanks again and let me know what you find out if you decide to look into it. Feel free to create an account with a Vendor role if you’d like to test, or use Switch to User and the “iowish” user is a vendor.
– Matt
January 9, 2015 at 23:09 #41549sharmstr
ModeratorHey Matt – I need a link to the site š
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 10, 2015 at 02:30 #41563mattylb
ParticipantOMG that’s so funny – I was barely running on fumes at that point, lol. Here’s the link! http://test.iowish.com
January 10, 2015 at 04:20 #41567sharmstr
ModeratorLOL. I’m pretty good at figuring things out, but not that good.
I’m in but as I said, I need access to change theme files so I can add/test the integration code.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 10, 2015 at 04:23 #41568sharmstr
ModeratorAlso, the vendor user doesnt have access to the site, so I can see any of the products or the my profile.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 11, 2015 at 04:19 #41640mattylb
ParticipantSorry for the delay – I believe the theme files are accessible & editable via the Network admin page: http://test.iowish.com/wp-admin/network/theme-editor.php and I went ahead and disabled maintenance mode and instead placed a site-wide banner during testing.
There is also a “Child Themes” plugin that allows some additional editing options for theme files and it’s listed under THEMES in the Network admin area. Hope that helps! I’m psyched to see if this works. š
January 11, 2015 at 04:35 #41642sharmstr
ModeratorLooks like I can access the editor now. I’ll let you know how it goes.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 11, 2015 at 04:39 #41645sharmstr
ModeratorSpoke too soon. I cant get to the files I need to. Give me ftp access. Arrrrrg š
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 11, 2015 at 04:44 #41649mattylb
Participantscratch the WooCommerce > settings > sitewide notice that I mentioned, it breaks the theme so the test site is basically open. No worries though, if I need to I’ll pop a message up via the slider.
January 11, 2015 at 04:45 #41651mattylb
ParticipantOK! lol – FTP coming soon. I use SSH with a key so this could take a minute to figure out, haha
January 11, 2015 at 04:48 #41654mattylb
Participantsharmstr, I’d like to confine FTP access to only your IP address if you don’t mind. Can you please let me know what that is and I’ll get you hooked up!?
January 11, 2015 at 05:07 #41658sharmstr
Moderator70.211.131.11
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 11, 2015 at 05:07 #41659sharmstr
ModeratorLet me know if you cant see that. lol
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 11, 2015 at 05:27 #41660mattylb
ParticipantI can see it, thanks. I’m going to have to find a different solution. Seems I broke my own SFTP access when I tried setting up another account. Is there a WordPress plugin that you know of that can provide access to site files from within the WP admin console?
January 11, 2015 at 05:43 #41665sharmstr
ModeratorNot that I’m aware of, but maybe.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 11, 2015 at 05:45 #41666mattylb
ParticipantHow about we revisit this when I find a solution that isn’t tied to my live site. I can create a micro EC2 instance on Amazon and provide you with the key. I’ll try to have this ready before I’m done for the night (about 6am CST). This way you will have full access to test at your hearts content. š
January 12, 2015 at 17:11 #41770sharmstr
ModeratorHey Matt,
I went ahead and installed this on my dev site. Instead editing member-header.php, I put the following code into my childs function.php file (be sure to delete the header file in your child theme). It will add a “visit my store” button next to the other message buttons in the header. Just like the messages buttons, it will not display if the vendor is viewing their own profile.
Please do not share this code with anyone. I’m going to start charging for plugin integration help. š
COPY CODEadd_action('bp_member_header_actions', 'bp_wc_vendor_integration'); function bp_wc_vendor_integratoon() { $wcv_profile_id = bp_displayed_user_id(); $wcv_profile_info = get_userdata( bp_displayed_user_id() ); $wcv_profile_role = implode( $wcv_profile_info->roles ); if ( $wcv_profile_info->roles[0] == "vendor" ) { $vendor_name_message = get_the_author_meta( 'user_login' ); $current_user = wp_get_current_user(); if ( !bp_is_my_profile() ) { echo '<div class="generic-button" id="visit-store">'; echo do_shortcode( '[kleo_button title="Visit My Store" href="/vendors/'.$wcv_profile_info->user_login.'" target="_self"]' ); echo '</div>'; } } }Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 12, 2015 at 18:24 #41777sharmstr
ModeratorHey Matt – There was a type-o in that code. Use this instead. Also, I added a conditional statement so you wont get errors if you disable the plugin.
COPY CODEadd_action('bp_member_header_actions', 'bp_wc_vendor_integration'); function bp_wc_vendor_integration() { if ( is_plugin_active( 'wc-vendors/class-wc-vendors.php') ) { $wcv_profile_id = bp_displayed_user_id(); $wcv_profile_info = get_userdata( bp_displayed_user_id() ); $wcv_profile_role = implode( $wcv_profile_info->roles ); if ( $wcv_profile_info->roles[0] == "vendor" ) { $vendor_name_message = get_the_author_meta( 'user_login' ); $current_user = wp_get_current_user(); if ( !bp_is_my_profile() ) { echo '<div class="generic-button" id="visit-store">'; echo do_shortcode( '[kleo_button title="Visit My Store" href="/vendors/'.$wcv_profile_info->user_login.'" target="_self"]' ); echo '</div>'; } } } }Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 13, 2015 at 01:50 #41826mattylb
ParticipantYOU ARE MY HERO! š Once this thing (my site) starts generating money again, I’m throwing a donation your way for helping me. Do you have PayPal?
January 13, 2015 at 15:09 #41869sharmstr
ModeratorI do. But I’m thinking about adding the buddypress profile tabs as you suggested. You can purchase that when its ready š
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 13, 2015 at 18:00 #41921mattylb
ParticipantThat, my friend, is a DEAL! … (and you may want to let WC Vendors know about it so they can refer biz your way and it would boost KLEO’s sales with WCVendor fans as well) š
January 30, 2015 at 14:03 #44085sharmstr
ModeratorHey Matty
Just a heads up. I integrated Woos “my account” pages into buddypress. I’m fairly confident that it will be in Kleo 2.4 (see woo_bp for a sample)
But, what I really wanted to show you is also attached. š
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 31, 2015 at 17:35 #44222mattylb
ParticipantWill that be available in 2.4 or are you doing it on the side? Can I pay you to integrate it into my site? =)
January 31, 2015 at 18:09 #44225sharmstr
ModeratorThe WC integration will not be part of Kleo. It will be a plugin. I’ll have some questions for you before I’m through with it.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 2, 2015 at 17:37 #44374mattylb
Participant@sharmstr – do you think it’s possible to have a plugin or other integration solution for WC Vendors on my site by mid February? Let me know what it will cost me for either solution when you have time to figure it out. š
Also, any news on the KLEO’s next update release date? I’m looking forward to the woocommerce orders integration into user profiles, among a couple other things.
No big rush, just wondering.
February 2, 2015 at 17:54 #44381sharmstr
ModeratorIt wont be a problem. I’m just sorting out reporting. Was also trying to figure out what else I could add to it. If you have suggestions, let me know. No promises though š
I dont know. I do know that Abe has been working hard on it.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 3, 2015 at 18:04 #44583mattylb
ParticipantThere’s a plugin called WP User Frontend Pro by Tareq Hasan that WC Vendors gives instructions for creating a front-end product submittal form for vendors. I purchased the plugin and have not activated it so if you’d like to use it, let me know.
Going back through my emails I found something that may actually be better by a guy named Sven with Themekraft.com. He developed a BuddyPress + WooCommerce front-end product creator that is compatible with WC Vendors… https://wordpress.org/plugins/buddyforms-woocommerce-form-elements/ <— just an FYI, he calls it “WP Vendors” in the list of supported vendor programs. He means WC Vendors. š
He also has a synchronization tool that helps integrate WooCommerce pages and plugins into BuddyPress … http://themekraft.com/store/woocommerce-buddypress-integration-wordpress-plugin/ <— this is a paid plugin along the lines of what you showed me in the screenshots above – so I’m not sure if it will help save you work or if it duplicates what you’ve already done.
Have fun! š
February 3, 2015 at 18:27 #44585sharmstr
ModeratorI did see the themekraft plugin. I’m trying to come in a really low price point though. All of those plugins are $59. I’m trying to offer basic integration on the cheap š
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 3, 2015 at 18:31 #44586mattylb
ParticipantYou know, the more I look at this and how it fits a specific demographic of Etsy/OpenSky/E-bay type store owners, I’m thinking you and Abe may want to consider this for a 3rd theme offering.?!
My suggestion would be to have an archive view of the products that is similar to how Pinterest does theirs with “sold by [vendor-name]” for products and modal quick-views of posts and products to prevent redirection from the archive page.
I’m using a free PayPal Express checkout & on-site credit-card plugin that would make checkout from the modal product quick-views super fast and easy because it adds a “checkout with PayPal” button next to the add to cart button. URL: https://wordpress.org/plugins/paypal-for-woocommerce/
Just my two cents worth – but I bet you’d sell a ton of these and change the landscape of online vendor markets if this packaged theme were available.
Many more ideas where that came from if you want to pick my brain.
– Matt
February 3, 2015 at 18:51 #44588mattylb
Participantsorry, meant to attach screenshots to help explain myself…
February 3, 2015 at 19:00 #44592mattylb
ParticipantI did see the themekraft plugin. Iām trying to come in a really low price point though. All of those plugins are $59. Iām trying to offer basic integration on the cheap
I hear that! Let’s just say I got ahead of myself a while back and let Sven know that I was trying to get WC Vendors integrated with KLEO and he’s interested in helping. (I was waiting for your call on that first).
Three suggestions regarding licensing his front-end form are: 1) we provide our own license as part of your integration service (or) 2) ask Sven what your resell options are so you can get a cut, (or) 3) look into an extended license for use in a theme extension for KLEO that is specific to vendor sites.
=)
February 3, 2015 at 19:03 #44595sharmstr
ModeratorYeah, that would be up to 7th Queen. Not me.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
You must be logged in to reply to this topic.