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 - 876 through 900 (of 1,046 total)
  • Author
    Posts
  • in reply to: Remoce fields from "add product" section #106458
    Sushobhan
    Keymaster

    Hi,
    Kindly use the following snippet for this-

    add_filter( 'wcfm_product_manage_fields_general', function( $general_fields, $product_id, $product_type ) {
    	if( isset( $general_fields['pro_title'] ) ) {
    		$general_fields['pro_title']['attributes'] = array( 'maxlength' => 10 ); //number of characters permitted. Change it as per your need.
    	}
    	return $general_fields;
    }, 50, 3 );
    
    add_filter( 'wcfm_product_manage_fields_pricing', function( $pricing_fields, $product_id, $product_type ) {
        if ( isset( $pricing_fields['sale_price'] ) ) {
            unset( $pricing_fields['sale_price'] );
        }
        return $pricing_fields;
    }, 50, 3 );
    
    add_filter( 'wcfm_product_manage_fields_content', function( $content_fields, $product_id, $product_type ) {
        if ( isset( $content_fields['excerpt'] ) ) {
            $content_fields['excerpt']['media_buttons'] = false;
        }
        return $content_fields;
    }, 50, 3 );

    Here I use maxlength property for the title field. You can learn more about this here – https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/maxlength

    Thanks!

    in reply to: Approve products befor publishing #106384
    Sushobhan
    Keymaster

    Hello,
    Thanks for getting in touch with us.
    To do this, go to Capability from your admin settings and disable Publish Products and Auto Publish Live Products capability under Products section[ref- https://ibb.co/mFRDVMy%5D.
    Next time, when a vendor submits a product, the admin has to approve it from Products page.
    Let me know how it goes.
    Thanks!

    in reply to: Product Limit only for the Product Types #106375
    Sushobhan
    Keymaster

    Hello,
    Thanks for reaching to us.
    The ‘Product Limit’ settings under Capability works exactly the way you want i.e. it take into account total number of products. Quantity is not come into play here. So if you set Product limit 50, then each of your vendors should be able to upload 50 different products irrespective of their quantity.
    Please check your settings once again.
    Thanks.

    in reply to: store name #106373
    Sushobhan
    Keymaster

    Hi,
    Are you checking this before approving the vendor? Once you approve the pending vendor, the store name and store slug will change automatically.
    Thanks

    in reply to: Invalid JSON response from Vendor dashboard #106114
    Sushobhan
    Keymaster

    Hello,

    I have checked and find out that the theme is causing the issue. You can change to another theme like Storefront or OceanWP to test that. It might be due to compatibility issue or due to any changes made from your side (editing functions.php etc.), not sure.

    Let me know if you need anything else.

    Thanks.

    in reply to: I FOUND A BUG…PLEASE READ THIS #106109
    Sushobhan
    Keymaster
    This reply has been marked as private.
    in reply to: Invalid JSON response from Vendor dashboard #105857
    Sushobhan
    Keymaster

    Hello,
    To debug this we will require a temporary access of your site. Make sure to mark the reply as private.
    Thanks

    Sushobhan
    Keymaster

    Hello,
    Thanks for getting in touch and sorry for any inconvenience caused.
    I tried but could not experience any issue with the scroll. In addition to this, we are not using any special JS scroll enhancement lib to our site.
    Thanks

    in reply to: I FOUND A BUG…PLEASE READ THIS #105846
    Sushobhan
    Keymaster
    This reply has been marked as private.
    in reply to: I FOUND A BUG…PLEASE READ THIS #105562
    Sushobhan
    Keymaster

    Hello
    Thanks for getting in touch with us. I tried your process flow but failed to replicate the issue.
    Can you please check in Google Chrome Browser console, is there any JavaScript error happening to the site or not! (What is browser console – https://support.airtable.com/hc/en-us/articles/232313848-How-to-open-the-developer-console)
    Thanks

    in reply to: store name #105558
    Sushobhan
    Keymaster

    Hi,
    Please add the following code for this purpose-

    add_action( 'wcfmmp_new_store_created', function( $member_id, $wcfmmp_settings ) {
        global $WCFM, $wpdb;
        $store_name = 'store#'.$member_id;
        $store_slug = "store-".$member_id;
        update_user_meta( $member_id, 'store_name', $store_name );
        update_user_meta( $member_id, 'wcfmmp_store_name', $store_name );	
        $wcfmmp_settings['store_name'] = $store_name;
        update_user_meta( $member_id, 'wcfmmp_profile_settings', $wcfmmp_settings );
        $wpdb->query( "UPDATE {$wpdb->prefix}users SET user_nicename = '{$store_slug}' WHERE ID =  $member_id" );
    }, 50, 2 );
    add_filter( 'wcfm_is_allow_store_name', '__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/

    Thank You

    in reply to: translate and change wcfm date and calendar #105554
    Sushobhan
    Keymaster

    Hello,
    Thanks for getting in touch with us.
    You can translate to Persian language easily using Loco Translate plugin. But integrating with Shamsi(Jalali) calendar is not supported. You need to customize that. First find a Jalali calendar JS library that suit your purpose and enqueue on every vendor dashboard page where there exists a calendar field. Further, you might need to checkout the documentation of your selected library to learn about its usage.
    I find these two WP plugin as well https://wordpress.org/plugins/wp-parsidate/ and https://wordpress.org/plugins/wp-persian/. Check these as well.

    Thanks!

    in reply to: What's the best shipping solution? #105542
    Sushobhan
    Keymaster

    Hello,
    You can give StorePep a try. It’s compatible with WCFM Marketplace.
    Let me know how it goes.
    Thanks

    in reply to: RnB Rental and Booking plugin – missing funcionalities #105541
    Sushobhan
    Keymaster

    Hello,
    At first I sincerely apologize for the delay in response. It seems, these features are newly added in RnB. We will add those support in our future versions.
    Please drop us a email at wclovers.forum@gmail.com, to keep track of this. Also, don’t forget to add this forum topic link in there.
    Thanks.

    in reply to: Full Translation with Loco #105442
    Sushobhan
    Keymaster

    Hi,
    Those two translations are already there in the Portuguese (Brazil) translation file. See the attached image.
    The second image you attached (may be related to “the final button for the Store Vendor Setup.”), was mistakenly deleted. Can you please send that again.
    Thanks!

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

    Hello,
    Please share a temporary site access to further debug the issue. Also, don’t forget to mark it as private.
    Regards

    in reply to: frontend manager ultimate. #105437
    Sushobhan
    Keymaster

    Hello,
    Can you please provide me a snapshot of the error? Also,are you using latest version of Product Vendors as well?
    Regards

    in reply to: Hide resources and persons tabs #105436
    Sushobhan
    Keymaster

    Hello,
    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.

    Thanks!

    in reply to: Hide resources and persons tabs #105413
    Sushobhan
    Keymaster

    Hello,
    You can use the following snippet to achieve the same –

    function remove_product_tabs() {
        global $WCFMu;
        remove_action( 'end_wcfm_products_manage', array( $WCFMu->wcfmu_wcbooking, 'wcb_wcfmu_products_manage_form_load_views' ), 30 );
        if ( ! current_user_can( 'administrator' ) ) {
            add_filter( 'wcfm_is_allow_seo', '__return_false' );
            add_filter( 'wcfm_is_allow_wc_tabs_manager', '__return_false' );
        }
    }
    
    add_action( 'wcfm_init', 'remove_product_tabs', 20 );
    
    function remove_catalog_tab() {
        add_filter( 'wcfm_is_allow_catalog', '__return_false' );
    }
    
    add_action( 'init', 'remove_catalog_tab', 9 );

    Let me know how it goes.
    Thanks

    in reply to: Full Translation with Loco #104702
    Sushobhan
    Keymaster

    Hello,
    Kindly press the Sync button and then try searching for the string ‘Reject’. This is a known issue for Loco. So, it’s always safe to Sync the list first.
    Thanks

    in reply to: Date format format for bookable product #104700
    Sushobhan
    Keymaster

    Hi,
    Unfortunately, WC Bookings does not support such custom date format. If you change the format, it will not work.
    Thanks

    in reply to: I urgently need help #104696
    Sushobhan
    Keymaster

    Hello,
    It might be a plugin conflict issue. Can you check this in a clean environment i.e. with WooCommerce and WCFM plugins.
    Let me know. Alternatively, you can share with me a temporary access here. Make sure you mark your reply private.
    Thanks.

    in reply to: Full Translation with Loco #104687
    Sushobhan
    Keymaster

    Hello,
    Thanks for getting in touch and sorry for any inconvenience caused.
    The string ‘Reject’ is in “WCFM WooCommerce Frontend Manager” plugin. Please refer to the following images – [Settings] https://ibb.co/0jGKJS9 , [Result] https://ibb.co/xMdPD9L
    Loco is still the easiest way to achieve any kind of string translation.
    Thanks

    in reply to: Change text for "You have reached your product limit" #104683
    Sushobhan
    Keymaster

    Hello,

    You can change text using “loco translate” plugin to translate this text.(https://wordpress.org/plugins/loco-translate/)
    Please select the plugin Loco Translate -> Plugins -> “WCFM – WooCommerce Frontend Manager” for changing text You have reached your product limit! and Plugins -> “WCFM – WooCommerce Multivendor Membership” for changing text %sChange or Upgrade your current membership plan >>%s.

    Thanks.

    in reply to: Force post meta values according to product types #104645
    Sushobhan
    Keymaster

    Hello,
    Thanks for contacting to us. You can try doing it the following way-

    function force_custom_product_meta_on_save( $product_id, $wcfm_products_manage_form_data ) {
        $product_type = empty( $wcfm_products_manage_form_data['product_type'] ) ? WC_Product_Factory::get_product_type( $product_id ) : sanitize_title( stripslashes( $wcfm_products_manage_form_data['product_type'] ) );
        switch ( $product_type ) {  //simple, variable, grouped, external, booking
            case 'simple':
                update_post_meta( $product_id, 'meta', 'value' );
                break;
            case 'booking': 
                update_post_meta( $product_id, 'meta', 'value' );
                break;
            //...
        }
    }
    
    add_action( 'after_wcfm_products_manage_meta_save', 'force_custom_product_meta_on_save', 10, 2 );

    Let me know how it goes.
    Thanks

Viewing 25 posts - 876 through 900 (of 1,046 total)