frontend manager

This topic contains 15 replies, has 3 voices, and was last updated by WCfM Forum WCfM Forum 4 months, 1 week ago.

  • Author
    Posts
  • #24248

    wplugins
    Participant

    Hi,

    I am using the frontend manager. When vendors logged in from there, there’s a field for setting vacation. However, it’s unavailable and ask admin to enable it but there’s nowhere in the admin can configure this setting. How to remove it from vendor’s dashboard if it’s not available?

    At adding article page at vendor dashboard, can remove “short description” as only posting at “description” part will show up.

    How to edit the system emails? Also, how to set the sender address of the system emails as it now create a new email itself. We want to use our own email.

  • #24275
    WCfM Forum
    WCfM Forum
    Keymaster

    Hi,

    Thanks for get in touch with us.

    Vacation Mode – it’s part of WCfM Ultimate so you are having this block empty. Do you want to hide this for now?

    Article Short Description – Kindly add this code to your site.

    function wcfm_article_manage_fields_content_custom( $article_fields, $article_id ) {
    	if( isset( $article_fields['excerpt'] ) )  { 
    		$article_fields['excerpt']['type'] = 'textarea';
    		$article_fields['excerpt']['class'] = 'wcfm_custom_hide';
    		$article_fields['excerpt']['label_class'] = 'wcfm_custom_hide';
    	}
    	return $article_fields;
    }
    add_filter( 'wcfm_article_manage_fields_content', 'wcfm_article_manage_fields_content_custom', 50, 2 );

    Here is the code for changing WP emails sender name and email –

    function wpb_sender_email( $original_email_address ) {
        return 'admin@mydomain.com';
    }
     
    // Function to change sender name
    function wpb_sender_name( $original_email_from ) {
        return 'My Site';
    }
     
    // Hooking up our functions to WordPress filters 
    add_filter( 'wp_mail_from', 'wpb_sender_email' );
    add_filter( 'wp_mail_from_name', 'wpb_sender_name' );

    Please know me if you have any other queries regarding this.

    Thank You

  • #24346

    wplugins
    Participant

    Regarding the vocation mode, it looks like a bugs as it shouldn’t appear in free version if it’s not available. Can you fix it in the plugin and update instead?

    As for the rest, where should I put the code on? Which file (path) and where?

    Thank you!

  • #24353
    WCfM Forum
    WCfM Forum
    Keymaster

    Hi,

    Vacation mode is part of WCfM Ultimate so you are not getting that and empty block is there. We will hide that empty block in next update.

    Add code at child theme’s functions.php

    Thank You

  • #24398

    wplugins
    Participant

    When will next version come?

    Where should I put the above 2 codes on functions.php?

  • #24450
    WCfM Forum
    WCfM Forum
    Keymaster

    Hi,

    Next update will be there in 2-3 days.

    Yeah please, add codes in child theme’s functions.php

    Thank You

  • #24489

    wplugins
    Participant

    Can make the change of email sender and email address together with the option to disable short description in the next plugin update as well?

  • #24493
    WCfM Forum
    WCfM Forum
    Keymaster

    Hi,

    I have already given you code for all these, right?

    Then which option you are looking for!

    Are those not working for you?

    OK, we will add this as an option in next update: “email sender and email address”

    Thank You

  • #24633

    wplugins
    Participant

    Also, the option to disable short description at article as it’s not compatible with front end, can’t show up at all.

  • #24640
    WCfM Forum
    WCfM Forum
    Keymaster

    Hi,

    “Also, the option to disable short description at article as it’s not compatible with front end, can’t show up at all.” – Which option you are talking about? Capability option? But that’s only for products.

    There is no setting for disable Article Short Description.

    Kindly use this code for the purpose –

    function wcfm_article_manage_fields_content_custom( $article_fields, $article_id ) {
    	if( isset( $article_fields['excerpt'] ) )  { 
    		$article_fields['excerpt']['type'] = 'textarea';
    		$article_fields['excerpt']['class'] = 'wcfm_custom_hide';
    		$article_fields['excerpt']['label_class'] = 'wcfm_custom_hide';
    	}
    	return $article_fields;
    }
    add_filter( 'wcfm_article_manage_fields_content', 'wcfm_article_manage_fields_content_custom', 50, 2 );

    Thank You

  • #24678

    wplugins
    Participant

    Can you please add it in the plugin? Admin can disable the short descriptions field that shows to vendor when adding products?

  • #24732
    WCfM Forum
    WCfM Forum
    Keymaster

    Hi,

    Restrict “Short Description” from product manager – it’s already there in WCfM Capability settings.

    But you previously asked me to restrict “Article Short Description” – there is no settings for this so I have provided this code to you.

    Just add this to your child theme’s functions.php

    Thank You

  • #24762

    wplugins

    I couldn’t locate such function at all. Where’s Product Manager? Where to restrict the short description? Could you please provide screenshot?

  • #24765
    WCfM Forum
    WCfM Forum
    Keymaster

    Hi,

    I am talking about WCFM -> Capability -> Fields -> Short Description

    Check here – https://ibb.co/jONOfJ

    Thank You

  • #24795

    wplugins
    Participant

    The dashboard can’t show up properly. Please fix the bugs of the plugin.

    https://ibb.co/myZrKd

  • #24804
    WCfM Forum
    WCfM Forum
    Keymaster

    Hi,

    That’s strange. Do you have any floating Ad widget or something like this?

    It’s clear visible, something is overlapping and cut the labels. Now WCfM has nothing like this so definitely this is something specific to your site.

    Can you inspect this using Google chrome developers tool?

    If not, then please arrange a TeamViewer session, we will check this on behalf of you.

    Thank You

The topic ‘frontend manager’ is closed to new replies.