Forum Replies Created
-
AuthorPosts
-
ShaneParticipant
@ben
Awesome suggestion. I have got it going and this is way better than what I wanted anyways. @fervous – unless you want to have it documented here/corrected you don’t need to look into it for me any longer. I appreciate your help but the BuddyPress system seems perfect. Thanks guys!
– Shane
ShaneParticipantThanks @Ben, I will try that out! I like the communication being on my platform better as well.
Thanks,
ShaneShaneParticipantAwesome, thank you for the help. I mean it is pretty common in a marketplace to have a way to contact the vendor so I imagine there is at least some other built-in way to do this right? I just had assumed it had to be through the email but if there is an easier or pre-built in way please let me know as well.
Thank you,
ShaneShaneParticipantNo luck :/
I am attaching a picture of what the email that gets sent looks like. Here is my child themes functions.php file in entirety:<?php // Do not allow directly accessing this file. if ( ! defined( 'ABSPATH' ) ) { exit( 'Direct script access denied.' ); } if ( defined( 'RH_GRANDCHILD_DIR' ) ) { include( RH_GRANDCHILD_DIR . 'rh-grandchild-func.php' ); } add_action( 'wp_enqueue_scripts', 'enqueue_parent_theme_style' ); function enqueue_parent_theme_style() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); if (is_rtl()) { wp_enqueue_style( 'parent-rtl', get_template_directory_uri().'/rtl.css' ); } } // Add specific CSS class by filter add_filter('body_class','style_body_repick'); function style_body_repick($classes) { $classes[] = 'no_bg_wrap'; return $classes; } ////////////////////////////////////////////////////////////////// // Translation ////////////////////////////////////////////////////////////////// add_action('after_setup_theme', 'rehubchild_lang_setup'); function rehubchild_lang_setup(){ load_child_theme_textdomain('rehubchild', get_stylesheet_directory() . '/lang'); } /* begin add Vendor contact information to order email - This will add the vendors email address, phone number and address after their Shop Name in WC Vendors customer email conformation */ remove_action( 'woocommerce_add_order_item_meta', array('WCV_Vendor_Shop', 'add_vendor_to_order_item_meta'), 10, 2 ); add_action( 'woocommerce_add_order_item_meta', 'custom_add_vendor_to_order_item_meta', 10, 2); function custom_add_vendor_to_order_item_meta( $item_id, $cart_item) { $vendor_store_postcode = get_user_meta($vendor_id, '_wcv_store_postcode', true); $vendor_city = get_user_meta($vendor_id,'_wcv_store_city', true); $vendor_state = get_user_meta($vendor_id, '_wcv_store_state', true); $sold_by = WCV_Vendors::is_vendor( $vendor_id ) ? sprintf( WCV_Vendors::get_vendor_sold_by( $vendor_id ) ): get_bloginfo( 'name' ); $sold_by_and_email = $sold_by . ':' . '<br> <b>E-Mail: </b>' . $vendor_email . '<br><b> Telephone #.:</b> ' . $vendor_phone . '<br> <b>Address: </b>' . $vendor_address1 . ', '.$vendor_store_postcode . ', ' . $vendor_city . ','. $vendor_state; wc_add_order_item_meta( $item_id, apply_filters('wcvendors_sold_by_in_email', __('<b>Verkauft durch</b>', 'wcvendors')), $sold_by_and_email); } /* end add Vendor contact information to order email*/ ?>
ShaneParticipant@fervous ,
Hate to bother but can you think of anything that would make that not work when added to the child theme’s functions php file? Having a tough time figuring this one out.
Thanks,
ShaneShaneParticipantI appreciate the help. I have put it in the Child themes functions php file. Hmm no luck still. It is only showing “Sold by: [Store name]”.
Thanks,
ShaneShaneParticipantAnyone have any idea where Andy would’ve put that code? I followed the link Ben posted and then put the code in the file copied to my theme but it appears to have broke the email – it did not send.
ShaneParticipantSorry forgot to add you need to a Shipping Zone in the Shipping tab of Woocommerce -> Keep it blank don’t add anything to any field and save. When you save it will be renamed “Everywhere”. That is needed in combination to what I said before this.
ShaneParticipantI just wanted to update this for future Googlers. After spinning in circles trying to figure it out. No matter what I did it kept showing “Flat Rate” above the actual “Vendor Shipping” choice – essentially giving customers a way to avoid paying the appropriate shipping. The trick was to go to Woocommerce -> Settings -> General tab -> Shipping Location(s) and change it from “Ship to all countries” to “Ship to all countries you sell to”.
Hope it helps,
ShaneShaneParticipantThanks for the response Anna! What would be the best way for me to keep track of this request?
Thank you,
Shane H.ShaneParticipantI have followed the Knowledge Base article which led me to this post eventually from further searching. I have posted the code into my child themes functions php but it does not currently hide the Add to shopping cart button.
( I know you do not support Themes but for reference I am using Rehub ReVendor)
Thanks,
ShaneShaneParticipantAwesome. Thanks, you are the best!
ShaneParticipant@ferbous
Thank you, that is essentially what my research had boiled down to but I just wanted to make sure. As an aside do you know the specific fees Paypal/Stripe takes to distribute the commission? I am having trouble finding that information.
And just to confirm so basically I can do this as of now:
1) Customer purchases from Vendor -> funds are deposited into my account.
2) Whatever business logic I want in terms of manually deciding when the order is complete. I mark it complete in Woo Commerce.
3) Commission now shows that is eligible to be paid out (and not before I marked the order complete).Thanks,
ShaneShaneParticipantAwesome support, thanks everyone!
ShaneParticipantThanks for your help 🙂 Very nice of you.
I am a WordPress noob so I am guessing the shortcode makes the content of the page for you is what you are saying?
Thanks,
ShaneShaneParticipantHey Anna, @fervous
Don’t mean to jack his post but me and him are having the same issue. So do we actually have to code pages or does the shortcode create everything for us after we make a blank one with that code in it? (Please disregard the other posts I had where I asked this around 15 minutes ago).
Thanks,
ShaneShaneParticipant@nofski I am not the original poster but by any chance can you link to the page where it mentions about needing to create those pages? I am following the Knowledge Bases’ Pro Setup guide (https://www.wcvendors.com/kb/wc-vendors-pro-setup-guide/) and it specifically states that not only should they be options in the drop down but that Pro should come with them preselected. In my case neither were true.
ShaneParticipantFor consistency and helping to keep the same issue in one place for future forum searchers I would like to reopen this with stating I am having a similar issue. I have 100% fresh install and working through the pro setup guide at https://www.wcvendors.com/kb/wc-vendors-pro-setup-guide/ . I have all other plugins disbaled with only fresh new installs of WC Vendors, WC Vendors Pro, WooCommerce and Stripe Commissions and Gateway activated.
When I reached the “Configuring Vendor Ratings.” and “Configuring Pro settings.” of the doc it shows which pages to select. For the ratings “Feedback Form Page” dropdown and the Pro tab’s “Pro Dashboard” dropdown there is only “Vendor Dashboard” to select with 2 child elements you can also select from that one which are “Orders” and “Shop Settings”.
I am using WC Vendors Enterprise hosting.
Thanks,
ShaneShaneParticipantHey Ben,
The new zip file you guys uploaded worked with the auto update button. I will check if that resolves the hosting issue.
Thanks,
ShaneShaneParticipantHi Jamie,
I attempted to update to 1.3.9 but I get an error “Update Failed: The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature” when trying to update through WordPress.
I would do it manually but apparently for some reason now my site 500s after having this issue (2 + hours since I began troubleshooting it). I am using you guys for hosting and it worked fine before this. Now when I try to FTP or SFTP it refuses to connect. I haven’t change anything (and to attest to that I have my settings saved I just click login on SFTP client which was suggested to me by Ben).
January 29, 2017 at 3:54 pm in reply to: Add plugins page issue with WC Vendors PRO activated #54560ShaneParticipantI am having the same issue Todd is having as well. Auto-update spits out error “Update Failed: The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature”.
I am having trouble SFTPing in now too after trying that, which I was going to do to just manually update the files to v1.3.9.
ShaneParticipantPerhaps we can set up a time after my day job tomorrow to run through everything? Thanks in advance.
ShaneParticipantBump.
ShaneParticipantAwesome, thanks for the quick response Ben. I will be purchasing it tonight or tomorrow! To use a corny/cliche business term the “synergy” of you all handling the hosting makes a ton of sense to me.
– Shane
-
AuthorPosts