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 - 701 through 725 (of 1,046 total)
  • Author
    Posts
  • in reply to: Plugin overloads server – CPU max. out #121273
    Sushobhan
    Keymaster

    Hi,
    Thanks for getting in touch and sorry for any inconvenience caused.
    Earlier the plugin checks for any new notifications every 1 min. But now we have disabled the feature by default. Please update to our latest version, v3.3.8 and this issue will be resolved.
    Thanks!

    in reply to: Diable downloadable products and set virtual as default #121268
    Sushobhan
    Keymaster

    Hello,
    Thanks for getting in touch with us.
    To disable “Downloadable” products go to Capabilities menu from your WCFM Dashboard. From there uncheck “Downloadable” under Types. Refer to this- https://imgur.com/hn4eenB
    Now to set Virtual as default use the following snippt-

    function wcfm_product_manage_fields_general_custom_virtual( $general_fields, $product_id ) {
    	if( isset( $general_fields['is_virtual'] ) && ! $product_id ) {
    		$general_fields['is_virtual']['dfvalue'] = 'enable';
    	}
    	return $general_fields;
    }
    add_filter( 'wcfm_product_manage_fields_general', 'wcfm_product_manage_fields_general_custom_virtual', 10, 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/
    Let me know how it goes.
    Thanks!

    in reply to: Product download link ? #121250
    Sushobhan
    Keymaster

    Yes that’s the add-on you will require. To know more about the added features visit here – https://wclovers.com/blog/why-woocommerce-frontend-manager-ultimate/
    Thanks!

    Sushobhan
    Keymaster

    Hello,
    Use the following snippet-

    function get_product_shipping_method( $attr ) {
        global $wcfm, $post;
        $product = '';
        if ( ! empty( $attr['id'] ) ) {
            $product = wc_get_product( absint( $attr['id'] ) );
        }
        if ( ! $product && is_product() ) {
            $product = wc_get_product();
        }
        if ( ! $product )
            return '';
    
        $shipping_method = wcfm_get_post_meta( $product->get_id(), 'wcfm_custom_shipping_method' );
        return $shipping_method ? 'Postage: ' . ucwords( str_replace( '_', ' ', $shipping_method ) ) : '';
    }
    
    add_shortcode( 'shipping_method', 'get_product_shipping_method' );

    Usage –
    [shipping_method] //inside a single product page
    [shipping_method id=”PRODUCT_ID”] //anywhere in the website

    let me know how it goes.

    in reply to: Edit wcfm-view-products-manage-tabs.php #121076
    Sushobhan
    Keymaster

    Hi,
    The code snippet I provided already append a class “krafters-other-heading” with each attribute field label. So you can use that class to select these headings.
    Thanks!

    Sushobhan
    Keymaster

    Hi,
    Our vendor app is 100% free and always up to date with latest version of our plugin. Though white labeling is chargeable.
    Thanks

    in reply to: Product download link ? #121071
    Sushobhan
    Keymaster

    Hello,
    Download link url box is part of our ultimate plugin. I didn’t realize, you don’t have WCFM Ultimate, until I go through your list of plugins.
    Let me know if you have any other queries.
    Thanks!

    in reply to: Product download link ? #120663
    Sushobhan
    Keymaster

    Please mention your website url as well. Thanks!

    in reply to: Edit wcfm-view-products-manage-tabs.php #120544
    Sushobhan
    Keymaster

    Please never edit any core files. Never ever! You will end up loosing all the changes when you update the plugin. Also it’s a bad practice.
    As I told you earlier “The right way” is to use appropriate hooks and filters. Please use the following snippet for your purpose-

    add_filter( 'product_simple_fields_attributes', function($attribute_fields) {
        if ( isset( $attribute_fields['attributes']['options']['is_visible'] ) ) {
            $attribute_fields['attributes']['options']['is_visible']['label'] = 'Visible on the product page <span>Would you like this attribute display on your products page for your customers to see?</span>';
            $attribute_fields['attributes']['options']['is_visible']['label_class'] = $attribute_fields['attributes']['options']['is_visible']['label_class'] . ' krafters-other-heading';
        }
        return $attribute_fields;
    } );
    
    add_filter( 'wcfm_product_custom_attributes', function($attribute_fields) {
        foreach ( $attribute_fields as $attr_taxonomy => $data ) {
            if ( isset( $data['options']['is_visible'] ) ) {
                $attribute_fields[$attr_taxonomy]['options']['is_visible']['label'] = 'Visible on the product page <span>Would you like this attribute display on your products page for your customers to see?</span>';
                $attribute_fields[$attr_taxonomy]['options']['is_visible']['label_class'] = $data['options']['is_visible']['label_class'] . ' krafters-other-heading';
            }
        }
        return $attribute_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!

    Sushobhan
    Keymaster

    Sorry I didn’t get your requirement. There are many possibilities and you provide too little information. And the example you shared makes it more confusing (Postage: Royal Mail).
    Our current code adds a dropdown field under Shipping tab. Now I can write a shortcode where you need to provide the product id and it will show the corresponding shipping method like this [postage product_id=”25″] //output a string value- Royal Mail/DPD /Other Courier
    But if you want this field in dropdown and like to save the value, then it will not be possible. Because then it can be used anywhere in the website and thus we could not determine which saving hook we’ll use to save that data.
    Please specify your requirements in more detail.
    Thanks!

    in reply to: Product download link ? #120531
    Sushobhan
    Keymaster

    There is nothing wrong with the code. Though the Download tab template path is- wc-frontend-manager\views\products-manager\wcfm-view-products-manage-tabs.php.
    To debug this please share a temporary admin access of your site. Also don’t forget to mark the reply as Private.
    Thanks!

    in reply to: Custom Fields Stopped Working #120291
    Sushobhan
    Keymaster

    Glad you figure it out 🙂

    in reply to: deleting Inquiry view list from my account #120290
    Sushobhan
    Keymaster

    Hi,
    Archiving seems more preferable approach than deletion. I’ll forward your suggestion to our Dev team.
    Thank you!

    in reply to: Configuration market #120287
    Sushobhan
    Keymaster

    Hi,
    It seems like you need to modify your default server settings. Please change the following variables and try again-

    • post_max_size
    • upload_max_filesize
    • memory_limit

    Here are some guides, how to do that –
    https://www.cloudways.com/blog/increase-media-file-maximum-upload-size-in-wordpress/
    https://www.wpbeginner.com/wp-tutorials/how-to-increase-the-maximum-file-upload-size-in-wordpress/

    Let me know how it goes.
    Thanks

    in reply to: product listing by store location (state) #120283
    Sushobhan
    Keymaster

    Hi,
    You can use GEO my WP or MapPress for this purpose.
    If you go with GEO my WP, then you might find our documentation on this, useful https://wclovers.com/knowledgebase/wcfm-geo-wp/. After that you will require to add a search form, as GEO my WP doesn’t work with your default store search. Follow this tutorial to get the idea – http://docsdep.geomywp.com/create-a-search-form/
    Thanks!

    Sushobhan
    Keymaster

    Hello,
    You can use the following snippet to add the shipping method field under shipping tab and saving that data in product meta-

    add_filter( 'wcfm_product_manage_fields_shipping', function($shipping_fields, $product_id) {
        if ( apply_filters( 'wcfm_is_allow_shipping', true ) ) {
            $shipping_method_options = array(
                'royal_mail' => 'Royal Mail',
                'dpd'        => 'DPD',
                'other'      => 'Other Courier'
            );
            $shipping_method = get_post_meta( $product_id, 'wcfm_custom_shipping_method', true );
            $shipping_fields['wcfm_custom_shipping_method'] = array( 'label' => __( 'Shipping method', 'wc-frontend-manager' ), 'type' => 'select', 'options' => $shipping_method_options, 'class' => 'wcfm-select wcfm_ele simple variable booking', 'label_class' => 'wcfm_title', 'value' => $shipping_method );
        }
        return $shipping_fields;
    }, 10, 2 );
    
    add_action( 'after_wcfm_products_manage_meta_save', function( $product_id, $form_data ) {
        if ( apply_filters( 'wcfm_is_allow_shipping', true ) ) {
            if ( isset( $form_data['wcfm_custom_shipping_method'] ) ) {
                update_post_meta( $product_id, 'wcfm_custom_shipping_method', $form_data['wcfm_custom_shipping_method'] );
            }
        }
    }, 150, 2 );

    there is another part of your query that involves showing this method under shipping cost. Now if there is more than 1 product in the cart and both have different method set, what you want to show then? Do you have a layout in mind?
    Let me know.
    Thanks!

    in reply to: Edit wcfm-view-products-manage-tabs.php #120279
    Sushobhan
    Keymaster

    Hello,
    Sorry for the delay in response.
    Normally, it is not needed to override a file. The first approach should be, using the hooks and filters to change a certain behavior. Having said that, there might be situations where template override is required.
    Please provide me details about your requirement and I’ll be happy to help you out. Also, a snapshot, marking your requirements would be very helpful.
    Thanks

    in reply to: Custom Fields Stopped Working #120276
    Sushobhan
    Keymaster

    Hi,
    What you want to achieve with this snippet? Your wrote “They suddenly stopped working”, how was it working before? Did you change anything or update plugin/WP version?
    The snippet doesn’t seem right to me. Please tell me in detail what is your actual requirement. Then only, I might be able to help you out.
    Thanks!

    in reply to: Private marketplace for members #120272
    Sushobhan
    Keymaster

    Hello,
    Thanks for getting in touch.
    From what I have understood, you just want a link/menu/button in your vendor dashboard which will take them to some other url. Now I have a couple of questions-
    1. Is it a static link or dynamic? Means, will it be different for each vendor?
    2. What will be purpose of vendor store page on your site?
    By default, the store logo (at the top left of vendor dashboard) is linked with vendor store page. Now we can change that url easily according to our need. That is one way of achieving what you want.
    Let me know.
    Thanks!

    Sushobhan
    Keymaster

    Hello,
    Please update to our latest version, v3.3.8, there it is disabled by default.
    Thanks!

    Sushobhan
    Keymaster

    Hi,
    Thank you for writing to us!
    We already have an app for the store vendors. You can learn more about this from here- https://wcfm.app/. The free version of the app is in play store as well- https://play.google.com/store/apps/details?id=com.wcfmapp&hl=en
    Thanks!

    in reply to: WFCM Store front Redesign #120248
    Sushobhan
    Keymaster

    Hi,
    We have some plans to update the dashboard UI in near future. We will definitely consider your suggestion.
    Thanks!

    in reply to: deleting Inquiry view list from my account #120247
    Sushobhan
    Keymaster

    Hi,
    Customer doesn’t have the capability to delete an inquiry. Only vendor or admin can do it.
    Thanks!

    in reply to: loco translate give error on some elements #120245
    Sushobhan
    Keymaster

    Hi,
    Thanks for getting in touch and sorry for any inconvenience caused.
    Please check at wp-admin -> WooCommerce -> Status -> Logs -> fatal_erros log -> is any error generated? Also 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)
    Let me know how it goes.
    Thanks!

    in reply to: Product download link ? #120243
    Sushobhan
    Keymaster

    Hi,
    Can you test it with bare minimum setup, just WooCommerce and WCFM plugins, and see if the problem persists? You can also try switching your theme. By this way, we can isolate the problem and once we know the cause then we will guide you accordingly.
    Thanks!

Viewing 25 posts - 701 through 725 (of 1,046 total)