Forum Replies Created
- AuthorPosts
Sushobhan
KeymasterHi,
Kindly use the following snippet for this-add_filter( 'wcfm_product_manage_fields_general', function( $general_fields, $product_id, $product_type ) { if( isset( $general_fields['pro_title'] ) ) { $general_fields['pro_title']['attributes'] = array( 'maxlength' => 10 ); //number of characters permitted. Change it as per your need. } return $general_fields; }, 50, 3 ); add_filter( 'wcfm_product_manage_fields_pricing', function( $pricing_fields, $product_id, $product_type ) { if ( isset( $pricing_fields['sale_price'] ) ) { unset( $pricing_fields['sale_price'] ); } return $pricing_fields; }, 50, 3 ); add_filter( 'wcfm_product_manage_fields_content', function( $content_fields, $product_id, $product_type ) { if ( isset( $content_fields['excerpt'] ) ) { $content_fields['excerpt']['media_buttons'] = false; } return $content_fields; }, 50, 3 );Here I use maxlength property for the title field. You can learn more about this here – https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/maxlength
Thanks!
Sushobhan
KeymasterHello,
Thanks for getting in touch with us.
To do this, go to Capability from your admin settings and disable Publish Products and Auto Publish Live Products capability under Products section[ref- https://ibb.co/mFRDVMy%5D.
Next time, when a vendor submits a product, the admin has to approve it from Products page.
Let me know how it goes.
Thanks!Sushobhan
KeymasterHello,
Thanks for reaching to us.
The ‘Product Limit’ settings under Capability works exactly the way you want i.e. it take into account total number of products. Quantity is not come into play here. So if you set Product limit 50, then each of your vendors should be able to upload 50 different products irrespective of their quantity.
Please check your settings once again.
Thanks.Sushobhan
KeymasterHi,
Are you checking this before approving the vendor? Once you approve the pending vendor, the store name and store slug will change automatically.
ThanksSushobhan
KeymasterHello,
I have checked and find out that the theme is causing the issue. You can change to another theme like Storefront or OceanWP to test that. It might be due to compatibility issue or due to any changes made from your side (editing functions.php etc.), not sure.
Let me know if you need anything else.
Thanks.
Sushobhan
KeymasterThis reply has been marked as private.Sushobhan
KeymasterHello,
To debug this we will require a temporary access of your site. Make sure to mark the reply as private.
ThanksFebruary 6, 2020 at 5:14 pm in reply to: Please disable any page scroll javascript enhancements on the wclovers.com #105851Sushobhan
KeymasterHello,
Thanks for getting in touch and sorry for any inconvenience caused.
I tried but could not experience any issue with the scroll. In addition to this, we are not using any special JS scroll enhancement lib to our site.
ThanksSushobhan
KeymasterThis reply has been marked as private.Sushobhan
KeymasterHello
Thanks for getting in touch with us. I tried your process flow but failed to replicate the issue.
Can you please check in Google Chrome Browser console, is there any JavaScript error happening to the site or not! (What is browser console – https://support.airtable.com/hc/en-us/articles/232313848-How-to-open-the-developer-console)
ThanksSushobhan
KeymasterHi,
Please add the following code for this purpose-add_action( 'wcfmmp_new_store_created', function( $member_id, $wcfmmp_settings ) { global $WCFM, $wpdb; $store_name = 'store#'.$member_id; $store_slug = "store-".$member_id; update_user_meta( $member_id, 'store_name', $store_name ); update_user_meta( $member_id, 'wcfmmp_store_name', $store_name ); $wcfmmp_settings['store_name'] = $store_name; update_user_meta( $member_id, 'wcfmmp_profile_settings', $wcfmmp_settings ); $wpdb->query( "UPDATE {$wpdb->prefix}users SET user_nicename = '{$store_slug}' WHERE ID = $member_id" ); }, 50, 2 ); add_filter( 'wcfm_is_allow_store_name', '__return_false' );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/Thank You
Sushobhan
KeymasterHello,
Thanks for getting in touch with us.
You can translate to Persian language easily using Loco Translate plugin. But integrating with Shamsi(Jalali) calendar is not supported. You need to customize that. First find a Jalali calendar JS library that suit your purpose and enqueue on every vendor dashboard page where there exists a calendar field. Further, you might need to checkout the documentation of your selected library to learn about its usage.
I find these two WP plugin as well https://wordpress.org/plugins/wp-parsidate/ and https://wordpress.org/plugins/wp-persian/. Check these as well.Thanks!
Sushobhan
KeymasterHello,
You can give StorePep a try. It’s compatible with WCFM Marketplace.
Let me know how it goes.
ThanksFebruary 5, 2020 at 4:29 pm in reply to: RnB Rental and Booking plugin – missing funcionalities #105541Sushobhan
KeymasterHello,
At first I sincerely apologize for the delay in response. It seems, these features are newly added in RnB. We will add those support in our future versions.
Please drop us a email at wclovers.forum@gmail.com, to keep track of this. Also, don’t forget to add this forum topic link in there.
Thanks.Sushobhan
KeymasterHi,
Those two translations are already there in the Portuguese (Brazil) translation file. See the attached image.
The second image you attached (may be related to “the final button for the Store Vendor Setup.”), was mistakenly deleted. Can you please send that again.
Thanks!Attachments:
You must be logged in to view attached files.February 4, 2020 at 10:10 pm in reply to: Can not find a solution to remove auto created "Canonical" URL #105438Sushobhan
KeymasterHello,
Please share a temporary site access to further debug the issue. Also, don’t forget to mark it as private.
RegardsSushobhan
KeymasterHello,
Can you please provide me a snapshot of the error? Also,are you using latest version of Product Vendors as well?
RegardsSushobhan
KeymasterHello,
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.
Thanks!
Sushobhan
KeymasterHello,
You can use the following snippet to achieve the same –function remove_product_tabs() { global $WCFMu; remove_action( 'end_wcfm_products_manage', array( $WCFMu->wcfmu_wcbooking, 'wcb_wcfmu_products_manage_form_load_views' ), 30 ); if ( ! current_user_can( 'administrator' ) ) { add_filter( 'wcfm_is_allow_seo', '__return_false' ); add_filter( 'wcfm_is_allow_wc_tabs_manager', '__return_false' ); } } add_action( 'wcfm_init', 'remove_product_tabs', 20 ); function remove_catalog_tab() { add_filter( 'wcfm_is_allow_catalog', '__return_false' ); } add_action( 'init', 'remove_catalog_tab', 9 );Let me know how it goes.
ThanksSushobhan
KeymasterHello,
Kindly press the Sync button and then try searching for the string ‘Reject’. This is a known issue for Loco. So, it’s always safe to Sync the list first.
ThanksSushobhan
KeymasterHi,
Unfortunately, WC Bookings does not support such custom date format. If you change the format, it will not work.
ThanksSushobhan
KeymasterHello,
It might be a plugin conflict issue. Can you check this in a clean environment i.e. with WooCommerce and WCFM plugins.
Let me know. Alternatively, you can share with me a temporary access here. Make sure you mark your reply private.
Thanks.Sushobhan
KeymasterHello,
Thanks for getting in touch and sorry for any inconvenience caused.
The string ‘Reject’ is in “WCFM WooCommerce Frontend Manager” plugin. Please refer to the following images – [Settings] https://ibb.co/0jGKJS9 , [Result] https://ibb.co/xMdPD9L
Loco is still the easiest way to achieve any kind of string translation.
ThanksJanuary 30, 2020 at 5:53 pm in reply to: Change text for "You have reached your product limit" #104683Sushobhan
KeymasterHello,
You can change text using “loco translate” plugin to translate this text.(https://wordpress.org/plugins/loco-translate/)
Please select the plugin Loco Translate -> Plugins -> “WCFM – WooCommerce Frontend Manager” for changing text You have reached your product limit! and Plugins -> “WCFM – WooCommerce Multivendor Membership” for changing text %sChange or Upgrade your current membership plan >>%s.Thanks.
Sushobhan
KeymasterHello,
Thanks for contacting to us. You can try doing it the following way-function force_custom_product_meta_on_save( $product_id, $wcfm_products_manage_form_data ) { $product_type = empty( $wcfm_products_manage_form_data['product_type'] ) ? WC_Product_Factory::get_product_type( $product_id ) : sanitize_title( stripslashes( $wcfm_products_manage_form_data['product_type'] ) ); switch ( $product_type ) { //simple, variable, grouped, external, booking case 'simple': update_post_meta( $product_id, 'meta', 'value' ); break; case 'booking': update_post_meta( $product_id, 'meta', 'value' ); break; //... } } add_action( 'after_wcfm_products_manage_meta_save', 'force_custom_product_meta_on_save', 10, 2 );Let me know how it goes.
Thanks- AuthorPosts