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 - 751 through 775 (of 1,174 total)
  • Author
    Posts
  • in reply to: Vendor Page does not adhere to site template #119429

    Hello,

    Ok, this is not a plugin’s bug. Our WCFM plugins are compatible with most of the themes available in market.(https://wclovers.com/wcfm-compatible-themes/).
    Though the theme “Tempera theme” you are using in your site is not compatible with style wise. However to fix the the style issue you can share us the page urls. We will guide you accordingly. Please be advise it will need development knowledge/effort.

    For more advance features we will always suggest you to upgrade to our premium WCFM-Ultimate plugin.
    If you wish to donate you can from here : https://wordpress.org/plugins/wc-frontend-manager/

    Thank You.

    in reply to: Ability to edit homepage image #119427
    This reply has been marked as private.
    in reply to: Overridge Product Add-On's #119425

    Hello,

    Add the script in your theme’s js file,

    jQuery(document).ready(function ($) {
      $("#wcfm_products_manage_form_wcaddons_expander").prepend("<div>Append your html</div>");
    });

    Thanks.

    in reply to: How to empty store list if location not provided? #119404

    Hello,

    You can achieve this to enable the “Enable Auto Filter” option from admin WCFM dashboard -> Settings -> Geo location -> Enable Auto Filter (PFA)

    Thanks.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Ability to edit homepage image #119320

    Hello,

    “I tried this but it didnt work”
    >>Please try in incognito, we have logged in as a vendor(pf1@personalfitness.ie), the banner edit button is removed now. (PFA)

    It is like the vendors have permissions to edit the pages ???
    >>No, When you click the edit link it will goes to the store manager page. For removing the edit icon add this css in your theme’s style.css

    .vendor-dashboard .post-edit-link {
    	display: none !important;
    }

    Thanks.

    Attachments:
    You must be logged in to view attached files.
    in reply to: store setup field customisation #119318

    Hello,

    In store setup removing country and State/County,
    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('wcfm_marketplace_settings_fields_address',function($fields, $user_id) {
    	unset($fields['country']);
    	unset($fields['state']);
    	return $fields;
    },10,2);

    Thanks.

    Hello,

    By-default when you delete the vendor/author then product will not deleted, the vendor’s products goes to “draft” status.
    If you want delete vendor’s product if the vendor is deleted,

    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_action('delete_user', 'my_delete_user');
    function my_delete_user($user_id) {	
    	if(wcfm_is_vendor($user_id)) {
    	    $args = array (
    	        'numberposts' => -1,
    	        'post_type' => 'product', //for all posts by this user: posts, pages, attachments, etc.. use post_type => "any"
    	        'author' => $user_id
    	    );	   
    	    $user_posts = get_posts($args);
    	    if (empty($user_posts)) return;
    	    foreach ($user_posts as $user_post) {
    	        wp_delete_post($user_post->ID, true);
    	    }
    	}
    }

    Thanks.

    in reply to: Symbolize one type of my vendors #119290

    Hello,

    You can achieve this by using our WCFM Membership plugin(https://wordpress.org/plugins/wc-multivendor-membership/).
    Create two type of Membership “professionnal” and “particular” , and regarding symbolize vendor assign badge to the membership.
    Ref: https://wclovers.com/knowledgebase/wcfm-vendor-badges/
    https://wclovers.com/knowledgebase/wcfm-membership/

    Thanks.

    Hello,

    Please share us the page url, then we can check and guide you accordingly.

    Thanks.

    in reply to: When posting Article, make picture required #119284

    Hello,

    From your topic title “When posting Article, make picture required” ,
    What we understand that, you want the “Image” field required for “artice”/”post”,
    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('wcfm_article_manage_fields_gallery',function($fields,$artcle_id){
    	$fields['featured_img']['custom_attributes'] = array( 'required' => true );
    	return $fields;
    },10,2);

    Thanks.

    in reply to: Add number to vendor new order mail #119283

    Hello,

    Thanks for get in touch here.
    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('wcfm_is_allow_wc_default_email_customer_details','__return_true');
    add_action('woocommerce_email_customer_details','wcfm_custom_info_customer', 9, 3 );
    function wcfm_custom_info_customer( $order, $sent_to_admin = false, $plain_text = false ) {
    	if ( ! is_a( $order, 'WC_Order' ) ) {
    		return;
    	}
    	$customer_id = $order->get_customer_id();
    	//print your customer/client number
    }

    Thanks.

    in reply to: registration form #119107

    Hi

    Sorry, Unfortunately WCFM has no control over WooCommerce default registration form.
    The functionality is same, just the user have to click on “Become a Vendor” link to become a vendor/supplier. You can change the text “Vendor” to “Supplier”.

    Thanks.

    Hello,

    Please follow our WCFM plugins documentation : https://wclovers.com/knowledgebase/
    Kindly check you have already turn-on the modules(admin WCFM dashboard -> Settings -> Module) and Capabilities (admin WCFM dashboard -> Capability)
    And some features like Booking,Enquiry etc this will need our premium WCFM – Ultimate plugin(https://wclovers.com/product/woocommerce-frontend-manager-ultimate/)

    Thanks.

    Hello,

    What we understand that, you have created a post type(business) and connect with the user who have already their address information.And when he want to “become a vendor” his store name(post title) and address will auto populated in registration form. Correct us if we are wrong. (assume that one user have only one business post otherwise one vendor cann’t have multiple storename).

    This is not a tweak. It will need some customization work.
    Please contact us here :https://wclovers.com/setup-guidance/ with topic link.

    Thanks.

    in reply to: Group and staff error #119094

    Hello,

    You have to edit the group, from the “group vendor” field select any one vendor, then remove all.

    Thanks letting us know about the bug. Much appreciated.

    in reply to: WCMP Vendors list not showing #119080

    Hello,

    You can find the capability admin WCFM dashboard -> Capability
    For this feature you will need our premium WCFM – Ultimate plugin(https://wclovers.com/product/woocommerce-frontend-manager-ultimate/)

    Thanks.

    in reply to: WCMP Vendors list not showing #119020

    Hello,

    If the “Add Category” capability is available for vendor, then The vendors can create product categories, and other vendor vendors will be able to see these category because you cannot restrict/assign a particular category to a vendor and it will not have a particular author( as it’s possible in post ).
    And you/admin can create any product category from wp-backend, vendor can add their product in those category.

    Hope now it will be clear to you.

    Thanks.

    in reply to: registration form #119018

    Hello,

    In your site will there be only vendors and no customers?
    Is there a way to change the client role to the wcfm provider when registering the default client?
    >> Technically this functionality is not recommended. What you can do is at the time of registration(standard user registration) you can make the required fields of vendor to be filled up by the user, and after registration from their account page “Become a Vendor” link the user can become vendor.

    Thanks.

    in reply to: Vendor Page does not adhere to site template #119015

    Hello,

    We are unable to write the below style in your site, so please add this css code in your activated theme’s style.cs

    .wcfm-store-list-page #main,.wcfm-store-page #main {
        max-width: 1280px !important;
        margin: 0 auto !important;
    }
    .wcfm-store-list-page #container.two-columns-left #primary {
        width: 220px !important;
        float: left !important;
    }

    Thanks.

    in reply to: Group and staff error #119001

    Hello,

    Sorry for delay reply.
    Regarding group issue which is your first topic,
    We have setup properly, the group count shows correctly now (PFA)

    Regarding the commission amount applying both coupon,
    Unfortunately it seems to be bug in our system, we are working on it and we shall resolve it in our future update.

    Thanks.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Ability to edit homepage image #118992

    Hello,

    Add this code in your 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 in your theme’s style.css

    .vendor-dashboard .storefront-hero__button-edit {
    	display: none !important;
    }

    Thanks.

    in reply to: Questions regarding the vendor store template #118986

    Hello,

    1. Apply the look and feel in the Woolementor templates,
    >>Unfortunately Woolementor has not provided the support of our plugin till now, hence it might be a good idea if you reach out to the plugin author/their support directly and ask them to provide our support so that you can do the desirable in vendor store page.As far as we know from our customers, they were supposed to add our support in next update

    2. Only display the product published by the store itself on its own store page.
    >> Kindly add “Store Tab Contents” elementor block to display vendor’s products. (PFA)
    Please check the link : https://www.youtube.com/watch?v=0d-2wFlkg0I&feature=youtu.be

    Thanks.

    Attachments:
    You must be logged in to view attached files.
    in reply to: registration form #118978

    Hello,

    Can you explain your requirement little more.
    You want all vendor registration field in your customer registration form? https://auhouse.ru/my-account/ .
    You can add custom fields in registration form using “woocommerce_register_form_start” action
    Ref: https://www.cloudways.com/blog/add-woocommerce-registration-form-fields/

    Thanks.

    Hello,

    Unfortunately no.
    Our WCFM Ultimate 6.4.8 is compatible with “Measurement Price Calculator” plugin https://woocommerce.com/products/measurement-price-calculator/

    Thanks.

    Hello,

    Add this code in your theme’s functions.php

    // Function to check starting char of a string
    function startsWith($haystack, $needle){
        return $needle === '' || strpos($haystack, $needle) === 0;
    }
    // Custom function to display the Billing Address form to registration page
    function zk_add_billing_form_to_registration(){
        global $woocommerce;
        $checkout = $woocommerce->checkout();
        ?>
        
        <?php foreach ( $checkout->get_checkout_fields( 'billing' ) as $key => $field ) : ?>
    
            <?php if($key!='billing_email' && $key!='billing_phone' && $key!='billing_company'){ 
                woocommerce_form_field( $key, $field, $checkout->get_value( $key ) );
            } ?>
    
        <?php endforeach;  ?>
        <p class="form-row form-row-first">
           <label for="reg_store_name"><?php _e( 'Business Title', 'woocommerce' ); ?><span class="required">*</span></label>
           <input type="text" class="input-text" name="store_name" id="reg_store_name" value="<?php if ( ! empty( $_POST['store_name'] ) ) esc_attr_e( $_POST['store_name'] ); ?>" />
           </p>
        <?php
    }
    add_action('woocommerce_register_form_start','zk_add_billing_form_to_registration');
    
    // Custom function to save Usermeta or Billing Address of registered user
    function zk_save_billing_address($user_id){
        global $woocommerce;
        $address = $_POST;
        if ( ! empty( $_POST['store_name'] ) ) {
        	update_user_meta( $user_id, 'store_name', $_POST['store_name'] );
        }
        foreach ($address as $key => $field){
            if(startsWith($key,'billing_')){
                // Condition to add firstname and last name to user meta table
                if($key == 'billing_first_name' || $key == 'billing_last_name'){
                    $new_key = explode('billing_',$key);
                    update_user_meta( $user_id, $new_key[1], $_POST[$key] );
                }
                update_user_meta( $user_id, $key, $_POST[$key] );
            }
        }
    
    }
    add_action('woocommerce_created_customer','zk_save_billing_address');
    
    // Registration page billing address form Validation
    function zk_validation_billing_address(){
        global $woocommerce;
        $address = $_POST;
        foreach ($address as $key => $field) :
            // Validation: Required fields
            if(startsWith($key,'billing_')){
                if($key == 'billing_country' && $field == ''){
                    $woocommerce->add_error( '<strong>' . __( 'ERROR', 'woocommerce' ) . '</strong>: ' . __( 'Please select a country.', 'woocommerce' ) );
                }
                if($key == 'billing_first_name' && $field == ''){
                    $woocommerce->add_error( '<strong>' . __( 'ERROR', 'woocommerce' ) . '</strong>: ' . __( 'Please enter first name.', 'woocommerce' ) );
                }
                if($key == 'billing_last_name' && $field == ''){
                    $woocommerce->add_error( '<strong>' . __( 'ERROR', 'woocommerce' ) . '</strong>: ' . __( 'Please enter last name.', 'woocommerce' ) );
                }
                if($key == 'billing_address_1' && $field == ''){
                    $woocommerce->add_error( '<strong>' . __( 'ERROR', 'woocommerce' ) . '</strong>: ' . __( 'Please enter address.', 'woocommerce' ) );
                }
                if($key == 'billing_city' && $field == ''){
                    $woocommerce->add_error( '<strong>' . __( 'ERROR', 'woocommerce' ) . '</strong>: ' . __( 'Please enter city.', 'woocommerce' ) );
                }
                if($key == 'billing_state' && $field == ''){
                    $woocommerce->add_error( '<strong>' . __( 'ERROR', 'woocommerce' ) . '</strong>: ' . __( 'Please enter state.', 'woocommerce' ) );
                }
                if($key == 'billing_postcode' && $field == ''){
                    $woocommerce->add_error( '<strong>' . __( 'ERROR', 'woocommerce' ) . '</strong>: ' . __( 'Please enter a postcode.', 'woocommerce' ) );
                }
                
    
            }
        endforeach;
    }
    add_action('register_post','zk_validation_billing_address');

    Thanks.

Viewing 25 posts - 751 through 775 (of 1,174 total)