Forum Replies Created
- AuthorPosts
Sushobhan
KeymasterHello,
If your site supports a single language then you can simple enter your text directly into that function-
wc_add_notice( "write your own message in your own language, here", 'error' );
Thanks 🙂Sushobhan
KeymasterHello,
Kindly provide a snapshot marking the section/fields that you want to hide/disable.
Thanks!April 24, 2020 at 5:53 pm in reply to: Allow vendor to add Instagram gallery, Facebook feed, Twitter feed to store page #122534Sushobhan
KeymasterDue to a reported bug (incompatibility with the latest Instagram API) WCFM Marketplace no longer provides this feature.
Sushobhan
KeymasterYes, it totally makes sense. I’ll add a reply on that thread.
Thank You.
April 24, 2020 at 5:39 pm in reply to: Additional Registration Custom Fields – password update error #122529Sushobhan
KeymasterHi,
Try using the following snippet-add_action( 'after_wcfm_marketplace_settings', 'focusFailedValidationTab' ); add_action( 'after_wcfm_wcvendors_profile', 'focusFailedValidationTab' ); function focusFailedValidationTab() { ?> <script> jQuery( document ).ready( function ( $ ) { var validationTimer; function afterFormValidation( e, form ) { if ( isValidationFailed ) { clearTimeout( validationTimer ); validationTimer = setTimeout( function () { $tabHeader = $( form ).find( '.wcfm_validation_failed:first' ).closest( '.wcfm-container' ).prev( '.page_collapsible' ); if ( $tabHeader.length ) { $tabHeader.trigger( 'click' ); } }, 0 ); } } function isValidationFailed( form ) { return $( form ).find( '.wcfm-message.wcfm-error' ).length; } $( document.body ).on( 'wcfm_form_validate', afterFormValidation ); } ); </script> <?php }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 this goes.
Thanks!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.April 24, 2020 at 4:22 pm in reply to: Display "Country" + "State/County" + "City/Town" in single product page. #122501Sushobhan
KeymasterKindly use this updated snippet-
add_action( 'woocommerce_product_meta_end', function() { global $product; $vendor_id = wcfm_get_vendor_id_by_post( $product->get_id() ); $store_user = wcfmmp_get_store( $vendor_id ); $store_info = $store_user->get_shop_info(); if ( $store_info['store_hide_address'] == 'yes' || ! wcfm_vendor_has_capability( $vendor_id, 'vendor_address' ) ) return; if ( ! empty( $store_info['address'] ) ) { $addr_arr = array(); $all_countries = WC()->countries->get_countries(); if ( ! empty( $store_info['address']['country'] ) && ! empty( $all_countries[$store_info['address']['country']] ) ) { array_push( $addr_arr, $all_countries[$store_info['address']['country']] ); if ( ! empty( $store_info['address']['state'] ) ) array_push( $addr_arr, $store_info['address']['state'] ); if ( ! empty( $store_info['address']['city'] ) ) array_push( $addr_arr, $store_info['address']['city'] ); ?> <p class="vendor_singleline_address"><span>Country: </span><?php _e( implode( ", ", $addr_arr ) ); ?></p> <?php } } } );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 this goes.
Thanks!Sushobhan
KeymasterHi,
The WP rich editor library(tinymce) some how gets initiated here. It shouldn’t be, as you have disabled that feature. I believe there might be some other plugin producing this conflict.
You can try using the following hack to bypass this. This code is untested as I couldn’t replicate the issue on my side, but it should work.add_action('wcfm_main_contentainer_after', function() { $rich_editor = apply_filters( 'wcfm_is_allow_rich_editor', 'rich_editor' ); $wpeditor = apply_filters( 'wcfm_is_allow_product_wpeditor', 'wpeditor' ); if( ! $wpeditor || ! $rich_editor ) { ?> <script> setTimeout(function(){ window.tinymce = void 0; },0); </script> <?php } });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 this goes.
Thanks!April 24, 2020 at 2:12 pm in reply to: Display "Country" + "State/County" + "City/Town" in single product page. #122478Sushobhan
KeymasterHello,
You can use the following snippet (do changes as per your need)-add_action('woocommerce_product_meta_end', function() { global $product; $vendor_id = wcfm_get_vendor_id_by_post($product->get_id()); ?> <div class="vendor_singleline_address"><?php echo wcfm_get_vendor_store_address_by_vendor($vendor_id); ?></div> <?php });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 this goes.
Thanks!Sushobhan
KeymasterHi,
This seems like a plugin conflict. Kindly disable all other plugins except WooCommerce and WCFM plugins. After that you can enable rest of the plugins one by one to find out the cause.
one query – Did you disabled rich editor option for your vendors, from Capability settings?
Let me know how it goes.
Thanks!April 24, 2020 at 1:25 pm in reply to: Différence between stripe split pay and stripe Connect #122451Sushobhan
KeymasterHi,
Thanks for getting in touch with us!
Please go through this documentation- https://docs.wclovers.com/vendor-payment/ to learn about those two. In short, when a customer make a payment, the amount goes to admin and then later vendor commission is transferred. But, with split pay vendor get their commission instantly. Here the money is not get routed through admin.
Thanks!Sushobhan
KeymasterHello,
Please ensure Store Manager page is selected against WCFM Page settings, under wp-admin > WCFM Options page. Refer to this img- https://imgur.com/tsVnA67
Also check if Store Manager page contains [wc_frontend_manager] shortcode or not!
If all okay, check at wp-admin -> WooCommerce -> Status -> Logs -> fatal_erros log -> is any error generated?
Thanks!Sushobhan
KeymasterHello,
Take a look at this plugin – https://wordpress.org/plugins/woo-checkout-for-digital-goods/
From its description it seems like, it can be helpful for your purpose.
Thank You!Sushobhan
KeymasterI tested in my local setup but couldn’t get any error like this. This may be due to some other problem. Please check at wp-admin -> WooCommerce -> Status -> Logs -> fatal_erros log -> is any error generated?
Let me know.
Thank you!April 23, 2020 at 8:13 pm in reply to: showing DataTable warning: table id=wcfm-product – Ajax error. in product list , #122247Sushobhan
KeymasterHi,
This is happening due to some plugin conflict. Kindly disable all other plugins except WooCommerce and WCFM plugins. After that you can enable rest of the plugins one by one to find out the cause.
Let me know how it goes.
Thanks!Sushobhan
KeymasterHi,
Right now, WCFM is not fully compatible with Rank Math SEO. We could add that compatibility, if got more requests. Alternatively, you could use Yoast for now.
Thanks!Sushobhan
KeymasterHi,
This seems like a plugin conflict. But, as you have said, you tested this by disabling all other plugins so frankly I have no clue. Could you send me your site url and a temporary backend access details to debug this further? When sharing the access, please don’t forget to mark the reply as private.
ThanksSushobhan
KeymasterHi,
WCFM is compatible with Yoast SEO plugin, means all the inputs your vendors are providing are going directly into Yoast. It’s totally the same.In other site pages Yoast SEO shows the Marketplace title as well.
This is not guaranteed, as Google often changes the title to match user search query.
Is this like how it displays in Google search results
Normally it does, but as I mentioned it’s not guaranteed. You can read more about this here – https://www.perrill.com/google-change-title-description-search-results/
Thanks!
Sushobhan
KeymasterHello,
As I can see from the log, there is nothing wrong with your stripe payments. You are using Stripe in test mode. So it’s not getting reflected in your stripe account. You can make a transaction in live mode with minimum amount to confirm this.
Thanks!Sushobhan
KeymasterHi
Use the following snippet to do so-add_filter( 'wcfm_product_fields_downloadable', function($downloadable_fields) { if ( isset( $downloadable_fields['downloadable_files']['options']['name'] ) ) { unset( $downloadable_fields['downloadable_files']['options']['name']['custom_attributes']['required'] ); } if ( isset( $downloadable_fields['downloadable_files']['options']['file'] ) ) { unset( $downloadable_fields['downloadable_files']['options']['file']['custom_attributes']['required'] ); } return $downloadable_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!April 23, 2020 at 2:57 pm in reply to: **URGENT/SITE CRASHING** Need help with AJAX calls/FrontEndManager #122148Sushobhan
KeymasterThank You 🙂
April 23, 2020 at 11:28 am in reply to: Unable to change stock status ("In Stock"/ "Out of Stock") from WCFM Dashboard #122073Sushobhan
KeymasterHello,
It’s great that you figure out a solution. But at the same time the error shouldn’t be there.
Do you want me to look into the issue? Then I’ll require your site url and backend access. When sharing the access, please don’t forget to mark the reply as private.
Thanks!Sushobhan
KeymasterThe error is coming from WooCommerce end and it seems like a plugin conflict or version mismatch. Please disable all other plugins except WooCommerce and WCFM plugins, and then try. It it works then you can activate your plugins one by one, to found the issue.
Let me know how it goes.
Thanks!Sushobhan
KeymasterHi,
Store id, is simply your vendors user id. So, its always numeric (integer). You can use it like this – [wcfm_stores includes=’2,3,8,65′ ], where 2,3, 8,65 are user id of your vendors.
Please refer to the detail documentation here- https://docs.wclovers.com/store-list/. Take a look at the ‘search_category’ attribute as it might be useful in some cases.Thanks!
Sushobhan
KeymasterLet 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.
- AuthorPosts