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 - 51 through 75 (of 1,174 total)
  • Author
    Posts
  • in reply to: WCFM frontend manager plugin edit #139127

    Great!

    Can we do so that “buy” and “sell” choice make required
    >>Modify the HTML –

    <p>What do you want to do?</p>
    	  <input type="radio" id="buy" name="buysell" value="buy" <?php echo ($buysell_val == "buy") ? 'checked="checked"' : ''; ?> data-required="1" data-required_message="What do you want to do: This field is required.">
    	  <label for="buy">Buy</label>
    	  <input type="radio" id="sell" name="buysell" value="sell" <?php echo ($buysell_val == "sell") ? 'checked="checked"' : ''; ?> >
    	  <label for="sell">Sell</label><br>

    Display in product list –

    add_filter( 'wcfm_products_additonal_data_hidden', '__return_false' );
    add_filter('wcfm_products_additonal_data',function($product_data,$product_id){	
    	$product_data = get_post_meta($product_id,'_product_buysell',true);
    	return $product_data;
    },10,2);
    add_filter('wcfm_products_additional_info_column_label',function($lbl){
    	return 'What do you want to do';
    },10);

    Thanks.

    in reply to: Dismiss the Add to My Store button #139114

    Hello,

    We have checked your site as a vendor, and we can add Multiple gallery images (PFA)

    Please for different use create a different thread or post the issue in a related topic.

    Thanks.

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

    Add the css –

    .wcfm-dashboard-page table#wcfm-bookings th:nth-child(6), table#wcfm-bookings tbody tr td:nth-child(6) {
        display: none;
    }

    Thanks.

    in reply to: List of all vendor with info in functions file #139109

    Hi,

    Okay! understand.
    This is not possible using code snippet.
    It requires some custom development, and this will be a paid one.

    We can guide you, but it will need PHP knowledge for implementation.
    Please check these file class-wcfmmp-shortcode.php(function name : wcfmmp_stores_shortcode) and “store-lists” folder files(under views) , here you can see how we have created this “[wcfm_stores]” shortcode, and follow the code to create your custom shortcode.

    Thank You

    in reply to: Add Email to Admin and Vendor Dashboard columns #138918

    Hello,

    It’s not possible add another column here with code snippet.
    You can also display “phone number” in this column(previously added column).

    Thanks!

    in reply to: WCFM frontend manager plugin edit #138915

    Hello,

    add_action('begin_wcfm_products_manage_form',function(){
    	global $wp, $WCFM;
    	$buysell_val = '';
    	$product_id = 0;
    	
    	if( isset( $wp->query_vars['wcfm-products-manage'] ) && !empty( $wp->query_vars['wcfm-products-manage'] ) ) {
    		
    		$product = wc_get_product( $wp->query_vars['wcfm-products-manage'] );
    		
    		if( !is_a( $product, 'WC_Product' ) ) {
    			wcfm_restriction_message_show( "Invalid Product" );
    			return;
    		}		
    		
    		// Fetching Product Data
    		if($product && !empty($product)) {
    			$product_id = $wp->query_vars['wcfm-products-manage'];
    			$buysell_val = get_post_meta($product_id,'_product_buysell',true);
    		}
    	}
    	 ?>
    	 <p>What do you want to do?</p>
    	  <input type="radio" id="buy" name="buysell" value="buy" <?php echo ($buysell_val == "buy") ? 'checked="checked"' : ''; ?>>
    	  <label for="buy">Buy</label>
    	  <input type="radio" id="sell" name="buysell" value="sell" <?php echo ($buysell_val == "sell") ? 'checked="checked"' : ''; ?>>
    	  <label for="sell">Sell</label><br>
     <?php		
     			
    });
    
    add_action( 'after_wcfm_products_manage_meta_save', 'fn_custom_product_data_save',10,2 );
    function fn_custom_product_data_save($new_product_id, $wcfm_products_manage_form_data) {
    	global $wpdb;
    	//print_r($wcfm_products_manage_form_data);die;
    
    	if(isset($wcfm_products_manage_form_data['buysell'])) {
    		update_post_meta($new_product_id,'_product_buysell',$wcfm_products_manage_form_data['buysell']);
    	}
    	
    }

    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/
    Thanks.

    in reply to: Registration on WCFM not working – #138908

    Hello

    I don’t understand, I haven’t changed anything
    >>Again we checked your site, and we can see you have created too many “My account” page, then assign the wrong page in WooCoomerce “Account” page settings.
    We have selected the correct “Account” page in WooCoomerce setting and now login is working correctly.

    Please be advised it’s very difficult for us to debug your site every day if you applied wrong settings every day.
    Hope you understand.

    Thanks.

    in reply to: pending vendors #138907

    Hi,

    In this popup https://wclovers.com/wp-content/uploads/2020/06/vendorapplication.png , you can check the information, before Approve.
    The vendor will not be approved before clicking the “Update” button.

    Thanks.

    in reply to: Vendor store page tabs-Need Code adjustment #138902

    Hello,

    Add the condition –

    
    if($wcfmvm_registration_custom_field_key == 'approvals') {}

    Thanks.

    Hello,

    This is Timestamp.
    print echo date("Y-m-d",1593475200);

    Thanks.

    in reply to: List of all vendor with info in functions file #138886

    Hello,

    The shortcode which you have written is not correct. May we know the purpose why you want to create another shortcode to display store lists, we have already “[wcfm_stores]” this shortcode which will display all store lists.

    Thanks.

    in reply to: Vendor store page tabs-Need Code adjustment #138861
    This reply has been marked as private.
    in reply to: Request Custom Tabs Manager in Vendor Store Page ? #138860

    Hello,

    To display the value you have to print/echo the variable.
    Try this –

    global $WCFM, $WCFMmp, $wpdb;
    	$vendor_id = $store_user->get_id();	
    	$wcfmmp_addition_info_fields = wcfm_get_option( 'wcfmvm_registration_custom_fields', array() );
    	if( empty( $wcfmmp_addition_info_fields ) ) return;
    	
    	$has_addition_field = false;
    	if( !empty( $wcfmmp_addition_info_fields ) ) {
    		foreach( $wcfmmp_addition_info_fields as $wcfmvm_registration_custom_field ) {
    			if( !isset( $wcfmvm_registration_custom_field['enable'] ) ) continue;
    			if( !$wcfmvm_registration_custom_field['label'] ) continue;
    			$has_addition_field = true;
    			break;
    		}
    	}
    	if( !$has_addition_field ) return;
    	$wcfmvm_custom_infos = (array) get_user_meta( $vendor_id, 'wcfmvm_custom_infos', true );
    	if( !empty( $wcfmmp_addition_info_fields ) ) {
    		foreach( $wcfmmp_addition_info_fields as $wcfmvm_registration_custom_field ) {
    			if( !isset( $wcfmvm_registration_custom_field['enable'] ) ) continue;
    			if( !$wcfmvm_registration_custom_field['label'] ) continue;
    			
    			$field_class = '';
    			$field_value = '';
    			
    			$wcfmvm_registration_custom_field['name'] = sanitize_title( $wcfmvm_registration_custom_field['label'] );
    			$field_name = 'wcfmmp_additional_infos[' . $wcfmvm_registration_custom_field['name'] . ']';
    			$field_id   = md5( $field_name );
    			$ufield_id  = '';
    		
    			if( !empty( $wcfmvm_custom_infos ) ) {
    				if( $wcfmvm_registration_custom_field['type'] == 'upload' ) {
    					$ufield_id = md5( 'wcfmvm_custom_infos[' . sanitize_title( $wcfmvm_registration_custom_field['label'] ) . ']' );
    					$field_value = isset( $wcfmvm_custom_infos[$ufield_id] ) ? $wcfmvm_custom_infos[$ufield_id] : '';
    					$field_value = wcfm_get_attachment_url($field_value);
    					echo $field_value;
    				} 
    			}
    			
    		}
    	}					

    `

    Thanks.

    Hello,

    Please use “Loco translate” plugin for this.
    Wordpress dashboard -> Loco translate -> plugins -> select plugin WCFM – WooCommerce Frontend Manager -> select site language -> search string “inquiry” -> change and save.
    Ref : https://docs.wclovers.com/category/loco-translate/

    Thanks.

    in reply to: Dismiss the Add to My Store button #138829

    Hello @cartindia-in

    Please for different use create a different thread or post the issue in related topic.
    You have provided only login credentials without site URL. Please check “Gallery limit” capability.

    Thanks.

    in reply to: WCFM frontend manager plugin edit #138739

    Hello,

    You have mentioned you have write the shortcode.
    To add a product custom field, our WCFM plugin has this feature in product tabs.
    Admin WCFM dashboard -> Settings -> Product custom fields

    Thanks.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Request Custom Tabs Manager in Vendor Store Page ? #138733

    Hello,

    Add “Custom field” in vendor’s registration, from WCFM dashboard -> settings -> vendor registration (https://wclovers.com/knowledgebase/wcfm-marketplace-vendor-registration/)

    Then fetch the custom field value in wcfmmp-view-store-art-works.php template.
    $wcfmvm_custom_infos = (array) get_user_meta( $vendor_id, 'wcfmvm_custom_infos', true );

    Thanks.

    in reply to: Store Articles tab not showing on Store page #138732
    This reply has been marked as private.
    in reply to: Request Custom Tabs Manager in Vendor Store Page ? #138718

    Hello,

    Please check here – https://wordpress.org/support/topic/custom-tab-in-vendor-store-page/ , you find how to add a custom tab in the vendor’s store page.

    Thanks.

    in reply to: WCFM frontend manager plugin edit #138717

    Hello,

    You do not need to edit the core plugin. In our plugin have many hooks/filter.

    Add this code to your child theme’s functions.php, to add your custom data –

    add_action('begin_wcfm_products_manage_form',function(){
     echo 'add your custom text';
    });

    Thanks.

    in reply to: Vendor as customer #138712

    Hello,

    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/

    add_filter('wcfm_customer_user_role',function($role_arr){
    	$role_arr[] = 'wcfm_vendor';
    	return $role_arr;
    },15);

    Thanks.

    in reply to: Page not found in browser tab #138705

    Hello,

    Sorry, but we didn’t found the “Page not found” in https://shop.heavymag.com.au/store/a-night-in-texas/ this page.
    Please clear your site/browser cache and check.

    Thanks.

    in reply to: WCFM & MyListing Questions #138704

    Hello,

    Regarding point 1.
    WCFM control login redirect for vendor users.

    But if you don’t want that then just disable by adding this line of code –
    add_filter( 'wcfm_is_allow_login_redirect', '__return_false' );

    Regarding point 2.
    WCFM dashboard page is a different template, it is not possible to open under My-Listing menu.

    Thanks.

    in reply to: Dismiss the Add to My Store button #138700

    Hello,

    Do you turn-off the “Single product multi-vendor” module option from WCFM dashboard -> settings -> Modules ?

    Thanks.

    in reply to: Menu Links Working Oddly #138689

    Hello,

    Your issue not so clear to us, but it seems like this is a cache issue. Please clear your site cache then check.

    Thanks.

Viewing 25 posts - 51 through 75 (of 1,174 total)