Forum Replies Created
- AuthorPosts
- January 16, 2020 at 6:23 pm in reply to: Request insert brand/logo of the vendors into list and grid #102301
Sushobhan
KeymasterHi,
We would love to guide you. Please contact us here for the purpose – https://wclovers.com/woocommerce-multivendor-customization/
ThanksSushobhan
KeymasterHi,
Please contact us here for the purpose – https://wclovers.com/woocommerce-multivendor-customization/
Thanks
Sushobhan
KeymasterHi,
There are two images in the dashboard. One for vendors avatar and another for the store logo. To change the avatar click on it and it will open the Profile Manager
page, from there you can change the avatar. Now to change the store logo, go to Settings >> Store; from there you can change the Store Logo.The other question you asked (remove social icon on the left), is not clear enough. Can you provide a snapshot of this?
Thanks
Sushobhan
KeymasterYou are welcome 🙂
Sushobhan
KeymasterAs an easy hack you can use
'or'. It’s HTML equivalent code of apostrophe. So for Sophie’s cakes you need to typeSophie's cakes. I know this is an ugly workaround. I’ll consult with my team if we can have an exclusion on apostrophe character check.Sushobhan
KeymasterAs of WooCommerce 3.5x the placeholder image can now be set at: WooCommerce > Settings > Products
So you don’t need to use any code snippet for this.Sushobhan
KeymasterPlease 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)
Let me know.
Sushobhan
KeymasterCheckout the process here – https://www.imageupload.net/image/VvYHa
Thanks
Sushobhan
KeymasterHello,
You can use the following filter to do that-
apply_filters( 'wcfm_default_placeholder_image', $WCFM->plugin_url . 'includes/libs/upload/images/Placeholder.png' );Thanks
January 14, 2020 at 3:38 pm in reply to: Can the Shipping title displayed in the cart be changed? #102017Sushobhan
KeymasterPlease add this code to your site –
add_filter('woocommerce_shipping_package_name', function( $package_name, $vendor_id, $package) { global $WCFM, $WCFMmp; if( $vendor_id ) { $Store_name = $WCFM->wcfm_vendor_support->wcfm_get_vendor_store_name_by_vendor( $vendor_id ); $package_name = $Store_name . ' ' . __('Shipping', 'wc-multivendor-marketplace' ); } return $package_name; }, 100, 3 );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
January 14, 2020 at 3:16 pm in reply to: Change message that is displayed to vendor when signing up for FREE membership #102004Sushobhan
KeymasterWell, you may translate this into your language very easily using Loco Translate – https://wordpress.org/plugins/loco-translate/
(How to use Loco translate – https://www.youtube.com/watch?v=ZUPhsoUm-QE)Sushobhan
KeymasterWCFM Ultimate add those product-types support to the frontend manager (frontend dashboard). But to get those product-types you first need to install the required plugin. For example for bookable product you will require WooCommerce Bookings.
You can check the list of all supported plugin from here https://wclovers.com/wcfm-compatible-plugins/Sushobhan
KeymasterThere isn’t a ready made setting for that. But you can add a check on JavaScript side on price field focusout event. Refer to the sample code –
$( '#regular_price' ).focusout( function () { if ( $( this ).val() < 6 ) { // alert('Please set price greater than 6'); $( this ).val(6); $(this).focus(); } } );You need to add this code to a JS file. Alternatively you can use a plugin like https://wordpress.org/plugins/custom-css-js/
Sushobhan
KeymasterIf you want to disable Tiny MCE editor completely in WCFM dashboard you can use the following snippet –
function disable_tiny_mce_editor($allow) { return ''; } add_filter('wcfm_is_allow_rich_editor', 'disable_tiny_mce_editor', 501);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/
By the way, what do you mean by “Take note for admin side*”? Does it mean, you want to only disable Tiny mce editor for vendors? If that is the case please use the following snippet.
function disable_tiny_mce_editor_for_vendors($allow) { if( wcfm_is_vendor() ) return ''; return $allow; } add_filter('wcfm_is_allow_rich_editor', 'disable_tiny_mce_editor_for_vendors', 501);January 14, 2020 at 12:38 pm in reply to: SHOW THE CREATE DATE AND YEAR OF THE VENDOR IN VENDOR PROFILE PAGE #101991Sushobhan
KeymasterIn that case, please contact us here for the purpose – https://wclovers.com/woocommerce-multivendor-customization/
Sushobhan
KeymasterHello,
As I suggest you earlier, you can use Loco translate plugin for this purpose. (How to use Loco translate – https://www.youtube.com/watch?v=ZUPhsoUm-QE)
It’s the easiest way to achieve what you want. Search for string “There are no enquiries yet.”, (enquiries not inquiries). Refer to the image https://ibb.co/xYZHS5J
ThanksJanuary 9, 2020 at 12:56 pm in reply to: SHOW THE CREATE DATE AND YEAR OF THE VENDOR IN VENDOR PROFILE PAGE #101455Sushobhan
KeymasterYes, you can. But you have to custom code it. As starting point, refer to ‘wp_ajax_wcfmmp_stores_list_search’ ajax action.
January 8, 2020 at 3:59 pm in reply to: SHOW THE CREATE DATE AND YEAR OF THE VENDOR IN VENDOR PROFILE PAGE #101354Sushobhan
KeymasterHi,
Sorry for the delayed response. You can get the custom field values using the following shortcode snippet –function vendor_registration_fields_shortcode( $attr ) { global $post; if ( empty( $attr['field'] ) ) return; $field_name = sanitize_title( $attr['field'] ); $store_id = ''; if ( isset( $attr['id'] ) && ! empty( $attr['id'] ) ) { $store_id = absint( $attr['id'] ); } if ( wcfm_is_store_page() ) { $wcfm_store_url = get_option( 'wcfm_store_url', 'store' ); $store_name = apply_filters( 'wcfmmp_store_query_var', get_query_var( $wcfm_store_url ) ); $store_id = 0; if ( ! empty( $store_name ) ) { $store_user = get_user_by( 'slug', $store_name ); $store_id = $store_user->ID; } } if ( is_product() ) { $store_id = $post->post_author; } if ( ! $store_id ) return; $custom_fields = get_user_meta( $store_id, 'wcfmvm_custom_infos', true ); if ( empty( $custom_fields[$field_name] ) ) return; return $custom_fields[$field_name]; } // register shortcode add_shortcode( 'vendor_registration_fields', 'vendor_registration_fields_shortcode' );You can use this shortcode like this-
[vendor_registration_fields id='{vendor id/ store id}’ field=’label name of the field’]Sushobhan
KeymasterUse following snippet-
global $WCFM; remove_action( 'end_wcfm_products_manage', array( $WCFM->wcfm_wcbooking, 'wcb_wcfm_products_manage_form_load_views' ), 20 );Sushobhan
KeymasterHi
Please maintain a single thread for a particular query. As we are already communicating via https://wclovers.com/forums/topic/vendor-register-form-billing-company/, I’m closing this thread.
Thanks for understanding!Sushobhan
KeymasterYes, you are right, there is no place to insert user defined field meta in the registration form fields. But, that’s why I told you to use the ‘wcfm_vendor_manage_profile_update’ action hook.
This action is triggered when a vendor registration form is submitted. You can use that action to save the field value as ‘billing_company’ meta using $_POST variable.
Thanks
Sushobhan
KeymasterThank you. Happy Holidays to you too!
Sushobhan
KeymasterHi,
Syncing inventory and product description is possible but when you try to syncing orders it will likely mess up all the reports.
To achieving inventory and product syncing you can use WCFM rest api (https://wordpress.org/plugins/wcfm-marketplace-rest-api/) along with WooCommerce API and custom code it.Sushobhan
KeymasterHi,
Can you please share a temporary access details so that we can further debug this. Also, don’t forget to mark the post as private.
ThanksSushobhan
KeymasterHi,
You can use the following snippet for this –function remove_bank_fields( $bank_fields ) { unset( $bank_fields['iban'] ); unset( $bank_fields['swift'] ); unset( $bank_fields['ifsc'] ); return $bank_fields; } add_filter( 'wcfm_marketplace_settings_fields_billing_bank', 'remove_bank_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/ - AuthorPosts