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 - 476 through 500 (of 1,046 total)
  • Author
    Posts
  • in reply to: Show Vendor Products with Shortcode #125188
    Sushobhan
    Keymaster

    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 (if you haven’t already) 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: order of appearance in adding a product page #125187
    Sushobhan
    Keymaster

    Sorry, about that. When revisiting the issue I found a easier approach. Please use the following snippet for your purpose (template overriding not required)-

    add_action( 'after_wcfm_products_manage', function() {
        ?>
        <script>
            jQuery( document ).ready( function ( $ ) {
              if ( $( '#wcfm_products_manage_form' ).length ) {
                setTimeout( function () {
                  $form = $( '#wcfm_products_manage_form' );
                  $inventory = [
                    $form.find( '.products_manage_inventory' ).next().next().clone( true ).end().remove(),
                    $form.find( '.products_manage_inventory' ).next().clone( true ).end().remove(),
                    $form.find( '.products_manage_inventory' ).clone( true ).end().remove()
                  ];
                  $form.find( '.products_manage_linked' ).before( $inventory.reverse() );
                }, 0 );
              }
            } );
        </script>
        <?php
    } );

    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 this goes.
    Thanks!

    in reply to: Store name as username #125173
    Sushobhan
    Keymaster

    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 (if you haven’t already) 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: Incorrect field reference #125172
    Sushobhan
    Keymaster

    Hello,
    I’ll pass this to my dev team to add a separate filter just to show the ‘Sold by’ label in the frontend. But, till then you can use this updated snippet. I believe this will not give you any unpleasant surprises.

    add_filter( 'wcfmmp_sold_by_label', function($sold_by_label, $vendor_id) {
        if ( ( ! is_admin() || defined( 'DOING_AJAX' ) ) && ! defined( 'DOING_CRON' ) && ! is_wcfm_page() ) {
            return $sold_by_label;
        }
        return __( 'Store', 'wc-multivendor-marketplace' );
    }, 10, 2 );

    Please remove the previous code and replace with this new one.
    Thank You!

    in reply to: Duplicate Product not Working #125162
    Sushobhan
    Keymaster

    Hello,
    This error is not related with WCFM or the code that was provided.
    This comes from a library used by your theme. Apparently this issue was resolved some time back. Are you using an older version of the theme? If yes, then please update.
    I also search for this error and found this link with a probable solution- https://stackoverflow.com/questions/21773376/bootstrap-trying-to-load-map-file-how-to-disable-it-do-i-need-to-do-it
    Let me know if it works.
    Thank You!

    in reply to: Synchronization of Products from external source #125159
    Sushobhan
    Keymaster

    Hi,
    Yes, your vendors can upload their products directly from their dashboard. Product will gets uploaded with all the WooCommerce product fields which includes price, stock, sku etc. Even custom meta’s are supported.
    This feature is part of WCFM Ultimate https://wclovers.com/product/woocommerce-frontend-manager-ultimate/
    Thank You!

    in reply to: Store name as username #125157
    Sushobhan
    Keymaster

    Hi,
    Have you tried the steps I told you. It should do what you want.
    I think you might get confused with the ‘My Store’ label, just beside the vendor store logo. Ref: https://imgur.com/WrNZ4P9. Go to the store page and ther you will see the store name same as username.
    If you want, you can change ‘My Store’ label from WCFM admin dashboard >> Settings >> Dashboard >> My Store Label. By default this text is same for all the vendors, but that too can be customised using the following snippet-

    add_filter( 'wcfm_store_name', function($store_name) {
        $store_user = wcfmmp_get_store();
        if($store_user) {
            $vendor_id = $store_user->get_id();
            $store_open_by = apply_filters( 'wcfm_shop_permalink_open_by', 'target="_blank"', $vendor_id );
            $shop_link       = wcfmmp_get_store_url( $vendor_id );
            return '<a ' . $store_open_by . ' href="' . apply_filters('wcfmmp_vendor_shop_permalink', $shop_link) . '">' . ucfirst( $store_user->get_shop_name() ) . '</a>';
        }
        return $store_name;
    }, 11 );

    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 this goes.
    Thanks!

    in reply to: Code error about "Add Articles To Store Tabs" #125126
    Sushobhan
    Keymaster

    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 (if you haven’t already) 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: URL adresse web site vendor #125125
    Sushobhan
    Keymaster

    Hello,
    Use the following code for this purpose-

    add_action( 'wcfm_capability_settings_fields_settings_inside', function($fields) {
        global $wp, $wcfmgs_capability_manager_options;
        if ( is_wcfm_page() && ! empty( $wp->query_vars['groups-manage'] ) ) {
            $external_url = ( isset( $wcfmgs_capability_manager_options['external_url'] ) ) ? $wcfmgs_capability_manager_options['external_url'] : 'no';
            $fields['external_url'] = array(
                'label'       => 'Website',
                'name'        => "wcfmgs_capability_manager_options[external_url]",
                'type'        => 'checkboxoffon',
                'class'       => 'wcfm-checkbox wcfm_ele',
                'value'       => 'yes',
                'label_class' => 'wcfm_title checkbox_title',
                'dfvalue'     => $external_url,
            );
        }
        return $fields;
    } );
    add_filter( 'wcfm_marketplace_settings_fields_general', function($field, $user_id) {
        if ( can_vendor_show_url( $user_id ) && isset( $field['store_slug'] ) ) {
            $website_url = wcfm_get_user_meta( $user_id, '_wcfm_vendor_website_url' );
            $field['website_url'] = array( 'label' => __( 'Website' ), 'type' => 'text', 'class' => 'wcfm-text wcfm_ele', 'label_class' => 'wcfm_title  wcfm_ele', 'value' => $website_url );
        }
        return $field;
    }, 10, 2 );
    
    add_action( 'wcfm_vendor_settings_update', function( $vendor_id, $wcfm_settings_form ) {
        global $WCFM, $WCFMmp;
        if ( isset( $wcfm_settings_form['website_url'] ) ) {
            $website_url = $wcfm_settings_form['website_url'];
            wcfm_update_user_meta( $vendor_id, '_wcfm_vendor_website_url', $website_url );
        }
    }, 500, 2 );
    
    add_action( 'wcfmmp_store_after_email', function($vendor_id) {
        if ( can_vendor_show_url( $vendor_id ) ) {
            $website_url = wcfm_get_user_meta( $vendor_id, '_wcfm_vendor_website_url' );
            ?>
            <div class="store_info_parallal wcfmmp_store_header_website" style="margin-right: 10px;">
                <i class="wcfmfa fa-globe" aria-hidden="true"></i>
                <span>
                    <a href="<?php echo $website_url; ?>"><?php echo $website_url; ?></a>
                </span>
            </div>
            <?php
        }
    } );
    
    function can_vendor_show_url( $vendor_id ) {
        if ( ! (wcfm_is_vendor( $vendor_id )) )
            return false;
        $wcfm_vendor_groups = array_filter( (array) get_user_meta( $vendor_id, '_wcfm_vendor_group', true ) );
        if ( ! $wcfm_vendor_groups )
            return false;
        $vendor_capability_options = (array) apply_filters( 'wcfmgs_user_capability', get_option( 'wcfm_capability_options' ), $vendor_id );
        $external_url = isset( $vendor_capability_options['external_url'] ) ? $vendor_capability_options['external_url'] : 'no';
        return $external_url === 'no';
    }

    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 this goes.
    Thanks!

    in reply to: Code error about "Add Articles To Store Tabs" #125063
    Sushobhan
    Keymaster

    Hi,
    Each theme has it’s own structure, so we keep this part flexible with hooks. Use the following snippet for this purpose, though you might need to write some css to make the look consistent.

    add_filter( 'wcfm_is_allow_store_articles', '__return_true' );
    
    add_action( 'wcfmmp_before_store_article', function($author_id) {
        get_template_part( 'page-parts/general-before-wrap' );
    } );
    
    add_action( 'wcfmmp_before_store_article_loop', function($author_id) {
        $blog_type = sq_option( 'blog_type', 'masonry' );
        $blog_type = apply_filters( 'kleo_blog_type', $blog_type );
    
        if ( sq_option( 'blog_switch_layout', 0 ) == 1 ) { /* Blog Layout Switcher */
            kleo_view_switch( sq_option( 'blog_enabled_layouts' ), $blog_type );
        }
        do_action( 'kleo_before_blog_outer_content' );
        if ( $blog_type == 'masonry' ) {
        ?>
            <div class="row responsive-cols kleo-masonry per-row-<?php echo sq_option( 'blog_columns', 3 ); ?>">
        <?php
        }
    } );
    
    add_action( 'wcfmmp_store_article_template', function($author_id) {
        $blog_type = sq_option( 'blog_type', 'masonry' );
        $blog_type = apply_filters( 'kleo_blog_type', $blog_type );
        if ( $blog_type != 'standard' ) {
            get_template_part( 'page-parts/post-content-' . $blog_type );
        } else {
            get_template_part( 'content', get_post_format() );
        }
    } );
    
    add_action( 'wcfmmp_after_store_article_loop', function($author_id) {
        //Specific class for post listing */
        $blog_type = sq_option( 'blog_type', 'masonry' );
        $blog_type = apply_filters( 'kleo_blog_type', $blog_type );
        
        if ( $blog_type == 'masonry' ) {
            echo '</div>';
        }
        // page navigation.
        kleo_pagination();
    } );
    
    add_action( 'wcfmmp_store_article_template_none', function($author_id) {
        // If no content, include the "No posts found" template.
        get_template_part( 'content', 'none' );
    } );
    
    add_action( 'wcfmmp_after_store_article', function($author_id) {
        do_action( 'kleo_after_blog_outer_content' );
        get_template_part( 'page-parts/general-after-wrap' );
    } );

    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 this goes.
    Thanks!

    in reply to: Hide Stores #125046
    Sushobhan
    Keymaster

    Hi,
    Yes, has_product=”true” is the correct way of doing this.
    Thank You

    in reply to: Stripe 3D Secure and SCA #125009
    Sushobhan
    Keymaster

    Hi,
    For 3D secure payments we are already using PaymentIntent API.
    Thank You!

    in reply to: Price doesn't display on choosing a available variation* #125006
    Sushobhan
    Keymaster

    Hello,
    Can you please specify the steps, how to produce this behavior?
    Looking forward to helping you.
    Thanks!

    in reply to: Creating a video link #125001
    Sushobhan
    Keymaster

    Hello,
    This feature should be supported by the booking plugin you use. So, please contact the booking plugin (the one you are using) author and find out how to do that.
    By the way, which booking plugin are you using? You can take look at the WCFM Marketplace supported booking plugins from here- https://wclovers.com/wcfm-compatible-plugins/
    Looking forward to helping you.
    Thank You!

    in reply to: pincode based vendor selection #124999
    Sushobhan
    Keymaster

    Hello,
    This is not how WCFM or any marketplace plugin works. It might be possible but with huge customization.
    Thank You!

    in reply to: Setup WCFM without store page #124988
    Sushobhan
    Keymaster

    Hi,
    You can simply add a 301 redirect rule to redirect anyone to your listing page when they try to access the /shop/ page directly.
    Let me know how it goes.
    Thank You!

    in reply to: wcfm_buttons #124980
    Sushobhan
    Keymaster

    Hello,
    That was a very old thread and that settings is no more relevant. Please use the following code-
    add_filter( 'wcfm_is_allow_catalog_product_manage', '__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/
    Let me know how this goes.
    Thanks!

    in reply to: Cambiar idioma correos electrĂłnicos #124976
    Sushobhan
    Keymaster

    Hi,
    You can change the content of this email directly from frontend. Go to WCFM admin dashboard >> Memberships >> Settings (cog-wheel icon at the extreme right) >> Welcome Email and make your changes.
    Let me know how it goes.
    Thank You!

    in reply to: WCFM Marketplace Plugin EXTREMELY Slow #124973
    Sushobhan
    Keymaster

    Hello,

    Thank you for contacting the support and sorry for any inconvenience that might have been caused due to that.

    Assuming you are using the latest version of all the plugins and the themes (please update if not yet), it could be a conflict with one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    Please let us know if you find the cause.

    Looking forward to helping you.

    n.b.: You can disable all the modules that you are not using from WCFM admin dashboard >> Settings >> Modules to further optimize the dashboard page.

    in reply to: Hide Stores #124970
    Sushobhan
    Keymaster

    Hello,
    If you mark a store offline, then all it’s products gets archived. The offline vendor can still access those products from their dashboard. See here- https://imgur.com/ziCfxWX
    Looking forward to helping you.

    in reply to: Turning Off a Store #124955
    Sushobhan
    Keymaster

    Hi,
    When you disabled a vendor then all of their products gets archived. That means it will be hidden from the front end users.
    It’ll not show in the WCFM admin dashboard >> Products page as well. To confirm this, go to wp-admin >> Products page and there you can see them under Archived products.
    Are you getting a different behavior? If your are not using an older version, I’ll request you to update the plugin.
    Looking forward to helping you.
    Thank You!

    in reply to: top-level domain .bio is not accepted in the email #124951
    Sushobhan
    Keymaster

    Great.. Thanks for the update.
    Let me know if there’s anything else we can help you with.
    Thank You!

    in reply to: store-manager error #124949
    Sushobhan
    Keymaster

    Hi,

    Thank you for contacting the support and sorry for any inconvenience that might have been caused due to that.

    At first look, it seems more of a hosting problem than anything else. I think PHP is not correctly configured.

    To confirm this, install “Health Check” plugin https://wordpress.org/plugins/health-check/. On the troubleshooting tab, you can click the button to disable all plugins for you, while you’re still logged in, without affecting normal visitors to your site. For more details follow this tutorial- https://rankmath.com/kb/check-plugin-conflicts/.

    If your problem is not related to any plugin or theme conflict, then contact your hosting.

    Looking forward to helping you.

    in reply to: Which theme should I use? #124946
    Sushobhan
    Keymaster

    Hi,
    Thanks for getting in touch with us!
    The themes you mentioned, are all highly appreciated by their users and all of them are fully compatible with us. Please choose the theme that matches your requirement the most. For a complete list of WCFM supported themes, visit here- https://wclovers.com/wcfm-compatible-themes/
    Looking forward to helping you.

    in reply to: Stripe 3D Secure and SCA #124723
    Sushobhan
    Keymaster

    Hi,
    By default the connect button connects to express account, but if needed can be changed to Standard. Though you can’t mix it. If you want to change it to Standard then use the following code-
    add_filter( 'wcfm_is_allow_stripe_express_api', '__return_false' );
    I hope this answers your question.
    Thank You!

Viewing 25 posts - 476 through 500 (of 1,046 total)