Forum Replies Created
- AuthorPosts
- April 23, 2020 at 11:05 am in reply to: Separate Woo 'Selling Countries' and 'Vendor Registration Country' #122066
Sushobhan
KeymasterHello,
When we populate that vendor country, we fetch the data from existing WooCommerce settings. It can be of of the following-
1. Allowed Selling location(s) (default)
2. Allowed Shipping locationsSo current you have 2 options, you could set Selling location(s) to “all countries” and restrict Shipping location(s) to some specific countries. Then it will allow vendors to choose from all the countries.
Or set Selling location(s) to some specific countries and allow Shipping location(s) to “all countries”.
Can you use the 2nd option for your purpose? As Admin you can choose your shipping regions and thus vendors will not be able to ship outside of the allowed regions! Then, to change the Country field setting you will need to use the following snippet-
add_filter( 'wcfm_marketplace_settings_fields_address', function($address_field) { if(isset($address_field['country'])) { $address_field['country']['wcfmmp_shipping_country'] = true; } return $address_field; });Add this code to your child theme’s functions.php
In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/
Let me know how it goes.
Thanks!Sushobhan
KeymasterHi,
This log is old (12/04/2020), could you please check if there is a more recent error log there?
Thanks!Sushobhan
KeymasterHello,
It seems the text length is larger than the available container space. If possible either use a shorter synonymous text, you can use Loco translate plugin for changing the text.(https://localise.biz/wordpress/plugin/beginners)
Or
use some css to fix it.
change the font size(smaller), Try this css in your activated theme’s style.css#wcfm_menu .wcfm_menu_item span.text { font-size: 13px; }Thanks!
Sushobhan
KeymasterThis reply has been marked as private.Sushobhan
KeymasterHi,
Thanks for reporting this. We will fix that in our next update.Sushobhan
KeymasterHi,
Can you please check at wp-admin -> WooCommerce -> status -> Logs and send me the details of the error. It is getting a 500 Internal Server Error on checkout.
Let me know.
April 22, 2020 at 8:17 pm in reply to: Separate Woo 'Selling Countries' and 'Vendor Registration Country' #121891Sushobhan
KeymasterHi,
You could set Selling location(s) to “all countries” and restrict Shipping location(s) to some specific countries. Then it will allow vendors to choose from all the countries.
Thanks!Sushobhan
KeymasterHello,
Thanks for getting in touch.
Currently WCFM is compatible with Yoast SEO.
Thanks!Sushobhan
KeymasterThis reply has been marked as private.Sushobhan
KeymasterHello,
Are you using any user role management plugin? It seems like some conflict with the default WCFM capability. Please test it with only WooCommerce and WCFM plugins.
ThanksSushobhan
KeymasterHi,
You are always welcome 🙂
Let me know if there’s anything else we can help you with.
Can we ask for a favor? Would you mind taking a few minutes to review our plugin at https://wordpress.org/support/plugin/wc-multivendor-marketplace/reviews/ and let others know about your 5 Star experience with WCFM Marketplace. Also, follow us on Twitter https://twitter.com/wcfmmp for more exciting news, important updates, and irresistible offers.
Sushobhan
KeymasterYou are always welcome 🙂
Let me know if there’s anything else we can help you with.
Can we ask for a favor? Would you mind taking a few minutes to review our plugin at https://wordpress.org/support/plugin/wc-multivendor-marketplace/reviews/ and let others know about your 5 Star experience with WCFM Marketplace. Also, follow us on Twitter https://twitter.com/wcfmmp for more exciting news, important updates, and irresistible offers.
Sushobhan
KeymasterHello,
Use the following snippet , it will add the vendor address below the store name. See the image- https://imgur.com/ZRNjEsgadd_filter( 'woocommerce_get_item_data', function( $cart_item_meta = array(), $cart_item ) { global $WCFM; $product_id = $cart_item['product_id']; if ( ! $product_id ) { $variation_id = sanitize_text_field( $cart_item['variation_id'] ); if ( $variation_id ) { $product_id = wp_get_post_parent_id( $variation_id ); } } $vendor_id = wcfm_get_vendor_id_by_post( $product_id ); if( $vendor_id ) { $vendor_address = $WCFM->wcfm_vendor_support->wcfm_get_vendor_address_by_vendor( absint($vendor_id) ); if( !is_array( $cart_item_meta ) ) $cart_item_meta = (array) $cart_item_meta; $cart_item_meta = array_merge( $cart_item_meta, array( array( 'name' => 'Location', 'value' => $vendor_address ) ) ); } return $cart_item_meta; }, 60, 2 );Add this code to your child theme’s functions.php
In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/
Let me know how it goes.
Thanks!Sushobhan
KeymasterHi,
To prevent vendors from changing store email use the following snippet-add_filter('wcfm_marketplace_settings_fields_general', function($field) { if(isset($field['store_email']) && !current_user_can('administrator')) { unset($field['store_email']); } return $field; });Add this code to your child theme’s functions.php
In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/
Let me know how it goes.
Thanks!Sushobhan
KeymasterHi,
Use the following snippet-add_filter('wcfm_vendors_settings_fields_store_hours_time_slots', function($store_hr_fields) { foreach( $store_hr_fields as $key => $field_options ) { if(isset($store_hr_fields[$key]['options']['start'])) { $store_hr_fields[$key]['options']['start']['custom_attributes']['required'] = 1; } if(isset($store_hr_fields[$key]['options']['end'])) { $store_hr_fields[$key]['options']['end']['custom_attributes']['required'] = 1; } } return $store_hr_fields; }); add_filter('wcfm_vendors_settings_fields_store_hours', function($fields) { if(isset($fields['wcfm_store_hours'])) { $fields['wcfm_store_hours']['dfvalue'] = 'yes'; $fields['wcfm_store_hours']['custom_attributes']['required'] = 1; } return $fields; });Add this code to your child theme’s functions.php
In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/
Let me know how it goes.
Thanks!Sushobhan
KeymasterGlad you figure out the solution and thanks for keeping us posted.
Sushobhan
KeymasterHi,
This is not possible using code snippet. Currently commission is calculated against each order item so per product or per unit is supported but not one commission per order.
If you are interested in this customization, please contact us here –https://wclovers.com/setup-guidance/.Thank You
Sushobhan
KeymasterHello,
Kindly deactivate and then activate your license. Let me know if that doesn’t fix the problem.
Thanks YouSushobhan
KeymasterHi,
Thanks for bringing this to our attention. Current description of that point is erroneous. I have informed that to our content team.
The feature discussed here is “Email Settings”, which you can find under Settings > Email Settings. No, you can’t modify templates from here, instead you can set sender email against various email templates, along with CC, BCC, and Sendor name.
Hope this clarifies your query.
Thanks you again!Sushobhan
KeymasterAre you using the same email, you use as your user email in our website? If this doesn’t resolve the issue, then I will require a temporary backend access of your site. When sharing the access, please don’t forget to mark the reply as private.
Thank You!Sushobhan
KeymasterHello Marcus,
That post is quite old. Some time ago, Instagram updates their API which broke our earlier solution. Currently this feature is disabled.
Thank You!April 22, 2020 at 1:58 pm in reply to: Setting up minimum qty and increments for products in vendor's dashboard #121689Sushobhan
KeymasterGlad it worked well for you 🙂
April 22, 2020 at 1:56 pm in reply to: How to add extra field to Bulk Edit option and filter on frontend #121687Sushobhan
KeymasterHi,
1. Please use
wcfm_product_bulk_edit_endaction to add your custom field to product bulk edit form. To save the custom field data use the following action-
do_action( 'wcfm_product_bulk_edit_save', $product, $wcfm_bulk_edit_form_data );
2. But for filtering products using this custom field, you have to use a WooCommerce product search plugin. You can use any suitable plugin for this purpose.Thank You
Sushobhan
KeymasterHello,
Are you using any other Stripe plugin in your site except WCFM Stripe Split pay?
Please show me screenshot from WCFM Admin Setting -> Payment Setting
Please check at wp-admin -> WooCommerce -> Status -> Logs -> wcfm-stripe log -> is any error generated?Thanks You!
Sushobhan
KeymasterHello,
Shipping Zone works differently than you might anticipated. When you (admin) create multiple zones, you need to make sure that each zone is different by choosing different ‘Zone regions’. Also add them in order from specific to more generic, otherwise the first zone rules will always be implied.
To learn more about these checkout this forum- https://wclovers.com/forums/topic/wild-cards-for-postal-codes-shipping-zones/
Hope this helps!
Thanks! - AuthorPosts