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 - 451 through 475 (of 1,046 total)
  • Author
    Posts
  • in reply to: Delete "wcfm-sell-items-catalog" #126347
    Sushobhan
    Keymaster

    Hi,
    Are you using any other Stripe plugin in your site except WCFM Stripe Split pay?
    Also, check at wp-admin -> WooCommerce -> Status -> Logs -> wcfm-stripe log -> is any error generated?
    Thanks You!

    in reply to: URL adresse web site vendor #126335
    Sushobhan
    Keymaster

    Hello,
    Sorry about that, forgot to check for the empty url (not yet set by the vendor) case. Please replace your previous snippet with this new one –

    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' => esc_url( $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 = esc_url_raw( $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 = esc_url( wcfm_get_user_meta( $vendor_id, '_wcfm_vendor_website_url' ) );
            if ( $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; ?>" target="_blank" rel="noopener noreferrer"><?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';
    }

    Also last time I forgot to explain the behavior of this code, so here it is-
    -This code will add a new capability ‘Website’ under each group, see pic- https://imgur.com/dmXiGXQ
    -Then all the vendors of that group will get a new field under their settings page like this- https://imgur.com/v1oD1Ri
    -Now, when a vendor set this field with a valid URL, then this information will be visible on their store page like this – https://imgur.com/gNp8cpV

    Thank You!

    in reply to: Delete "wcfm-sell-items-catalog" #126164
    Sushobhan
    Keymaster

    Hello,
    PayPal Adaptive Payments is not available for new integrations. Its an old API and seems like PayPal abandoned it. Check here- https://imgur.com/bZDYH8O
    So do you have a PayPal Adaptive account?
    Thank You!

    in reply to: Delete "wcfm-sell-items-catalog" #126152
    Sushobhan
    Keymaster

    Hi,
    At this moment PayPal doesn’t offer any solution to split the customer money (between marketplace admin and vendor) during checkout. So, we use standard PayPal to make direct 1-to-1 fund transfer (customer to vendor). Hence, multiple vendor product is not supported in a single cart.
    But, if Stripe or WireCard(Moip) is supported in your country then you can use any of them. Both, these payment methods doesn’t have any limitation on cart items. To know more visit here- https://docs.wclovers.com/vendor-payment/
    Thank You!

    in reply to: Logout Redirection #126076
    Sushobhan
    Keymaster

    Hello,
    It’s not a good idea to edit anything without ftp. If anything goes wrong, like a fatal error, then you can’t recover it from frontend.
    To add snippets from wp-admin, use this plugin – https://wordpress.org/plugins/code-snippets/. It’s much better than editing theme’s functions.php using theme editor option.
    Finally, the error you are seeing, is not related to the code. If possible use the plugin I mentioned or ftp.
    Thanks!

    Sushobhan
    Keymaster
    This reply has been marked as private.
    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.

    Sushobhan
    Keymaster
    This reply has been marked as private.
    in reply to: order of appearance in adding a product page #125647
    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.

    Sushobhan
    Keymaster

    Hi,
    Thanks for getting in touch with us!
    Yes, that’s absolutely possible. Please use the following snippet-

    add_action( 'wcfmmp_new_store_created', function( $vendor_id, $wcfmmp_settings ) {
        global $wpdb;
        $store_user = get_user_by( 'id', $vendor_id );
        $first_name = $store_user->first_name;
        $last_name = $store_user->last_name;
        if ( $first_name || $last_name ) {
            $store_name = trim( "{$first_name} {$last_name}" );
            $store_slug = sanitize_title( wc_clean( $store_name) );
            update_user_meta( $vendor_id, 'store_name', $store_name );
            update_user_meta( $vendor_id, 'wcfmmp_store_name', $store_name );
            $wcfmmp_settings['store_name'] = $store_name;
            update_user_meta( $vendor_id, 'wcfmmp_profile_settings', $wcfmmp_settings );
            $wpdb->query( "UPDATE {$wpdb->prefix}users SET user_nicename = '{$store_slug}' WHERE ID =  $vendor_id" );
        }
    }, 50, 2 );
    add_filter( 'wcfm_is_allow_store_name', '__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!

    Sushobhan
    Keymaster

    Hello,
    It’s a issue with the theme’s ajax filtering. It seems, the result is replacing the old DOM tree with the new one. See, when we disable shop page ajax filter from Urus >> Theme Options >> WooCommerce >> Shop Filters, it’s working fine.
    We will need to check the theme’s implementation of this ajax call. For that I’ll require an FTP access. When sharing the access, please don’t forget to mark the reply as private.
    Thank you!

    in reply to: No response from your team yet.. #125517
    Sushobhan
    Keymaster

    Hello,
    Sorry we make you feel that way. I can see you have a support thread unanswered for very long time. Somehow it fall through the cracks.
    We will look into it and provide you a solution within next 24 hours.
    Please be patient a while longer.
    Thank You.

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

    As I mentioned earlier, right now only import from csv is supported. Synchronizing from external API is possible but has to be custom coded.
    Thank You!

    in reply to: Delete "wcfm-sell-items-catalog" #125470
    Sushobhan
    Keymaster

    Hi,

    Are you using WCFM – Direct PayPal Pay plugin – https://wordpress.org/plugins/wc-frontend-manager-direct-paypal/? This plugin imposes a restriction that one order will contain products from only one vendor.

    Let me know!

    in reply to: Logout Redirection #125468
    Sushobhan
    Keymaster

    Sorry! The code wasn’t working. It was redirecting you to that page and not logging you out. Here is the updated code-

    add_filter( 'wcfm_logout_url', function( $logout_url ) {
        if ( wcfm_is_vendor() ) {
            return 'https://abaaexpress.com.ng/seller-login/';
        }
        return $logout_url;
    } );
    add_filter( 'woocommerce_get_endpoint_url', function($url, $endpoint, $value, $permalink) {
        if ( $permalink === 'https://abaaexpress.com.ng/seller-login/' ) {
            return add_query_arg( 'wcfm_logout', 'yes', $permalink );
        }
        return $url;
    }, 10, 4 );
    function redirect_page() {
        global $wp;
        if ( ! empty( $_REQUEST['wcfm_logout'] ) && ! empty( $_REQUEST['_wpnonce'] ) && wp_verify_nonce( sanitize_key( $_REQUEST['_wpnonce'] ), 'customer-logout' ) ) {
            wp_safe_redirect( str_replace( '&', '&', wp_logout_url( esc_url_raw( 'https://abaaexpress.com.ng/seller-login/' ) ) ) );
            exit;
        }
    }
    add_action( 'template_redirect', 'redirect_page' );

    This should be a one line code but due to a known bug in WooCommerce, we have to take this ugly route!
    Let me know how it goes.
    Thank You!

    in reply to: order of appearance in adding a product page #125441
    Sushobhan
    Keymaster

    Oh! Sorry about that. I should have tested my code 🙁
    Please use the following snippet instead.

    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' );
                  $stock = $form.find( '.products_manage_inventory' );
                  group = [ $stock, $stock.next(), $stock.next().next() ];
                  $form.find( '.products_manage_linked' ).before(group);
                }, 0 );
              }
            } );
        </script>
        <?php
    } );

    Let me know how it goes.
    Thank You!

    in reply to: Cambiar idioma correos electrónicos #125429
    Sushobhan
    Keymaster

    Hello,
    You’ll need to use Loco Translate https://wordpress.org/plugins/loco-translate/ for all translation purposes. This guide will help you getting started- https://localise.biz/wordpress/plugin/beginners
    After activating the plugin go to Loco Translate >> Plugins and search for phrases in wc-frontend-manager and wc-multivendor-marketplace text doamin.
    Thank You!

    in reply to: Delivery module features #125297
    Sushobhan
    Keymaster

    Hi,
    I’m happy to tell you that, this feature is now supported in WCFM Delivery addon. Read more from here- https://docs.wclovers.com/delivery-time/
    Thank You!

    Sushobhan
    Keymaster

    It seems like a css issue. Kindly provide me your website url.
    Thank You!

    in reply to: Vendor Data on Order Metadata #125195
    Sushobhan
    Keymaster

    The function is correct. No data implies, that vendor doesn’t fill his/her location details.
    Thank You!

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

    Sorry I think I misunderstood your query, the first time.
    Do you just want to change this text /store/ from vendor store url? You can change it from WCFM admin dashboard >> Settings >> Marketplace Settings >> Vendor Store URL.
    Let me know if that helps!

    in reply to: Delete "wcfm-sell-items-catalog" #125193
    Sushobhan
    Keymaster

    Well, that is the default payment flow of WCFM marketplace. When customer made a purchase the amount gets transferred to the admin account and then admin disburse vendors part of payment.
    Though using our Paypal direct plugin https://wordpress.org/plugins/wc-frontend-manager-direct-paypal/ you can change this behavior and then it will send the entire amount to vendor.
    Also, there are two split payment methods (Stripe and WireCard) by using which customer payment can be split and transferred to both vendor and the admin at the same time.
    You can read more about the supported payment methods from here- https://docs.wclovers.com/vendor-payment/
    Thank You!

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

    Thank you. It means a lot to us! 🙂

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

    Hello,
    We recommend every theme from our compatible theme page. Choose any of them. Most of them provides a lot of demos to serve different niche.
    Thank You.

    in reply to: What is the product option called "catalog" #125189
    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.

Viewing 25 posts - 451 through 475 (of 1,046 total)