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 - 926 through 950 (of 1,174 total)
  • Author
    Posts
  • in reply to: What is WCLovers Cart plugin? #111324

    Hi,

    In our demo(https://wcfmmp.wcfmdemos.com/my-account/) we have used “oceanwp” theme https://wordpress.org/themes/oceanwp/
    Regarding shopping cart, cart opton comes from Woocommerce plugin (https://wordpress.org/plugins/woocommerce/).It is woocommerce default feature.

    Thanks.

    in reply to: What is WCLovers Cart plugin? #111316

    Hello,

    We didn’t get you. Can you please explain your requirement/issue.

    Thanks.

    Hello,

    Most probably it is “Catalog visibility:”.
    To check this further we’ll require a temporary access of your site. When sharing the access, please don’t forget to mark the reply as private.

    Thanks.

    in reply to: Hide fields in edit page. #111308

    Hello,

    You need to override the “wcfm-view-products-manage.php” in your activate theme <your theme folder>/wcfm/products-manager/wcfm-view-products-manage.php
    then the condition if(empty($product_id)) before if( apply_filters( 'wcfm_is_allow_category', true ) && apply_filters( 'wcfm_is_allow_pm_category', true ) ) and

    add_filter( 'wcfm_product_manage_fields_general', function( $fields, $product_id, $product_type, $wcfm_is_translated_product, $wcfm_wpml_edit_disable_element ) {		
    	if($product_id != 0) {
    		$fields['product_type']['class']='wcfm_block_hide';
    	}		
    	return $fields;
    }, 50, 5 );

    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/

    How can i hide wcfm left column menu only for vendor.
    >>Can you explain with screenshot which section do you want to remove from vendor

    Thanks.

    in reply to: Allow only one attribute for product #111302

    Hello,

    We have disabled the “Mandatory attributes” snippets.(PFA)
    This code is creating the issue.Now is working fine.

    Thanks.

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

    Hi,

    There is “Add new Product” icon , PFA

    Thanks.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Not translatable text as placeholder #111164

    Hello,

    Please use “Loco Translate (https://wordpress.org/plugins/loco-translate/)” plugin, translation will be very easy for you.
    Select the plugin Loco Translate -> Plugins -> “WCFM – WooCommerce Multivendor Marketplace” for changing ‘Search by City’ and ‘Search by ZIP’

    Thanks

    in reply to: Remove class #111150

    Hello,

    #orders_details_general_expander .wc-customer-user {
        display: none;
    }

    Add this css to your child theme’s style.css

    Thanks.

    in reply to: Add product form homepage dashboard #111145

    Hello,

    You are always welcome 🙂

    For another issue, please explain little more. We didn’t get you And kindly create another topic for this.

    Thanks.

    Hi,

    if( $has_new = apply_filters( 'wcfm_add_new_product_sub_menu', true ) ) {
    				echo '<a id="add_new_product_dashboard" class="add_new_wcfm_ele_dashboard text_tip" href="'.get_wcfm_edit_product_url().'" data-tip="' . __('Add New Product', 'wc-frontend-manager') . '"><span class="wcfmfa fa-cube"></span><span class="text">' . __( 'Add New', 'wc-frontend-manager') . '</span></a>';
    			}

    In this <span class="wcfmfa fa-cube"></span> replace with your text or icon.
    Example : <span class="wcfmfa fa-cube"></span> replace with <span class="wcfm-txt">' . __( 'Add New', 'wc-frontend-manager') . '</span>

    Thanks.

    in reply to: want to hide some data #111131

    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.

    Hello,

    For “Advance” menu,
    Add this code,

    add_filter( 'wcfm_product_manage_fields_advanced', function( $advance_fields, $product_id ) {
    	if( isset( $advance_fields['menu_order'] ) ) {
    		$advance_fields['menu_order']['desc'] = $advance_fields['menu_order']['hints'];
    		$advance_fields['menu_order']['desc_class'] = 'wcfm_page_options_desc';
    		unset( $advance_fields['menu_order']['hints'] );
    	}
    	if( isset( $advance_fields['purchase_note'] ) ) {
    		$advance_fields['purchase_note']['desc'] = $advance_fields['purchase_note']['hints'];
    		$advance_fields['purchase_note']['desc_class'] = 'wcfm_page_options_desc';
    		unset( $advance_fields['purchase_note']['hints'] );
    	}
    	return $advance_fields;
    }, 50, 2 );

    Regarding all tooltip in WCFM,
    Like above script you have to write in similar way for different filters.
    example: For inventory SKU,

    add_filter( 'wcfm_product_fields_stock', function( $fields, $product_id, $product_type ) {	
    		$fields['sku']['desc'] = $fields['sku']['hints'];
    		$fields['sku']['desc_class'] = 'wcfm_page_options_desc';
    		unset( $fields['sku']['hints'] );	
    	return $fields;
    }, 50, 3 );

    You can find filters in wp-content/plugins/wc-frontend-manager/views/products-manager/wcfm-view-products-manage-tabs.php file.

    Thanks.

    in reply to: want to hide some data #110946

    Hi,

    For this please override your “wcfmu-view-wcappointments-dashboard.php” template in your theme <your theme folder>/wcfm/wc_appointments/wcfmu-view-wcappointments-dashboard.php and remove the “Create Appointable” section.

    Thanks.

    in reply to: Add product form homepage dashboard #110941

    Hello,

    add_filter( 'wcfm_add_new_product_sub_menu','__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/

    And add new menu in admin dashboard->settings->Menu manager (PFA)

    Thanks.

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

    Hello,

    You have override the template “wcfm-view-products.php” in your theme <your theme folder>/wcfm/views/products/wcfm-view-products.php then change icon replace with <span class="wcfmfa fa-cube"></span>.

    Thanks.

    in reply to: want to hide some data #110925

    Hello,

    hide the button add product
    >> Add this code to your child theme’s functions.php
    add_filter( 'wcfm_add_new_product_sub_menu','__return_false'); and enable the capability “Add Products”

    in the product page: https://prnt.sc/rd8kuo
    in the add to my store page: https://prnt.sc/rd8l42

    >> Add this code to your child theme’s functions.php

    add_filter( 'body_class', function( $classes ) {
    	$userid = get_current_user_id();
    	if(wcfm_is_vendor($userid)) {
          $classes = array_merge( $classes, array( 'vendor-dashboard' ) );
    	}
    	return $classes;
    });

    And
    Add this css to your child theme’s style.css

    .vendor-dashboard .wcfm_products_filter_wrap,.vendor-dashboard .wcfm_sell_items_catalog_filter_wrap {
    	display: none;
    }

    hide it in the stores list page https://prnt.sc/rda5oc
    >>Add this code to your child theme’s functions.php

    add_filter('wcfmmp_stores_args',function($args, $attr, $search_data){
    	$args['search'] = false;
    	$args['filter'] = false;	
    	return $args;
    },10,3);

    Thanks.

    Hello,

    It will be helpful if you send us a vendor access(with site url). We need to check your site then we can guide you accordingly.

    Thanks.

    in reply to: Translation #110248

    Hello,

    Hello,

    Kindly click on “Sync” button in loco translate editor (PFA). Hope that will help to solve your issue.

    Thanks.

    Attachments:
    You must be logged in to view attached files.
    in reply to: want to hide some data #110234

    Hello,

    #2
    also I want to hide the button add product
    >> Regarding this, off the capability “Add Products” (PFA)

    #4
    in the store manager dashboard I want to remove these from the store stats
    0 products – awaiting fulfillment
    0 products – low in stock
    0 products – out of stock
    #6
    in the reports, I want to hide these two reports 1. Low in stock 2. Out of stock
    >>Regarding 4&6,

    .wcfm_dashboard_more_stats #wcfm_dashboard_wc_status_expander .on-hold-orders,.wcfm_dashboard_more_stats #wcfm_dashboard_wc_status_expander .low-in-stock,.wcfm_dashboard_more_stats #wcfm_dashboard_wc_status_expander .out-of-stock {
    	display: none;
    }
    ul.wcfm_reports_menus > li.wcfm_reports_menu_item:nth-last-of-type(-n+2) {
        display: none;
    }

    Add this css to your child theme’s style.css

    Thanks.

    in reply to: Hide option of Hide map in vendor setting #110221

    Hello,

    For hiding “Hide Map from Store” settings,

    add_filter( 'wcfm_marketplace_settings_fields_visibility', function( $fiels, $vendor_id ) {
    	unset($fiels['store_hide_map']);
    	return $fiels;
    }, 50,2 );

    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: What is the hook #110218

    Hello,

    You have to write,

    add_action( 'after_wcfmmp_product_multivendor_clone','doSomeThing',10 ,2 );
    function doSomeThing($duplicate_id, $product)
    {
      //add your php code here 
    }

    Ref: https://developer.wordpress.org/reference/functions/do_action/

    Thanks.

    in reply to: What is the hook #110079

    Hi,

    Please go through the function “wcfmmp_product_multivendor_clone”. The action “after_wcfmmp_product_multivendor_clone” is a php code which we provide you.
    If you want add some javascript, then add below script in your “js” file –

    jQuery(document).ready(function ($) {
    	$('.wcfm_product_multivendor').click(function(event) {
            alert("I am an alert box!");
        });
    });

    Thanks.

    in reply to: Hide option of Hide map in vendor setting #110077

    Hello,

    For removing “location map” setting form vendor settings(PFA), yes add_filter( 'wcfm_is_allow_store_map_location', '__return_false' ); this code you have to write in your activate theme’s functions.php. you can share your site details then we can check your site.

    Thanks.

    Attachments:
    You must be logged in to view attached files.
    in reply to: What is the hook #110068

    Hello,

    You can use this action do_action( 'after_wcfmmp_product_multivendor_clone', $duplicate->get_id(), $product );
    You can check this php file <wc-multivendor-marketplace>/core/class-wcfmmp-product-multivendor.php
    function name: wcfmmp_product_multivendor_clone

    Thanks.

    in reply to: Hide option of Hide map in vendor setting #110063

    Hello,

    Yes using this you can hide location map from vendor settings. Can you tell where you add this code? Or you can share your site details then we can check your site.

    Thanks.

Viewing 25 posts - 926 through 950 (of 1,174 total)