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 - 276 through 300 (of 1,174 total)
  • Author
    Posts
  • in reply to: Store Display Page – Using Full Width #132482

    Hello,

    add_filter('wcfm_store_wrapper_class',function($custom_cls){
    	$custom_cls = 'row row-main';
    	return $custom_cls;
    });
    

    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.

    Hello,

    Yes, “woocommerce dynamic pricing” plugin and “WooCommerce Wholesale Prices” plugin support for vendor, it will require our WCFM – ULTIMATE plugin.(https://wclovers.com/product/woocommerce-frontend-manager-ultimate/)

    Thanks.

    in reply to: Stores per row on mobile #132456

    Hello,

    Sorry, unfortunately, we don’t have this feature.

    Thanks.

    Hello,

    Thanks for getting in touch with us!
    What you have set “Order Sync” setting at WCFM Admin Setting -> Marketplace Setting ? https://ibb.co/t8h94vZ
    Is only “Pending” order-status will not reflected in main main order?
    Please check once only activate WooCommerce and Our WCFM plugins(all updated). And remove(keep backup) custom code if you have added.
    Let me know how it goes.

    Thanks!

    Sorry, we did not get you. What is not working?

    🙂 when we are reply to your post, we want you can see that post. It’s happened accidentally.

    Hello,

    By-default Our plugin does not have any filter/hook to customize this feature.
    You can achieve this using some js code, and with the help of inspecting HTML elements (https://www.geeksforgeeks.org/chrome-inspect-element-tool-shortcut/
    ) PFA
    Replace input[name=”wcfmvm_custom_infos[contact-information-incl-pickup-from-store] with your field attribute name (as per screenshot)-

    add_action('wp_footer',function(){
    	?>
    	<script type="text/javascript">		
    		jQuery('.hide_vendor_custom_regfield input[name="wcfmvm_custom_infos[contact-information-incl-pickup-from-store]"]').prevAll().eq(1).css({"display": "none"});
    	</script>
    	<?php
    });

    Add the above code in your functions.php

    And modify the css which we have provide you earlier –

    .hide_vendor_custom_regfield input[name="wcfmvm_custom_infos[contact-information-incl-pickup-from-store]"]{
      display: none !important;
    }

    Thanks.

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

    Hello @jorsenmejia,

    Regarding this – how can I add custom fields in-store information?

    add_action('wcfmmp_store_after_sidebar_info','fn_wcfmmp_store_after_sidebar_info_1505');
    function fn_wcfmmp_store_after_sidebar_info_1505($store_id) {
    	$custom_fields = get_user_meta( $store_id, 'website',true); //replace "website" with your label field value (all in small letters)
    	$field_name = 'Website'; //replace "website" with your label field value
    	echo $field_name.': '.$custom_fields;
    }

    Or
    check here – https://wclovers.com/forums/topic/store-display-custom-fields/

    How can I combine the store and profile page?
    I want to use the image on the registration page (Personal/Profile) for gravatar to show on a single product
    when I try to become a vendor I want all fields that I fill up goes to store profile

    >>Your requirement needs too many customizations, This is not possible using code snippet.
    It requires serious custom development, and this will be a paid one.
    Due to COVID-19 we are getting 400-500 more support tickets each day. So we aren’t taking any customizations at this moment. It will be better to find someone who is accustom with WP development. Any problem if you face any difficulty at the time of development we will guide you accordingly.

    Thanks.

    in reply to: Hide Sold by: #131809

    To remove sold by –

    add_action('init',function(){
    	global $WCFM, $WCFMmp;
    
    	remove_action('woocommerce_after_shop_loop_item_title', array( $WCFMmp->frontend, 'wcfmmp_sold_by_product' ), 9 );
    	remove_action('woocommerce_after_shop_loop_item_title', array( $WCFMmp->frontend, 'wcfmmp_sold_by_product' ), 50 );
            remove_action('woocommerce_after_shop_loop_item', array( $WCFMmp->frontend, 'wcfmmp_sold_by_product' ), 50 );
    });

    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.

    Hello,

    Are you using our WCFM free version plugin?
    “Bookable” product support it will require our WCFM-Ultimate plugin(https://wclovers.com/product/woocommerce-frontend-manager-ultimate/)

    Thanks.

    in reply to: About Store Vendor list page custom #131793
    in reply to: Continue Shopping to go to the vendor store #131791

    Hello,

    I can put the button but i don’t know how to redirect to the vendor store.
    >> You can link to vendor’ store page using –

    <a href="<?php echo wcfmmp_get_store_url( $vendor_id );?>">Continue Shopping</a>

    But when in one cart multiple vendor’s products are added, then “Continue Shopping” will redirect which store url ?

    Thanks.

    in reply to: Stores list map cannot be hidden in shortcode #131790

    Hello,

    It seems like you didnt paste the shortcodecode properly,

    you may hide those stores from store list which not yet have any products, using
    [wcfm_stores has_product="yes"]

    Store per row 5, using –
    [wcfm_stores per_row=5]

    Hide map,country, state add below code in your theme’s functions.php –

    add_filter('wcfmmp_is_allow_store_list_country_filter', '__return_false');
    add_filter('wcfmmp_is_allow_store_list_state_filter', '__return_false');
    add_filter('wcfmmp_is_allow_store_list_map', '__return_false');

    Thanks.

    Please check this thread – https://wclovers.com/forums/topic/custom-vendor-field/
    Here is explained how to display custom field value.

    Thanks.

    Hello,

    Add this code in your functions.php , replace membership id(80) with your membership id for registration custom field will display –

    add_action('wcfm_membership_registration_form_before_dynamic_custom_fields',function(){
    	if(WC()->session->get('wcfm_membership') != 80)  {
    		echo '<div class="hide_vendor_custom_regfield">';
    	}
    });
    add_action('wcfm_membership_registration_form_after_dynamic_custom_fields',function(){
    	if(WC()->session->get('wcfm_membership') != 80)  {
    		echo '</div>';
    	}
    });
    
    add_filter('wcfmmp_is_allow_manage_registration_additional_infos', function($bool){
    	$current_plan = wcfm_get_membership();
        if(isset($current_plan)) {
        	$bool = ($current_plan!=80) ? false : true;
        }
    	return $bool;
    });

    And add this css in theme’s style.css –

    .hide_vendor_custom_regfield {
      display: none !important;
    }

    Make sure your custom field is not required field, then it will not feasible.

    Thanks.

    Hello,

    As we mentioned previously, it will required custom development. We will provide you code for one post type(WCFM_CPT_1),

    Add the below code in your functions.php –

    add_action( 'wcfm_capability_manager_left_panel', 'wcfm_cpt1_capability_settings_for_group', 50 );
    function wcfm_cpt1_capability_settings_for_group($wcfm_capability_options){
    	global $WCFM, $WCFMgum,$wcfm_screen_type;
      	//print_r($wcfm_screen_type);die;
      	// CPT1 Capabilities
    		$submit_cpt1 = ( isset( $wcfm_capability_options['submit_cpt1'] ) ) ? $wcfm_capability_options['submit_cpt1'] : 'no';
    		$add_cpt1 = ( isset( $wcfm_capability_options['add_cpt1'] ) ) ? $wcfm_capability_options['add_cpt1'] : 'no';
    		$publish_cpt1 = ( isset( $wcfm_capability_options['publish_cpt1'] ) ) ? $wcfm_capability_options['publish_cpt1'] : 'no';
    		$edit_live_cpt1 = ( isset( $wcfm_capability_options['edit_live_cpt1'] ) ) ? $wcfm_capability_options['edit_live_cpt1'] : 'no';
    		$publish_live_cpt1 = ( isset( $wcfm_capability_options['publish_live_cpt1'] ) ) ? $wcfm_capability_options['publish_live_cpt1'] : 'no';
    		$delete_cpt1 = ( isset( $wcfm_capability_options['delete_cpt1'] ) ) ? $wcfm_capability_options['delete_cpt1'] : 'no';
    	
      	?>
    	<div class="vendor_capability_sub_heading"><h3><?php _e( WCFM_CPT_1_LABEL, 'wc-frontend-manager' ); ?></h3></div>
    		<?php if( in_array( $wcfm_screen_type, array( 'group','staff' ) ) ) {  
    		
    		$WCFM->wcfm_fields->wcfm_generate_form_field( apply_filters( 'wcfm_capability_settings_fields_vendor_cpt1', array("submit_cpt1" => array('label' => __('Manage', 'wc-frontend-manager') , 'name' => 'wcfmgs_capability_manager_options[submit_cpt1]','type' => 'checkboxoffon', 'class' => 'wcfm-checkbox wcfm_ele', 'value' => 'yes', 'label_class' => 'wcfm_title checkbox_title', 'dfvalue' => $submit_cpt1),
    																																																							 "add_cpt1" => array('label' => __('Add', 'wc-frontend-manager') , 'name' => 'wcfmgs_capability_manager_options[add_cpt1]','type' => 'checkboxoffon', 'class' => 'wcfm-checkbox wcfm_ele', 'value' => 'yes', 'label_class' => 'wcfm_title checkbox_title', 'dfvalue' => $add_cpt1),
    																																																							 "publish_cpt1" => array('label' => __('Publish', 'wc-frontend-manager') , 'name' => 'wcfmgs_capability_manager_options[publish_cpt1]','type' => 'checkboxoffon', 'class' => 'wcfm-checkbox wcfm_ele', 'value' => 'yes', 'label_class' => 'wcfm_title checkbox_title', 'dfvalue' => $publish_cpt1),
    																																																							 "edit_live_cpt1" => array('label' => __('Edit Live', 'wc-frontend-manager') , 'name' => 'wcfmgs_capability_manager_options[edit_live_cpt1]','type' => 'checkboxoffon', 'class' => 'wcfm-checkbox wcfm_ele', 'value' => 'yes', 'label_class' => 'wcfm_title checkbox_title', 'dfvalue' => $edit_live_cpt1),
    																																																							 "publish_live_cpt1" => array('label' => __('Auto Publish Live', 'wc-frontend-manager') , 'name' => 'wcfmgs_capability_manager_options[publish_live_cpt1]','type' => 'checkboxoffon', 'class' => 'wcfm-checkbox wcfm_ele', 'value' => 'yes', 'label_class' => 'wcfm_title checkbox_title', 'dfvalue' => $publish_live_cpt1),
    																																																							 "delete_cpt1" => array('label' => __('Delete', 'wc-frontend-manager') , 'name' => 'wcfmgs_capability_manager_options[delete_cpt1]','type' => 'checkboxoffon', 'class' => 'wcfm-checkbox wcfm_ele', 'value' => 'yes', 'label_class' => 'wcfm_title checkbox_title', 'dfvalue' => $delete_cpt1)
    																							) ) );
    		}
    }

    Then modify the functions in class-wcfmcpt-capability.php from “\wp-content\plugins\wcfm-cpt\core” –

    function wcfmcap_is_allow_manage_cpt1( $allow ) {
      	global $WCFM, $WCFMu, $WCFMgs, $wcfmgs_capability_manager_options;
        $current_plan = wcfm_get_membership();
        if(isset($current_plan)) {
          $current_group = get_post_meta($current_plan,'associated_group',true);
          $group_capability_options = get_post_meta($current_group,'_group_capability_options',true);
        }
        //print_r($group_capability_options);die;
        if(isset($group_capability_options['submit_cpt1'])) {
          $submit_cpt1 = ( isset( $group_capability_options['submit_cpt1'] ) ) ? $group_capability_options['submit_cpt1'] : 'no';
          if( $submit_cpt1 == 'yes' )  return false;
        } else {
          $manage_cpt1 = ( isset( $this->wcfm_capability_options['submit_cpt1'] ) ) ? $this->wcfm_capability_options['submit_cpt1'] : 'no';
          if( $manage_cpt1 == 'yes' )  return false;
        }    
        return $allow;
      }
      // WCFM wcfmcap Add Cpt1
      function wcfmcap_is_allow_add_cpt1( $allow ) {
        $current_plan = wcfm_get_membership();
        if(isset($current_plan)) {
          $current_group = get_post_meta($current_plan,'associated_group',true);
          $group_capability_options = get_post_meta($current_group,'_group_capability_options',true);
        }
        if(isset($group_capability_options['add_cpt1'])) {
          $delete_cpt1 = ( isset( $group_capability_options['add_cpt1'] ) ) ? $group_capability_options['add_cpt1'] : 'no';
          if( $delete_cpt1 == 'yes' ) return false; 
        } else {
          $manage_cpt1 = ( isset( $this->wcfm_capability_options['submit_cpt1'] ) ) ? $this->wcfm_capability_options['submit_cpt1'] : 'no';
          if( $manage_cpt1 == 'yes' ) return false;
          $add_cpt1 = ( isset( $this->wcfm_capability_options['add_cpt1'] ) ) ? $this->wcfm_capability_options['add_cpt1'] : 'no';
          if( $add_cpt1 == 'yes' ) return false;      
        }
        return $allow;  	
      }  
      // WCFM wcfmcap Edit Cpt1
      function wcfmcap_is_allow_edit_cpt1( $allow ) {
        $current_plan = wcfm_get_membership();
        if(isset($current_plan)) {
          $current_group = get_post_meta($current_plan,'associated_group',true);
          $group_capability_options = get_post_meta($current_group,'_group_capability_options',true);
        }
        if(isset($group_capability_options['edit_live_cpt1'])) {
          $delete_cpt1 = ( isset( $group_capability_options['edit_live_cpt1'] ) ) ? $group_capability_options['edit_live_cpt1'] : 'no';
          if( $delete_cpt1 == 'yes' ) return false; 
        } else {
          $manage_cpt1 = ( isset( $this->wcfm_capability_options['submit_cpt1'] ) ) ? $this->wcfm_capability_options['submit_cpt1'] : 'no';
          if( $manage_cpt1 == 'yes' ) return false;
            $edit_cpt1 = ( isset( $this->wcfm_capability_options['edit_live_cpt1'] ) ) ? $this->wcfm_capability_options['edit_live_cpt1'] : 'no';
          if( $edit_cpt1 == 'yes' ) return false; 
        }  	
      	return $allow;
      }  
      // WCFM wcfmcap Publish Cpt1
      function wcfmcap_is_allow_publish_cpt1( $allow ) {
        $current_plan = wcfm_get_membership();
        if(isset($current_plan)) {
          $current_group = get_post_meta($current_plan,'associated_group',true);
          $group_capability_options = get_post_meta($current_group,'_group_capability_options',true);
        }
        if(isset($group_capability_options['publish_cpt1'])) {
          $delete_cpt1 = ( isset( $group_capability_options['publish_cpt1'] ) ) ? $group_capability_options['publish_cpt1'] : 'no';
          if( $delete_cpt1 == 'yes' ) return false; 
        } else {
          $manage_cpt1 = ( isset( $this->wcfm_capability_options['submit_cpt1'] ) ) ? $this->wcfm_capability_options['submit_cpt1'] : 'no';
          if( $manage_cpt1 == 'yes' ) return false;
          $publish_cpt1 = ( isset( $this->wcfm_capability_options['publish_cpt1'] ) ) ? $this->wcfm_capability_options['publish_cpt1'] : 'no';
          if( $publish_cpt1 == 'yes' ) return false;  
        }  	               
      	return $allow;
      }  
      // WCFM auto publish live cpt1
      function wcfmcap_is_allow_publish_live_cpt1( $allow ) {
        $current_plan = wcfm_get_membership();
        if(isset($current_plan)) {
          $current_group = get_post_meta($current_plan,'associated_group',true);
          $group_capability_options = get_post_meta($current_group,'_group_capability_options',true);
        }
        if(isset($group_capability_options['publish_live_cpt1'])) {
          $delete_cpt1 = ( isset( $group_capability_options['publish_live_cpt1'] ) ) ? $group_capability_options['publish_live_cpt1'] : 'no';
          if( $delete_cpt1 == 'yes' ) return false; 
        } else {
          $manage_cpt1 = ( isset( $this->wcfm_capability_options['submit_cpt1'] ) ) ? $this->wcfm_capability_options['submit_cpt1'] : 'no';
          if( $manage_cpt1 == 'yes' ) return false;
          $publish_live_cpt1 = ( isset( $this->wcfm_capability_options['publish_live_cpt1'] ) ) ? $this->wcfm_capability_options['publish_live_cpt1'] : 'no';
          if( $publish_live_cpt1 == 'yes' ) return false; 
        }  	
      	return $allow;
      }  
      // WCFM wcfmcap Delete Cpt1
      function wcfmcap_is_allow_delete_cpt1( $allow ) {
        global $WCFM, $WCFMu, $WCFMgs, $wcfmgs_capability_manager_options;
        $current_plan = wcfm_get_membership();
        if(isset($current_plan)) {
          $current_group = get_post_meta($current_plan,'associated_group',true);
          $group_capability_options = get_post_meta($current_group,'_group_capability_options',true);
        }
        if(isset($group_capability_options['delete_cpt1'])) {
          $delete_cpt1 = ( isset( $group_capability_options['delete_cpt1'] ) ) ? $group_capability_options['delete_cpt1'] : 'no';
          if( $delete_cpt1 == 'yes' ) return false; 
        } else {
          $manage_cpt1 = ( isset( $this->wcfm_capability_options['submit_cpt1'] ) ) ? $this->wcfm_capability_options['submit_cpt1'] : 'no';
          if( $manage_cpt1 == 'yes' ) return false;
          $delete_cpt1 = ( isset( $this->wcfm_capability_options['delete_cpt1'] ) ) ? $this->wcfm_capability_options['delete_cpt1'] : 'no';
          if( $delete_cpt1 == 'yes' ) return false;  
        }
                 
      	return $allow;
      }
    

    Make sure all WCFM plugins are updated.

    Thanks.

    in reply to: Remove trash order in vendor dashboard #131738

    Hello,

    It seems like the code was not paste properly. It is PHP error. Please provide us site url with admin access(Set as private reply), then we can check your code.

    Thanks.

    in reply to: Showing Products on certain pages #131737

    Hello,

    Is “Test product” created by your vendor?
    Can you provide us your site url with admin access? then we can check your site and guide you properly.(Set as private reply)

    Thanks.

    in reply to: Vendor Dashboard not fit in mobile view #131733

    Hello,

    We have already demo setup here – https://wclovers.com/demos/ using Electro theme. It’s working properly in mob version.

    Thanks.

    This reply has been marked as private.
    in reply to: Hide the delivery location in the checkout page #131726

    Hello,

    For this you need to hide map using css, add this css in your theme’s style.css –

    .woocommerce-billing-fields__field-wrapper #wcfmmp-user-locaton-map {
        display: none;
    }

    Thanks.

    in reply to: Remove trash order in vendor dashboard #131724

    Hello,

    add_filter('wcfmmp_is_allow_show_trashed_orders', '__return_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: only a product column in store page #131480

    Hello,

    Save the products with category(login as a vendor) then check once again. If you still having same issue please provide us your site admin access and FTP details(Set as private reply), We need to debug this issue in your site.

    Thanks.

    Hello,

    What we understand do you want a custom field in vendor registration page for specific membership plan(group)? Please confirm.

    Thanks.

    in reply to: Radius filter not working #131465

    Hello,

    This is your theme issue –
    Add this css in your theme’s style.css

    .wcfmmp-product-geolocate-search-form div.wcfm_radius_filter_container, .wcfmmp-product-geolocate-search-form div.wcfm_radius_slidecontainer {
        overflow: inherit !important;
    }

    Thanks.

Viewing 25 posts - 276 through 300 (of 1,174 total)