WC Lovers

WooCommerce Frontend Manager - Multivendor marketplace vendor dashboard

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Forum Replies Created

Viewing 25 posts - 1,001 through 1,025 (of 1,174 total)
  • Author
    Posts
  • But does that function also turn off the “progress bar” in the vendors dashboard?
    >>No. This settings option does not effect “progress bar” in the vendors dashboard

    Thanks.

    in reply to: How vendor can cancel an order ? #107153

    Hi,

    If you set “order sync” OFF(WCFM Admin Setting -> Marketplace Setting – Set “order sync” OFF – https://ibb.co/RY7qmYn) then if all vendors(in same order) make it Completed, then the main order status will be change to Completed.

    Thanks.

    in reply to: Delete Product #107133

    Hello,

    Yes, “Bulk edit” and “Bulk delete” both option are depends on “Bulk Edit” capability.
    If you want to only “Bulk delete” option( hide “Bulk edit” option), then turn on the “Bulk Edit” capability and add the below style to your child theme’s style.css

    input[type=submit]#wcfm_bulk_edit {
        display: none;
    }

    Thanks.

    in reply to: Vendors Store #107127

    Hi,

    Remove the style,

    #wcfmmp-store div.store_info_parallal:first-of-type {
        display: block;
    }

    Thanks.

    in reply to: Product attributes #106937

    Hello,

    Please check this code snippet – https://docs.wclovers.com/tweaks/#set-attributes-required

    Using this we have set Attributes as required field for product.

    Thanks.

    in reply to: Loco Translate Not Working? #106930

    Hello,

    Can you change any other string using “Loco Translator” ?

    To change “article” string follow below steps,
    1. Loco Translate -> Plugins -> WCFM – WooCommerce Frontend Manager -> select string and translate (PFA)
    2. Change site language (PFA)

    Thanks.

    Attachments:
    You must be logged in to view attached files.

    Hello,

    Turn on the “Disable Store Setup Widget” (WCFM dashboard->settings->Marketplace Settings->Disable Store Setup Widget), then after registration vendor will redirect to “Thank you” page not “store set-up widget”. (PFA)

    Thanks.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Vendors Store #106923

    Hi,

    Modify this script with(change the action “wcfmmp_store_after_email”),

    add_action( 'wcfmmp_store_after_email', function( $store_id ) {
    	$site_url = get_user_meta( $store_id, 'url-de-tienda-online', true );
    		if (strpos( $site_url, 'http') === false) {
    			$site_url = "http://" . $site_url;
    		}
    	?>
    	<div class="store_info_parallal" style="display:block;"><i class="wcfmfa fa-globe" aria-hidden="true"></i><span><a target="_blank" href="<?php echo $site_url; ?>"><?php echo $site_url; ?></a></span></div>
    	<?php
    });

    In this case you don’t need to add previously mentioned style.

    Thanks.

    in reply to: Custom Settings Fields #106837

    Hello,

    add_filter('wcfm_marketplace_settings_fields_general','wcfm_marketplace_add_custom_field_settings_fields_general',10,2);
    function wcfm_marketplace_add_custom_field_settings_fields_general($fields, $user_id) {
    	$vendor_data = get_user_meta( $user_id, 'wcfmmp_profile_settings', true );
    	$store_type          = isset( $vendor_data['v_store_type'] ) ? esc_attr( $vendor_data['v_store_type'] ) : '';
    	if(isset($fields['store_name'])) {
    	$fields = array_slice($fields, 0, 3, true) +
    	array("v_store_type" => array('label' => __('Store Type', 'wc-frontend-manager') , 'type' => 'text', 'class' => 'wcfm-text wcfm_ele wcfm_name_input', 'label_class' => 'wcfm_title wcfm_ele', 'value' => $store_type )) +
    																	array_slice($fields, 3, count($fields) - 3, true) ;
    	}
    	return $fields;
    }
    add_action( 'wcfm_wcfmmp_settings_update','fn_wcfm_vendor_settings_storetype_update', 30, 2);
    add_action( 'wcfm_vendor_settings_update','fn_wcfm_vendor_settings_storetype_update', 30, 2);
    function fn_wcfm_vendor_settings_storetype_update($user_id, $wcfm_settings_form ){	
    	$wcfm_settings_form_data_new = array();
    	parse_str($_POST['wcfm_settings_form'], $wcfm_settings_form_data_new);	
    	$wcfm_settings_form_data_storetype = array();
    	if(isset($wcfm_settings_form_data_new['v_store_type']) && !empty($wcfm_settings_form_data_new['v_store_type'])) {
    		$wcfm_settings_form_data_storetype['v_store_type'] = $wcfm_settings_form_data_new['v_store_type'];
    	}
    	$wcfm_settings_form = array_merge( $wcfm_settings_form, $wcfm_settings_form_data_storetype );
    	update_user_meta( $user_id, 'wcfmmp_profile_settings', $wcfm_settings_form );
    }
    
    add_filter('wcfmmp_additional_store_info','vendor_store_type_wcfmmp_additional_store_info',10,3);
    function vendor_store_type_wcfmmp_additional_store_info($data_value, $data_info, $store_id) {
    	$vendor_data = get_user_meta( $store_id, 'wcfmmp_profile_settings', true );
    	$store_type          = isset( $vendor_data['v_store_type'] ) ? esc_attr( $vendor_data['v_store_type'] ) : '';
    	if($data_info == 'store_type') {
    		$data_value = '<p>'.$store_type.'</p>';
    	}	
    	return $data_value;
    }

    Thanks.

    in reply to: Store register form #106819

    Hello,

    jQuery(document).ready(function ($) {
    	$("input[name='wcfmvm_custom_infos[test-custom]']").hide(); 
    	$("input[name='wcfmvm_custom_infos[test-custom]']").prev().prev().hide();
    	$("select[name='wcfmvm_custom_infos[test-custom-select]']").change(function(){
    		if($(this).val() == 'A') {
                $("input[name='wcfmvm_custom_infos[test-custom]']").show(); 
                $("input[name='wcfmvm_custom_infos[test-custom]']").prev().prev().show();
            } else {
                $("input[name='wcfmvm_custom_infos[test-custom]']").hide(); 
                $("input[name='wcfmvm_custom_infos[test-custom]']").prev().prev().hide();
            } 
    	});
    });

    Add this code to your child theme’s js file
    In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/ (https://wordpress.org/support/topic/call-code-snippet-from-javascript/)
    Modify the “input[name=’wcfmvm_custom_infos[test-custom]’]” with your input text-field name attribute, and modify the “select[name=’wcfmvm_custom_infos[test-custom-select]’]” with your drop-down field name attribute. (PFA)

    Thanks.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Display vendors products #106812

    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.

    in reply to: Followers #106811

    Hii,

    If an user follow a vendor then whenever a new product will publish to that vendor’s store followers will be notified.

    Thanks.

    in reply to: Vendors Store #106808

    Hi,

    For “phone number and the email address used to be under the website url”, add this style to your child theme’s style.css

    #wcfmmp-store div.store_info_parallal:first-of-type {
        display: block;
    }

    Regarding Add “website url” below the “phone number and the email address”, you have to display “website url” in this action – “wcfmmp_store_after_email” .
    do_action( 'wcfmmp_store_after_email', $store_user->get_id() );
    Can you share us the script how you display the “website url” in your vendor store page? Then we can send you the script accordingly.

    Thanks.

    in reply to: Pre-define the product tag according to the user nickname #106794

    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.

    in reply to: Display vendors products #106707

    Hi,

    how do you display that dynamically?
    >>Unfortunately by default we don’t have any shortcode like this.

    add_shortcode('wcfm_store_related_products','fn_wcfm_store_related_products');
    function fn_wcfm_store_related_products($attr) {
    	global $WCFM, $WCFMmp, $wp, $WCFM_Query, $post;		
    	$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 && is_single() && $post && is_object( $post ) && wcfm_is_vendor( $post->post_author ) ) {
    		$store_id = $post->post_author;
    	}
    	echo do_shortcode('[products store="'.$store_id.'"]');
    }

    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/

    And use this short code – [wcfm_store_related_products id=””]
    (id = ”VENDOR ID”)

    Thanks.

    in reply to: Pre-define the product tag according to the user nickname #106684

    Hello,

    What we understand that “vendor-nickname” tag only hide for vendor not for admin and hide “tag” field for vendor. Then modify below script,

    add_filter('wcfm_pm_product_tags_after_save','fn_wcfm_pm_product_tags_after_save',10,2);
    function fn_wcfm_pm_product_tags_after_save($product_tag_list, $product_id) {
    	$product_tag_list = explode(",",$product_tag_list);	
    	$vendor_tags = get_option('vendor_tags');
    	$userid = get_current_user_id();	
    	if(wcfm_is_vendor($userid)) {	
    		if(!empty($vendor_tags)) {
    			foreach ($vendor_tags as $vendor_tag) {
    				$term = get_term( $vendor_tag, 'product_tag' );
    				$del_val = $term->slug;
    				if (($searchkey = array_search($del_val, $product_tag_list)) !== false) {
    				    unset($product_tag_list[$searchkey]);
    				}
    			}
    		}
    	}	
    	return implode(',', $product_tag_list);
    }
    add_filter('tag_cloud_sort','fn_wcfm_tag_cloud_filter',10,2);
    function fn_wcfm_tag_cloud_filter($tags, $args) {
    	$vendor_tags = get_option('vendor_tags');
    	$userid = get_current_user_id();	
    	if(wcfm_is_vendor($userid)) {	
    		if(!empty($vendor_tags)) {
    			foreach ($tags as $tag_key => $tag) {			
    				foreach ($vendor_tags as $vendor_tag) {				
    					if($tag->term_id == $vendor_tag) {					
    						unset($tags[$tag_key]);
    					}
    				}			
    			}
    		}	
    	}
    	return $tags;
    }
    add_action( 'after_wcfm_products_manage_meta_save', 'fn_custom_product_tag_save',10,2 );
    function fn_custom_product_tag_save($new_product_id, $wcfm_products_manage_form_data) {
    	$userid = get_current_user_id();
    	$vendor_tags = get_option('vendor_tags');
    	if(empty($vendor_tags)) {
    		$vendor_tags = array();
    	}
    	if(wcfm_is_vendor($userid)) {
    		$current_user = wp_get_current_user();
    		$tag_name =$current_user->data->user_nicename;
    		$term = term_exists( $tag_name, 'product_tag' );		
    		if ( $term == 0 && empty($term) ) {
    		    $term_obj = wp_insert_term(
    			    $tag_name,   // the term 
    			    'product_tag', // the taxonomy
    			    array(
    			        'slug'        => $tag_name
    			    )
    			);
    		    $vendor_tags[] = $term_obj['term_id'];
    		    update_option('vendor_tags', $vendor_tags);
    		  	wp_set_object_terms( $new_product_id, $tag_name, 'product_tag', true );
    		} else {
    				$term_id = $term['term_id'];
    				wp_set_object_terms( $new_product_id, $tag_name, 'product_tag', true );
    		}
    	}
    }
    add_filter('wcfm_is_allow_tags',function($bool){
    	$userid = get_current_user_id();	
    	if(wcfm_is_vendor($userid)) {	
    		return false;
    	}
    	return $bool;
    });

    Please correct me if I am wrong.

    Thanks.

    Hello,

    Ok we understand your query.
    Previously you were using “vendor registration” template(vendor registration page shortcode : [wcfm_vendor_registration]) for registration of vendors. Now you are using “vendor membership” template (vendor membership page template shortcode : [wcfm_vendor_membership] )for this. Both the “thankyou” pages are of different layouts.

    Thanks.

    in reply to: Vendors Store #106641

    Hello,

    Kindly share us a vendor store page url then we can check your vendor store page and send you the style accordingly.

    Thanks.

    in reply to: Display vendors products #106640

    Hi,

    Yeah sure, you may use this short code – [products store=""]

    Add vendor id at store=”VENDOR ID”

    Well, “products” is WC core short code, you may check details here – https://docs.woocommerce.com/document/woocommerce-shortcodes/

    Thanks.

    Hello,

    Recently we have updated our plugin to version 6.4.3 but no changes in style has been made in this update.

    Thanks.

    in reply to: Pre-define the product tag according to the user nickname #106477

    Hello,

    “I just noticed that I forgot to specify that this field should be hidden for vendors (because autofill) and only appear for the admin (manual entry)”
    >>Can you please give me some clarification on this-
    1. Where do you need the Tag field (Admin user) in the “Add Product” page or in Vendor Profile page(Admin dashboard >> Store Vendors >> [[Selected Vendor]])?
    2. Can a vendor be associated with more than one tag? One automated (the code we shared), and one custom value set by the Admin. Or will it be a single value? i.e. when Admin sets a tag value for the vendor, it will override the automatic tag assignment (and delete the previously existing tag).

    Thanks.

    in reply to: How to bulk delete products? #106409
    in reply to: How to bulk delete products? #106403

    Hello,

    You have to select the products and click on “Delete” icon. (PFA)

    Thanks.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Pre-define the product tag according to the user nickname #106112

    Hello,

    add_filter('wcfm_pm_product_tags_after_save','fn_wcfm_pm_product_tags_after_save',10,2);
    function fn_wcfm_pm_product_tags_after_save($product_tag_list, $product_id) {
    	$product_tag_list = explode(",",$product_tag_list);	
    	$vendor_tags = get_option('vendor_tags');
    	if(!empty($vendor_tags)) {
    		foreach ($vendor_tags as $vendor_tag) {
    			$term = get_term( $vendor_tag, 'product_tag' );
    			$del_val = $term->slug;
    			if (($searchkey = array_search($del_val, $product_tag_list)) !== false) {
    			    unset($product_tag_list[$searchkey]);
    			}
    		}
    	}	
    	return implode(',', $product_tag_list);
    }
    add_filter('tag_cloud_sort','fn_wcfm_tag_cloud_filter',10,2);
    function fn_wcfm_tag_cloud_filter($tags, $args) {
    	$vendor_tags = get_option('vendor_tags');	
    	if(!empty($vendor_tags)) {
    		foreach ($tags as $tag_key => $tag) {			
    			foreach ($vendor_tags as $vendor_tag) {				
    				if($tag->term_id == $vendor_tag) {					
    					unset($tags[$tag_key]);
    				}
    			}			
    		}
    	}	
    	return $tags;
    }
    add_action( 'after_wcfm_products_manage_meta_save', 'fn_custom_product_tag_save',10,2 );
    function fn_custom_product_tag_save($new_product_id, $wcfm_products_manage_form_data) {
    	$userid = get_current_user_id();
    	$vendor_tags = get_option('vendor_tags');
    	if(empty($vendor_tags)) {
    		$vendor_tags = array();
    	}
    	
    	if(wcfm_is_vendor($userid)) {
    		$current_user = wp_get_current_user();
    		$tag_name =$current_user->data->user_nicename;
    		$term = term_exists( $tag_name, 'product_tag' );		
    		if ( $term == 0 && empty($term) ) {
    		    $term_obj = wp_insert_term(
    			    $tag_name,   // the term 
    			    'product_tag', // the taxonomy
    			    array(
    			        'slug'        => $tag_name
    			    )
    			);
    		    $vendor_tags[] = $term_obj['term_id'];
    		    update_option('vendor_tags', $vendor_tags);
    		  	wp_set_object_terms( $new_product_id, $tag_name, 'product_tag', true );
    		} else {
    				$term_id = $term['term_id'];
    				wp_set_object_terms( $new_product_id, $tag_name, 'product_tag', true );
    		}
    	}
    }

    Try 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/

    Thanks.

    in reply to: Change HEADER text of the membership welcome email? #106064

    Hello,

    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 Multivendor Membership” for changing those heading “Welcome to the store!”.

    Thanks.

Viewing 25 posts - 1,001 through 1,025 (of 1,174 total)