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 - 801 through 825 (of 1,046 total)
  • Author
    Posts
  • Sushobhan
    Keymaster

    Hello,
    You can disable these two checkboxes(virtual, downloadable) from Admin dashboard >> Capability under Types disable Virtual and Downloadable option.
    Ref – https://ibb.co/wJzC6Gz
    Thanks!

    Sushobhan
    Keymaster

    Hello,
    There is no ready made solution. Now a days almost every platform provides an API to communicate with that platform. But, then you need to custom code that.
    If you are interested then please contact us here – [[Customization]]
    Thanks!

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

    Hello
    Well, Admin as owner of the site enjoys unrestricted capability so he/she can publish products of vendors even if they used their full quota of products.
    In second case, your vendor can publish that one additional product only when they delete the additional drafted products.
    Thanks!

    in reply to: Downloadable not saving #109412
    Sushobhan
    Keymaster

    Hello,
    There are few problem with this code. wcfm_capability_settings_fields_product_types filter passes 3 arguments $product_types, $handler = 'wcfm_capability_options', $wcfm_capability_options = array(). For shop managers the $handler value will be ‘wcfm_shop_manager_capability_options’. So if your function accepts 3 arguments, instead of 2, you will get the capability options array from there and there is no need to call get_option() for that. wcfm_product_types filter on the other hand passes only one argument $product_types array. If you want to check this for shop managers you should check the current user type at top of your function. Also the last if-elseif block is wrong. It must be all if checks.
    Thanks!

    in reply to: Downloadable not saving #109410
    Sushobhan
    Keymaster

    Hi,
    Your code for adding a custom type is not fully complete and it doesn’t have support for downloadable and virtual types. You can check that from backend, where if you choose your ‘Custom Type’ both the download and virtual option got disappeared.
    But, as you are using WCFM frontend, you were able to send downloadable related data. Right now downloadable data is getting saved. But you need to add two more functions to retrieve that data. Please note, here I use product type name as ‘custom_type’ which is preferred over ‘Custom Type’ (array key name).

    function custom_type_downloadable_support($fields, $product_id, $product_type) {
        if($product_type == 'custom_type') {
            $is_downloadable = ( get_post_meta( $product_id, '_downloadable', true) == 'yes' ) ? 'enable' : '';
            $fields["is_downloadable"]['dfvalue'] = $is_downloadable;
        }
        return $fields;
    }
    add_filter( 'wcfm_product_manage_fields_general', 'custom_type_downloadable_support', 10, 3 );
    function custom_type_downloadable_tab_data($fields, $product_id, $product_type ) {
        if($product_type == 'custom_type') {
            $is_downloadable = ( get_post_meta( $product_id, '_downloadable', true) == 'yes' ) ? 'enable' : '';
            if($is_downloadable == 'enable') {
    			$downloadable_files = (array) get_post_meta( $product_id, '_downloadable_files', true);
    			$download_limit = ( -1 == get_post_meta( $product_id, '_download_limit', true) ) ? '' : get_post_meta( $product_id, '_download_limit', true);
    			$download_expiry = ( -1 == get_post_meta( $product_id, '_download_expiry', true) ) ? '' : get_post_meta( $product_id, '_download_expiry', true);
    		}
            $fields["downloadable_files"]['value'] = $downloadable_files;
            $fields["download_limit"]['value'] = $download_limit;
            $fields["download_expiry"]['value'] = $download_expiry;
        }
        return $fields;
    }
    add_filter( 'wcfm_product_fields_downloadable', 'custom_type_downloadable_tab_data', 10, 3 );

    Thanks

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

    Hello,
    I tried and it worked perfectly. First I logged in as vendor and exported 14 of the existing products to create my import file. Then, I delete those 14 products and imported again. The result is as expected; all the products gets imported with pending status assigned to them.
    You can check that by logging in to your vendor account.
    Thanks!

    in reply to: Emails not sending to customers/vendors #109395
    Sushobhan
    Keymaster

    Hello,
    If the emails get logged means the emails are firing. Now there may be 2 reasons for the failure of email delivery-
    1. Emails are going in spam folder
    2. Your email server is not sending the emails.
    To get some more insights on this, are you getting emails firing from WooCommerce (Order related emails)? Please check if using any SMTP plugin solves this issue. Give this tutorial a try and let me know how it goes – https://www.wpbeginner.com/wp-tutorials/how-to-fix-wordpress-not-sending-email-issue/
    Thanks!

    in reply to: Submit button remains disabled #109207
    Sushobhan
    Keymaster

    Hello,
    Have you done any modifications? Our plugin doesn’t add any button disable code. Check the it here from our demo – https://wcfmmp.wcfmdemos.com/product/abcd-3/
    Thanks!

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

    Hello,
    Sorry but I couldn’t replicate the issue from my end. It’s working exactly like I explained in my last reply.
    Please provide me a temporary access of your site (admin & vendor). Also, don’t forget to mark it as private.
    Thanks!

    in reply to: WC Booking missing options in Marketplace #109189
    Sushobhan
    Keymaster

    Hello,
    That is part of our ultimate plugin.
    Thanks

    in reply to: Submit button remains disabled #109187
    Sushobhan
    Keymaster

    Hello,
    Sorry you are facing this trouble. Please check, if you are facing the same trouble while in incognito mode.
    Now, to check your issue, I’ll require the product link.
    Thanks!

    in reply to: Emails not sending to customers/vendors #109044
    Sushobhan
    Keymaster

    Hi,

    Please keep install this plugin to your site and be sure emails are triggered from your site or not!

    https://wordpress.org/plugins/wp-mail-logging/

    Thank You

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

    Hello,
    Didn’t get your last reply. Please tell me in details how you want to set your accommodation products? Or send me your product link and tell me what different behavior you want to achieve from it?
    Thanks!

    in reply to: Coupon name is missing #109024
    Sushobhan
    Keymaster

    Hello,
    Thanks for reporting the issue. We will fix that in our future updates.
    Regards

    in reply to: WC Booking missing options in Marketplace #109010
    Sushobhan
    Keymaster

    Hi,
    Please check this with only WooCommerce and WCFM plugins with all other plugins disabled. Also check it with a fresh theme OceanWP, Storefront etc.
    If the problem persists send me one temporary access of your wp-admin account and FTP. Don’t forget to mark your reply as private.
    Thanks!

    in reply to: Downloadable not saving #109007
    Sushobhan
    Keymaster

    Hello,
    Thanks for getting in touch.
    By ‘custom product type’ what product type do you mean and it is coming from which plugin?
    Let me know.
    Thanks!

    in reply to: Getting the numbers of registered vendors #108917
    Sushobhan
    Keymaster

    Hello,
    It is a custom function that I wrote for you 🙂
    If there is anything else, you can let me know.
    Thanks!

    in reply to: WC Booking missing options in Marketplace #108915
    Sushobhan
    Keymaster

    Hello,
    Thanks for getting in touch.
    Have you customized some functions related to bookings? Especially ‘wcfm_wcbokings_availability_fields’ this filter?
    Let me know.
    Thanks!

    in reply to: Getting the numbers of registered vendors #108913
    Sushobhan
    Keymaster

    Hi,
    Thanks for getting in touch.
    You can use the following snippet to do that. You can use the shortcode like this [wcfm_vendor_count] or [wcfm_vendor_count status="active/inactive/all"], if you don’t pass status attribute it will show count of active vendors only.

    function wcfm_vendor_count_shortcode( $attr ) {
        $status = 'active';
        $result = count_users();
        $avail_roles = array_merge( array( 'wcfm_vendor' => 0, 'disable_vendor' => 0 ), $result['avail_roles'] );
        
        if ( isset( $attr['status'] ) && in_array( $attr['status'], array('all', 'active', 'inactive') ) )
            $status = $attr['status'];
    
        if($status === 'inactive')
            return absint( $avail_roles['disable_vendor'] );
        if($status === 'all')
            return absint( $avail_roles['wcfm_vendor'] ) + absint( $avail_roles['disable_vendor'] );
        
        return absint( $avail_roles['wcfm_vendor'] );
    }
    
    add_shortcode( 'wcfm_vendor_count', 'wcfm_vendor_count_shortcode' );

    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.

    in reply to: Submit button remains disabled #108903
    Sushobhan
    Keymaster

    Hello,
    Thanks for getting in touch.
    If the checkbox is a required field then it shouldn’t let you submit the form. Can you please send me a snapshot or screen recording of the issue.
    Thanks

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

    Hello,
    WooCommerce Accommodation Bookings is simply an extension of WooCommerce Bookings plugin. So all the booking settings remains the same.
    Thanks!

    in reply to: Change Delivery Boys to Delivery Team #108748
    Sushobhan
    Keymaster

    Hello,
    The code snippet shared above find and replaces any occurrence of Boys with Team. In your screenshots it is mentioned as Boy not Boys, so those didn’t change. Please try the modified version of the snippet as below-

    function wcfm_custom_2008_translate_text( $translated ) {
    	$translated = str_ireplace( array('Boys', 'Boy'), 'Team', $translated );
    	return $translated;
    }
    add_filter('gettext', 'wcfm_custom_2008_translate_text');
    add_filter('ngettext', 'wcfm_custom_2008_translate_text');

    Thanks!

    in reply to: Wild Cards for postal codes shipping zones #108744
    Sushobhan
    Keymaster

    Hello Craig,
    We are planning to add more muscle to our country based shipping module. As of now one can add different states and assign a shipping price for it.
    In our future release, we will introduce postcode (multiple) under states. So say under “British Columbia” you can create multiple postcode based rules and set up different shipping price for each postcode region. I think this will resolve what you want to achieve via “Zone based” shipping.
    Thanks!

    in reply to: Date format format for bookable product #108740
    Sushobhan
    Keymaster
    in reply to: Registration – Individual person & Vendor Company #108732
    Sushobhan
    Keymaster

    Hello,
    Sorry for the delay.
    Please go to Membership Settings page from Admin dashboard >> Memberships and Clicking on the Gear icon. There under General tab you need to set the Subscription First Step value to Registration. Now use your membership plan page for vendor registration and you are good to go!
    Let me know how it goes. Thanks!

Viewing 25 posts - 801 through 825 (of 1,046 total)