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 - 626 through 650 (of 1,174 total)
  • Author
    Posts
  • in reply to: Translation does not work on emails #123376
    This reply has been marked as private.
    in reply to: Error "File & Name is required" #123349

    Hi,

    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/

    add_filter('wcfmu_is_allow_downloadable','__return_false'); //to remove downloadable product.

    Thanks.

    in reply to: Error "File & Name is required" #123339

    Hello,

    Do you add any custom code to enable “Downloadable” option by-default for product?

    Thanks.

    Hello,

    1-I don’t know how to add the Privacy Policy on the side of the terms & conditions! How can I do that?
    >>Do you want to just change the text “terms & conditions!” to “terms & conditions! and Privacy Policy”, then you can change the text using “Loco Translate” plugin.
    https://localise.biz/wordpress/plugin/beginners
    WP dashboard -> Loco Translate -> plugins -> WCFM – WooCommerce Multivendor Membership -> Select your site language(Or click on “New Language”) -> search the string(Terms & Conditions) and change the string as per your requirement

    2-How can I put the square button in the front of the privacy policy and terms and conditions?
    >>Add the css in your theme’s style.css

    #wcfm_membership_registration_form p.terms_title.wcfm_title {
    	display:inline !important;
    }
    #wcfm_membership_registration_form #wcfm-main-contentainer input#terms {
        margin-left: 0;
        display: inline-block;
    }

    Thanks.

    in reply to: Hide in Store Manager #122888

    Hi,

    Modify the code,

    add_filter('wcfm_marketplace_settings_fields_general', 'wcfm_marketplace_settings_fields_general_custom1804', 50, 2 );
    function wcfm_marketplace_settings_fields_general_custom1804($general_fields,$vendor_id) {	
    		unset($general_fields['banner_type']);	
    		unset($general_fields['banner_slider']);
    		unset($general_fields['banner_video']);
    		unset($general_fields['list_banner_type']);
    		unset($general_fields['list_banner']);
    		unset($general_fields['list_banner_video']);
    	
    	return $general_fields;
    }

    Thanks.

    in reply to: Hide in Store Manager #122882

    Hello,

    add_filter('wcfm_marketplace_settings_fields_general', 'wcfm_marketplace_settings_fields_general_custom1804', 50, 2 );
    function wcfm_marketplace_settings_fields_general_custom1804($general_fields,$vendor_id) {	
    		unset($general_fields['banner_type']);	
    		unset($general_fields['list_banner_type']);
    		unset($general_fields['list_banner']);
    	
    	return $general_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/

    Thanks.

    in reply to: remove vat field for one of the type of memberships #122879

    Hello,

    Sorry, we didn’t get you. As per your earlier post your concern was “remove vat field for one of the type of memberships”.
    And we have provided you the solution, did that work for you?
    And it seems that this is your new query, so please create a new thread for new requirement.

    Thanks.

    in reply to: Modify email sent to the buyer after the purchase #122847

    Hello,

    To show seller information only customer/buyer email, Add this code in your functions.php

    add_action( 'woocommerce_email_order_meta', 'add_sellerinfo_to_buyer_email',50,4 );
    function add_sellerinfo_to_buyer_email( $order, $sent_to_admin, $plain_text, $email ) {
    	global $WCFM;
    	if ( !in_array( $email->id, array( 'new_order','store-new-order') )){ 
    		$items = $order->get_items();
    		echo '<p>Seller Information -</p>';
    		foreach ( $items as $item ) {
    			$product_id = $item->get_product_id();
    			$vendor_id   = wcfm_get_vendor_id_by_post( $product_id );
    			if( apply_filters( 'wcfmmp_is_allow_sold_by_linked', true ) ) {
    				$store_name = $WCFM->wcfm_vendor_support->wcfm_get_vendor_store_by_vendor( absint($vendor_id) );
    			} else {
    				$store_name = $WCFM->wcfm_vendor_support->wcfm_get_vendor_store_name_by_vendor( absint($vendor_id) );
    			}
    			$store_user  = wcfmmp_get_store( $vendor_id );
    			$email    = $store_user->get_email();
    			$phone    = $store_user->get_phone(); 
    			$address  = $store_user->get_address_string(); 
    			echo $store_name.'('.$item->get_name().') :'.$email.' '.$phone.'<br/>';
    		}
    	}
    }

    Or if You want seller/vendor information for all order emails, then try this code,

    add_action( 'woocommerce_order_item_meta_end', 'add_sellerinfo_to_all_order_email',50,4 );
    function add_sellerinfo_to_all_order_email( $item_id, $item, $order, $plain_text ) {
    	$product_id = $item->get_product_id();
    	$vendor_id   = wcfm_get_vendor_id_by_post( $product_id );
    	$store_user  = wcfmmp_get_store( $vendor_id );
    	$email    = $store_user->get_email();
    	$phone    = $store_user->get_phone(); 
    	$address  = $store_user->get_address_string(); 
    	echo 'Seller Information: '.$email.' '.$phone;
    }

    Modify the seller information print section(HTML) as per your requirement.

    Thanks.

    in reply to: WCFM Shortcode Store List problem with includes parameter #122826

    Hello,

    May be quotation is not placed right way.
    Kindly check once again,
    [wcfm_stores includes="77,86,67,64,62,73,79,70,68,80,56,84,78,57,75,27,71" per_row=3]
    Let us know it’s working or not.

    Thanks.

    Hi,

    Please update WooCommerce and our WCFM plugins.

    Thanks.

    in reply to: vendor-register Edit Form( Add field and remove it) #122822

    Hello,

    I added 1 field (Country) in this page
    You have added country field from WCFM dashboard -> Settings -> Vendor Registration ?

    Can you share your page url, then we can guide you accordingly.

    Thanks.

    in reply to: user Profile #122566

    Hello,

    Please explain with screenshot where you want to show the vendor information(store name and additional information).

    Thanks.

    Hello,

    You have WCFM marketplace and WCFM-membership plugins activated?
    Please check once you have turn-on the “Membership” module from WCFM dashboard -> Settings -> Modules (PFA)

    Thanks.

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

    Hello,

    Do you mean update/save not working in WordPress dashboard->Settings?

    Thank You.

    in reply to: Categories wise attributes for child categories #122481

    Hello,

    Can you please explain your requirement? So we can guide you properly.

    Thanks.

    in reply to: Translation does not work on emails #122479

    Hello,

    We have also communicate in this https://wclovers.com/forums/topic/translation-issue-2/#post-122297 regarding translation issue, Can you share us your site access then can check your site.

    Thanks.

    in reply to: Translation issue #122477

    Hello,

    Have you translate using “Loco Translate” plugin? We have tested in our local server, and its working perfectly.
    Please Try this code in your theme’s functions.php

    function my_text_strings( $translated_text, $text, $domain ) {
    	switch ( $translated_text ) {
    		case 'Pending' :
    			$translated_text = __( 'Zahlung ausstehend', 'woocommerce' );
    			break;
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'my_text_strings', 20, 3 );

    WP dashboard -> Loco Translate -> plugins -> WCFM – WooCommerce Multivendor Marketplace -> select your language(or create your language) -> search string(like “Pending”) & remove the translation and save.

    Thanks.

    in reply to: Hide buyer information #122453

    Hello,

    Try this css in your theme’s style.css

    .inquiry_info .inquiry_by .inquiry_by_customer,#wcfm-enquiry tbody tr td:nth-child(3){
    	color: transparent;
    }
    .inquiry_info .inquiry_by .inquiry_by_customer a,#wcfm-enquiry tbody tr td:nth-child(3) a {
    	color: #f86c6b;
    }

    If you want hide customer email from all sections from WCFM dashboard then add this code in your theme’s functions.php
    add_filter('wcfm_allow_view_customer_email','__return_false');

    Thanks.

    in reply to: Urgent: Options missing for Store Vendor Capability. #122447

    Hi,

    For store invoice, Essential plugin for this module – WooCommerce PDF Invoice and Packing Slips
    Please see our documentaton : https://wclovers.com/knowledgebase/wcfm-store-invoice/

    Thanks.

    in reply to: MANDATORY REGISTRATION FIELDS: split Address in 2 parts #122446

    Hello,

    As we mentioned earlier at present we have no any product location filter. So to achieve this you have to assign “custom taxonomy”(location) in your product.
    Using this “after_wcfm_products_manage_meta_save” (above mentioned in code) hook, when vendor create any product and save you can set your “location taxonomy country”
    to this product.(not need to select manually location in product).

    The scope is to filter products by country
    >>For this now you have to assign “custom taxonomy”(location) in your product.

    Thanks.

    in reply to: Urgent: Options missing for Store Vendor Capability. #122437

    Hi,

    Did you add any custom code in your site?
    Please check once only activate WooCommerce, WooCommerce PDF Invoices & Packing Slip and our WCFM plugins(WCFM-Ultimate plugin is required as you know).
    Then let us know still you having same issue or not.

    Thanks.

    in reply to: Vendor Registration redirected to membership page #122434

    Hello,

    how can i redirect registered vendor to “My Account” page instead??
    >>This requirement is little confusing.
    There is two options.
    1. After clicking “Become a Vendor” it will take you “Membership plans” page.
    >>this scenario is now in your site which you don’t want.

    2.After clicking “Become a Vendor” it will take you “Vendor Registration” form page. Without registration as vendor how it will take “My Account” page.
    >> To After clicking “Become a Vendor” it will take you “Vendor Registration” form page, Add this code in your theme’s functions.php
    add_filter('wcfm_is_allow_my_account_membership_subscribe','__return_false');

    Thanks.

    in reply to: Urgent: Options missing for Store Vendor Capability. #122429

    Hello,

    Have you disable/turn-off the “Store Invoice” module from WCFM dashboard->Setiings->Modules (PFA)
    Then Turn-on the option.

    Thanks.

    Attachments:
    You must be logged in to view attached files.
    in reply to: "My Account" page – links in the Tab is not working #122419

    Hello,

    Firstly save the WP permalink set as “Post name” (WP dashboard -> Settings -> Permalinks)
    If it’s still not working may that would be your theme doesn’t have the correct structure or else an outdated template override. If you switch temporarily to Twenty Seventeen, do those endpoints then work correctly

    Thanks.

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

    Hello,

    Modify the code,

    function add_allow_invoice( $settings_fields_general, $vendor_id ) {
    	$vendor_data = get_user_meta( $vendor_id, 'wcfmmp_profile_settings', true );
    	$allow_invoice = isset( $vendor_data['allow_invoice'] ) ? esc_attr( $vendor_data['allow_invoice'] ) : 'no';
    	if( isset( $settings_fields_general['store_name'] ) ) {
    		//$allow_invoice = get_user_meta( $vendor_id, 'allow_invoice', true );
    		$settings_fields_general['allow_invoice'] = array(
    			'label' => __( 'Rechnung erlauben', 'ddwoo' ),
    			'type' => 'checkbox',
    			'priority' => 50,
    			'class' => 'wcfm-checkbox wcfm_ele',
    			'label_class' => 'wcfm_title wcfm_ele',
    			'value' => 'yes',
    			'dfvalue' => $allow_invoice
    		);
    	}
    	return $settings_fields_general;
    }
    add_filter('wcfm_marketplace_settings_fields_general', 'add_allow_invoice', 20, 2 );
    
    function save_custom_vendor_settings($vendor_id, $wcfm_settings_form) {
    	global $WCFM, $WCFMmp;
    	$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['allow_invoice']) && !empty($wcfm_settings_form_data_new['allow_invoice'])) {
    		$wcfm_settings_form_data_storetype['allow_invoice'] = 'yes';
    	} else {
    		$wcfm_settings_form_data_storetype['allow_invoice'] = 'no';
    	}
    	$wcfm_settings_form = array_merge( $wcfm_settings_form, $wcfm_settings_form_data_storetype );
    	update_user_meta( $vendor_id, 'wcfmmp_profile_settings', $wcfm_settings_form );
    }
    add_action('wcfm_vendor_settings_update',  'save_custom_vendor_settings', 30, 2);
    add_action( 'wcfm_wcfmmp_settings_update','save_custom_vendor_settings', 30, 2);

    Thanks.

Viewing 25 posts - 626 through 650 (of 1,174 total)