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 - 976 through 1,000 (of 1,046 total)
  • Author
    Posts
  • in reply to: Inquiries Tab message #93603
    Sushobhan
    Keymaster

    Use the following snippet to do that.

    add_filter( 'wcfm_is_pref_enquiry_button', '__return_false' );
    function my_wcfm_enquiry_button() {
        echo do_shortcode('[wcfm_enquiry]');
    }
    add_action( 'woocommerce_single_product_summary', 'my_wcfm_enquiry_button', 35 );

    Thanks!

    in reply to: how to prevent use of spam mails during registration #93475
    Sushobhan
    Keymaster

    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.

    in reply to: Email Templates for Shipping in WCFM Ultimate #93412
    Sushobhan
    Keymaster
    This reply has been marked as private.
    in reply to: Email Templates for Shipping in WCFM Ultimate #93228
    Sushobhan
    Keymaster
    This reply has been marked as private.
    in reply to: Inquiries Tab message #93205
    Sushobhan
    Keymaster

    Please give me a snapshot of the issue.

    Sushobhan
    Keymaster

    Are you using WooCommerce Product Search or default WordPress search? Setting up the product’s ‘Catalog visibility’ as ‘Shop only’ is the right thing to do here. Please ensure using WooCommerce Product Search widget.

    Sushobhan
    Keymaster

    Hi,
    The hook is correct, all you need is to additionally check for the vendor role.

    function disallow_vendor_product_preview($cap) {
        if(wcfm_is_vendor()) return false;
        return $cap;
    }
    add_filter( 'wcfm_is_allow_product_preview', 'disallow_vendor_product_preview' );

    Let me know if there’s anything else we can help you with.

    in reply to: Disable edit on existing product in the "Edit Product" form. #93107
    Sushobhan
    Keymaster

    If you want, you can uncheck ‘Edit Live Products’ capability of the vendor. This will stop vendors to edit their existing products. But if you want to selectively disallow editing for certain fields then you need to custom code that.

    in reply to: Upgrading membership keeps the old subscription #93085
    Sushobhan
    Keymaster

    That’s great. Let me know if there’s anything else we can help you with.

    Sushobhan
    Keymaster

    try using the following code –

    function vendor_registration_date_shortcode( $attr ) {
        global $post;
        $store_id = '';
        if ( isset( $attr['id'] ) && ! empty( $attr['id'] ) ) {
            $store_id = absint( $attr['id'] );
        }
        if ( wcfm_is_store_page() ) {
            $wcfm_store_url = get_option( 'wcfm_store_url', 'store' );
            $store_name = apply_filters( 'wcfmmp_store_query_var', get_query_var( $wcfm_store_url ) );
            $store_id = 0;
            if ( ! empty( $store_name ) ) {
                $store_user = get_user_by( 'slug', $store_name );
                $store_id = $store_user->ID;
            }
        }
        if ( is_product() ) {
            $store_id = $post->post_author;
        }
        if( !$store_id ) return;
        $register_on = abs( get_user_meta( $store_id, 'wcfm_register_on', true ) );
        $today = strtotime( "now" );
        $diff = abs( $today - $register_on );
        $years = floor( $diff / (365 * 24 * 60 * 60) );
        $months = floor( ($diff - $years * 365 * 24 * 60 * 60) / (30 * 24 * 60 * 60) );
        $days = floor( ($diff - $years * 365 * 24 * 60 * 60 - $months * 30 * 24 * 60 * 60) / (24 * 60 * 60) );
        $total_duration = '';
        if ( $years || $months || $days ) {
            if ( $years )
                $total_duration .= sprintf( _n( '%s year ', '%s years ', $years ), $years );
            if ( $months )
                $total_duration .= sprintf( _n( '%s month ', '%s months ', $months ), $months );
            if ( $days )
                $total_duration .= sprintf( _n( '%s day ', '%s days ', $days ), $days );
            return sprintf( 'Joined %sago', $total_duration );
        }
        return 'Joined Today';
    }
    
    // register shortcode
    add_shortcode( 'vendor_registration_date', 'vendor_registration_date_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/

    In the Elementor code block use the following shortcode –
    [vendor_registration_date id=”]

    in reply to: Chat module that doesnt rely on TalkJS (it's pricing is insane) #93066
    Sushobhan
    Keymaster

    Hi @tahitibora1, Thanks for showing your interest. We will prioritize this in coming days. As of now, you can use the existing TalkJS version.

    in reply to: Email Templates for Shipping in WCFM Ultimate #92971
    Sushobhan
    Keymaster
    This reply has been marked as private.
    Sushobhan
    Keymaster

    You cannot add PHP code to Elementor, as it is not supported. Instead you can use shortcodes, there is an Elementor block for that. Use the following shortcode to get your desired result –
    [wcfm_store_info id='' data='register_on']

    in reply to: Email Templates for Shipping in WCFM Ultimate #92961
    Sushobhan
    Keymaster
    This reply has been marked as private.
    Sushobhan
    Keymaster

    Hi,
    Yes it is definitely in our to-do list. Though, for last couple of months it does not get enough attention due to our other commitments and priorities. We will resume this as soon as possible. As of now, sharing a timeline would be difficult.
    Thanks

    in reply to: How to show store info & banner on single product page? #92933
    Sushobhan
    Keymaster

    Hello,
    The code you are using is fine. All you need is to specify attributes of the shortcode, id and data. Now as per the documentation if you use this shortcode in store sidebar then it will automatically get current store id and you may just leave this parameter, which is not the case here. You are using this in single product page. So here you need to specify the vendor id. In data attribute you can use any of the following types –
    store_name, store_url, store_address, store_email, store_phone, store_gravatar, store_banner, store_support, store_social, store_location, store_rating

    Take a look at the modified code snippet-

    add_action( 'woocommerce_before_single_product', 'wc_print_storeinfo', 10 );
    
    function wc_print_storeinfo() {
        global $product, $WCFM;
        $id = $product->get_id();
        $vendor_id = $WCFM->wcfm_vendor_support->wcfm_get_vendor_id_from_product( $id );
        echo do_shortcode( "[wcfm_store_info id='".$vendor_id."' data='store_email']" );
    }

    Thanks

    Sushobhan
    Keymaster

    At first you need to tell me where you want to show this information. Share me the vendor profile image after marking your the position. Based on that I can suggest you the appropriate hook or filter name. In that function body you will need to add those two lines.

    in reply to: Email Templates for Shipping in WCFM Ultimate #92919
    Sushobhan
    Keymaster

    Are you using any 3rd party shipping plugin here? If that is the case, please disable it and then check it.

    in reply to: Email Templates for Shipping in WCFM Ultimate #92918
    Sushobhan
    Keymaster
    This reply has been marked as private.
    in reply to: I can't display Chat Box #92899
    Sushobhan
    Keymaster

    Live chat module is only for customer-vendor chat. There is no separate option for vendor-vendor chat. You can continue using the same chat for vendor-vendor purpose but then vendors can’t differentiate between chats with customers and with fellow vendors. Restricting the module only for vendors (via custom coding) will stop customer-vendor chat option.

    If you want a separate channel for your vendors to communicate much like a forum/one-to-one chat, then you might need to hire someone and custom code it. Alternatively, you can also contact us here for the purpose – https://wclovers.com/woocommerce-multivendor-customization/

    Thanks

    in reply to: Email Templates for Shipping in WCFM Ultimate #92796
    Sushobhan
    Keymaster
    This reply has been marked as private.
    in reply to: I can't display Chat Box #92784
    Sushobhan
    Keymaster

    In that case, please provide me a demo access to further debug this. Also don’t forget to mark this as private.

    in reply to: Database Versioning for Multiple Environments #92782
    Sushobhan
    Keymaster

    The easiest way to do this if your hosting supports that. Many hosting company like ‘WP Engine’ provides one-click staging tool. Just talk to your hosting company, they can guide you better on this.

    Also, there are several plugins out there like WP Staging https://wordpress.org/plugins/wp-staging/. Though, we haven’t tested this plugin from our side.

    in reply to: I can't display Chat Box #92761
    Sushobhan
    Keymaster

    Hi,
    Can you please confirm you are getting “Chat Box” menu under your admin settings page (ref – https://ibb.co/dbVN1w2).
    Thanks

    in reply to: Email Templates for Shipping in WCFM Ultimate #92760
    Sushobhan
    Keymaster

    Which email subject and body you want to change? There are a lot of them. Last time you asked about “Shipment Tracking” email and I told you the template path, are you referring to any other emails?

    To debug the 2nd issue I’ll need your site address. Later, I might need backend access as well.

    Thanks

Viewing 25 posts - 976 through 1,000 (of 1,046 total)