This topic has 58 replies, 4 voices, and was last updated 9 years by Sonic1832.

  • Author
  • #41081
     mattylb
    Participant

    Hi 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 sitehttp://www.wcvendors.com/download/
    bp integration stepshttp://www.wcvendors.com/knowledgebase/integrating-buddypress-profiles/
    hooks & filtershttp://www.wcvendors.com/knowledgebase/list-filtersactionshooks/

    Thanks for considering this! šŸ™‚

    #41424
     sharmstr
    Moderator

    What 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 solution
    #41427
     mattylb
    Participant

    Let 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!

    #41431
     sharmstr
    Moderator

    Just 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 solution
    #41439
     mattylb
    Participant

    Working 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.

    #41443
     sharmstr
    Moderator

    I 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 solution
    #41501
     mattylb
    Participant

    USR: 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

    #41549
     sharmstr
    Moderator

    Hey 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 solution
    #41563
     mattylb
    Participant

    OMG that’s so funny – I was barely running on fumes at that point, lol. Here’s the link! http://test.iowish.com

    #41567
     sharmstr
    Moderator

    LOL. 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 solution
    #41568
     sharmstr
    Moderator

    Also, 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 solution
    #41640
     mattylb
    Participant

    Sorry 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. šŸ™‚

    #41642
     sharmstr
    Moderator

    Looks 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 solution
    #41645
     sharmstr
    Moderator

    Spoke 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 solution
    #41649
     mattylb
    Participant

    scratch 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.

    #41651
     mattylb
    Participant

    OK! lol – FTP coming soon. I use SSH with a key so this could take a minute to figure out, haha

    #41654
     mattylb
    Participant

    sharmstr, 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!?

    #41658
     sharmstr
    Moderator

    70.211.131.11

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #41659
     sharmstr
    Moderator

    Let 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 solution
    #41660
     mattylb
    Participant

    I 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?

    #41665
     sharmstr
    Moderator

    Not 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 solution
    #41666
     mattylb
    Participant

    How 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. šŸ™‚

    #41770
     sharmstr
    Moderator

    Hey 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 CODE
    
    add_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 solution
    #41777
     sharmstr
    Moderator

    Hey 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 CODE
    
    add_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 solution
    #41826
     mattylb
    Participant

    YOU 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?

    #41869
     sharmstr
    Moderator

    I 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 solution
    #41921
     mattylb
    Participant

    That, 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) šŸ˜‰

    #44085
     sharmstr
    Moderator

    Hey 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 solution
    #44218
     mattylb
    Participant

    OH MY GOSH … Totally awesome!!!

    #44222
     mattylb
    Participant

    Will that be available in 2.4 or are you doing it on the side? Can I pay you to integrate it into my site? =)

    #44225
     sharmstr
    Moderator

    The 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 solution
    #44226
     mattylb
    Participant

    Sounds good.

    #44374
     mattylb
    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.

    #44381
     sharmstr
    Moderator

    It 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 solution
    #44583
     mattylb
    Participant

    There’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! šŸ™‚

    #44585
     sharmstr
    Moderator

    I 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 solution
    #44586
     mattylb
    Participant

    You 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

    #44588
     mattylb
    Participant

    sorry, meant to attach screenshots to help explain myself…

    #44592
     mattylb
    Participant

    I 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.

    =)

    #44595
     sharmstr
    Moderator

    Yeah, 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
Viewing 40 posts - 1 through 40 (of 59 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?