Archives

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!

Best Multi Vendor Marketplace Plugin for WordPress › Forums › Search › Search Results for 'update'

Viewing 25 results - 301 through 325 (of 4,410 total)
  • Author
    Search Results
  • bobobrothers
    Participant

    I think I may have found a bug in the store shipping options. I noted it in a video I did for our vendors:
    https://byfarmers.market/help/setting-vendor-shipping-methods
    That video shows the general shipping settings. The bug is presented about about 3:20. You may want to watch some of the rest of it to see context but I play with all the settings and demonstrate that YOU MUST change (change, not set) the processing time in order for the shipping methods to update in the cart. You can change all the settings and they are correct, but if you don’t change the processing time, nothing updates in the cart. If I change it from “read for shipping in” to 1 day, then save, settings work. If I then change it back to default “ready to ship in”, changes STILL WORK. So, processing time doesn’t have to be set, simply changed. The video should demonstrate this fully and I made it for my vendors. Love the product. Thanks

    bryanwp
    Participant

    The WCFM REST API has the ability to view orders, but not UPDATE order. Is there another way to update the order via REST API?

    Thanks.

    #125569
    sarah
    Participant

    This was an issue on the WordPress 5.4 update. They just released 5.4.1 and it appears to be working now (still testing in my stage environment).

    #125487
    EK
    Participant

    Hi,

    Any update about this? 🙂 I noticed this is not yet part of the new updates? 😉

    thanks,

    #125468

    In reply to: Logout Redirection

    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!

    #125390
    EK
    Participant
    This reply has been marked as private.
    #125325

    You are always welcome 🙂

    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.

    We are closing this topic.

    Thanks.

    atfirststep
    Participant

    1

    https://ibb.co/3WXB6X8

    both admin and vendor’s order state update button is not work

    2

    the Mark shiped(Shipment Tracking Info) can active only’completed’ order states
    also
    If order state is ‘shiped’ but woocommerce’s order state still not changed.

    how can I fix it?

    #125235
    alexdezi
    Participant

    awesome! so importing variable products shouldn’t be a problem either?

    I wonder if there is a way that a vendor can create a google sheet file with their products and the products are updated via a cronjob via the google sheet?

    I know that WP ALL Import plugin has that functionality, but I am not sure if it works for different vendor (with different sources from where to get the data). Do yoou know a plugin for that? That would make things really way more easy.

    Thank you!

    #125232

    I did it!
    I managed to connect STRIPE to the site. It’s not that simple 🙂
    Ok, but now the problem is that if I go to insert two items from different sellers in the cart, I get this error:
    “Well, you already have some item in your cart. First checkout with those and then purchase other items!”
    I only activated STRIPE from the WCFM administration and not Stripe Split Pay.

    Update:
    Same problem I had with Paypal:
    I purchased the product in a test shop that I connected on STRIPE (but without opening an account) and the payment came to me, the site administrator and not to the shop owner.

    Thanks

    #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.

    #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.

    #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.

    #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!

    #125163
    WCFM Forum
    Member

    We have added “Delivery Time” module in latest WCFM – Delivery addon update.

    Check details here.

    WCFM – Delivery is essential for this module to work.

    Thank You

    #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!

    #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.

    #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!

    #125050
    paul-8288
    Participant

    You probably have test data switched on in WCFM payment settings, dont forget to update the keys with the ones from your live stripe settings. Also from that screenshot it looks like your creating express or custom accounts in stripe, if you want standard accounts, have a look at the fix I posted here
    https://wclovers.com/forums/topic/connect-vendors-to-stripe/

    If you want to carry on testing, try using it with this card number, in test mode this forces it to use a 3D secure card and where it keeps failing for me.
    4000000000003220.

    But if you get it setup live, let me know.

    #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.

    #124955

    In reply to: Turning Off a Store

    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!

    #124951
    Sushobhan
    Keymaster

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

    #124916

    In reply to: Fatal error

    senior_gamal
    Participant
    This reply has been marked as private.
    #124883

    In reply to: Turning Off a Store

    bobobrothers
    Participant

    Has this functionality been updated yet? I have a fake shop I use for testing and one vendor who is not ready yet. When I offline their store, the products still appear. So I changed it to disabled and then the “sold by” tag was removed from the products so that when you go to products on the back end as admin, you can still see the products but there is no “sold by tag”. When I re-enabled the shop, they came back.

    Anyway, we need a way to disable a shop AND their products at the same time. It seems kind of silly to me. If a store is disabled, why would their products still be available? In order for me to completely hide the fake store, I have to disable it AND go edit all the products myself to hide them. That doesn’t make it very easy to turn my fake store off and back on for testing purposes.

    Thanks

    #124877

    Hello,

    Any idea to do this ?
    I try with this code (adding html balise such as : <html><body><table><tr><td></td><td></td></tr></table></body></html>) but it doesn’t work

    Thanks
    Aurélien

    <html><body>
    <table>
    <tr>
    <td>
    <?php
    /**
     * The Template for displaying store.
     *
     * @package WCfM Markeplace Views Store Sold By as Tab
     *
     * For edit coping this to yourtheme/wcfm/sold-by
     *
     */
    
    if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    
    global $WCFM, $WCFMmp;
    
    $vendor_id = $WCFM->wcfm_vendor_support->wcfm_get_vendor_id_from_product( $product_id );
    if( $vendor_id ) {
    	if( apply_filters( 'wcfmmp_is_allow_sold_by', true, $vendor_id ) && $WCFM->wcfm_vendor_support->wcfm_vendor_has_capability( $vendor_id, 'sold_by' ) ) {
    		// Check is store Online
    		$is_store_offline = get_user_meta( $vendor_id, '_wcfm_store_offline', true );
    		if ( $is_store_offline ) {
    			return;
    		}
    			
    		$sold_by_text = $WCFMmp->wcfmmp_vendor->sold_by_label( absint($vendor_id) );
    		
    		
    		if( apply_filters( 'wcfmmp_is_allow_sold_by_linked', true ) ) {
    			$store_name = $WCFM->wcfm_vendor_support->wcfm_get_vendor_store_by_vendor( absint($vendor_id) );
    		} else {
    			$store_name = $WCFM->wcfm_vendor_support->wcfm_get_vendor_store_name_by_vendor( absint($vendor_id) );
    		}
    		
    		$store_user  = wcfmmp_get_store( $vendor_id );
    		$store_info  = $store_user->get_shop_info();
    		
    		$gravatar = $store_user->get_avatar();
    		$email    = $store_user->get_email();
    		$phone    = $store_user->get_phone(); 
    		$address  = $store_user->get_address_string(); 
    		
    		echo '<div class="wcfmmp_sold_by_container">';
    		do_action('before_wcfmmp_sold_by_gravatar_product_page', $vendor_id );
    		echo '<div class="wcfmmp_store_tab_info wcfmmp_store_info_gravatar"><img src="' . $store_user->get_avatar() . '" /></div>';
    		do_action('before_wcfmmp_sold_by_label_product_page', $vendor_id );
    		echo '<div class="wcfmmp_sold_by_wrapper">' . $store_name . '</div>';
    		if( apply_filters( 'wcfm_is_pref_vendor_reviews', true ) ) { $WCFMmp->wcfmmp_reviews->show_star_rating( 0, $vendor_id ); }
    		do_action('after_wcfmmp_sold_by_label_product_page', $vendor_id );
    		
    		do_action('before_wcfmmp_sold_by_info_product_page', $vendor_id );
    		
    		if( $address && ( $store_info['store_hide_address'] == 'no' ) && $WCFM->wcfm_vendor_support->wcfm_vendor_has_capability( $vendor_id, 'vendor_address' ) ) {
    			echo '<div class="wcfmmp_store_tab_info wcfmmp_store_info_address"><i class="wcfmfa fa-map-marker" aria-hidden="true"></i>' . $address . '</div>';
    		}
    		
    		if( $email && ( $store_info['store_hide_email'] == 'no' ) && $WCFM->wcfm_vendor_support->wcfm_vendor_has_capability( $vendor_id, 'vendor_email' ) ) {
    			echo '<div class="wcfmmp_store_tab_info wcfmmp_store_info_address"><i class="wcfmfa fa-envelope" aria-hidden="true"></i>' . $email . '</div>';
    		}
    		
    		if( $phone && ( $store_info['store_hide_phone'] == 'no' ) && $WCFM->wcfm_vendor_support->wcfm_vendor_has_capability( $vendor_id, 'vendor_phone' ) ) {
    			echo '<div class="wcfmmp_store_tab_info wcfmmp_store_info_address"><i class="wcfmfa fa-phone" aria-hidden="true"></i><span>' . $phone . '</div>';
    		}
    		
    		do_action('after_wcfmmp_sold_by_info_product_page', $vendor_id );
    		
    		if( apply_filters( 'wcfmmp_is_allow_sold_by_social', true ) ) {
    			if( !empty( $store_info['social'] ) && $WCFM->wcfm_vendor_support->wcfm_vendor_has_capability( $store_user->get_id(), 'vendor_social' ) ) { 
    				do_action('before_wcfmmp_sold_by_social_product_page', $vendor_id ); ?>
    				<div class="wcfm_cearfix"></div>
    				<div class="wcfmmp_store_tab_info wcfmmp_store_info_store_social">
    					<?php $WCFMmp->template->get_template( 'store/wcfmmp-view-store-social.php', array( 'store_user' => $store_user, 'store_info' => $store_info ) ); ?>
    				</div>
    				<div class="wcfm_cearfix"></div>
    			 
    				<?php do_action('after_wcfmmp_sold_by_social_product_page', $vendor_id );
    			}
    		}
    		
    		if( apply_filters( 'wcfmmp_is_allow_sold_by_about', false ) ) {
    			$wcfm_shop_description = apply_filters( 'woocommerce_short_description', $store_user->get_shop_description() );
    			?>
    			<?php if( $wcfm_shop_description ) { ?>
    				<div class="wcfm-store-about" style="font-style:italic;">
    					<div class="wcfm_store_description" ><?php echo $wcfm_shop_description; ?></div>
    				</div>
    			<?php 
    			}
    		}
    		
    		if( apply_filters( 'wcfmmp_is_allow_sold_by_location', true ) ) {
    			$api_key = isset( $WCFMmp->wcfmmp_marketplace_options['wcfm_google_map_api'] ) ? $WCFMmp->wcfmmp_marketplace_options['wcfm_google_map_api'] : '';
    			$store_lat    = isset( $store_info['store_lat'] ) ? esc_attr( $store_info['store_lat'] ) : 0;
    			$store_lng    = isset( $store_info['store_lng'] ) ? esc_attr( $store_info['store_lng'] ) : 0;
    	
    			if ( !empty( $api_key ) && !empty( $store_lat ) && !empty( $store_lng ) && $WCFM->wcfm_vendor_support->wcfm_vendor_has_capability( $store_user->get_id(), 'vendor_map' ) ) {
    				echo '<div class="wcfmmp_store_tab_info wcfmmp_store_info_store_location">';
    				do_action( 'before_wcfmmp_sold_by_location_product_page', $store_user->get_id() );
    			
    				$WCFMmp->template->get_template( 'store/widgets/wcfmmp-view-store-location.php', array( 
    																											 'store_user' => $store_user, 
    																											 'store_info' => $store_info,
    																											 'store_lat'  => $store_lat,
    																											 'store_lng'  => $store_lng,
    																											 'map_id'     => 'wcfm_sold_by_tab_map_'.rand(10,100)
    																											 ) );
    		
    				do_action( 'after_wcfmmp_sold_by_location_product_page', $store_user->get_id() );
    				echo '</div>';
    				
    				wp_enqueue_script( 'wcfmmp_store_js', $WCFMmp->library->js_lib_url . 'store/wcfmmp-script-store.js', array('jquery' ), $WCFMmp->version, true );
    				$scheme  = is_ssl() ? 'https' : 'http';
    				wp_enqueue_script( 'wcfm-store-google-maps', $scheme . '://maps.googleapis.com/maps/api/js?key=' . $api_key . '&libraries=places' );
    			}
    		}
    		
    		echo '</div>';
    
    	}
    }
    ?>
    </td>
    
    /**
     * Description tab
     *
     * This template can be overridden by copying it to yourtheme/woocommerce/single-product/tabs/description.php.
     *
     * HOWEVER, on occasion WooCommerce will need to update template files and you
     * (the theme developer) will need to copy the new files to your theme to
     * maintain compatibility. We try to do this as little as possible, but it does
     * happen. When this occurs the version of the template file will be bumped and
     * the readme will list any important changes.
     *
     * @see 	    https://docs.woocommerce.com/document/template-structure/
     * @package 	WooCommerce/Templates
     * @version     2.0.0
     */
    <td bgcolor="#CCCCCC">
    <?php
    if ( ! defined( 'ABSPATH' ) ) {
    	exit; // Exit if accessed directly
    }
    
    global $post;
    $heading = esc_html( apply_filters( 'woocommerce_product_description_heading', __( '', 'woocommerce' ) ) );
    
    ?>
    
    <?php if ( $heading ) : ?>
      <h2><?php echo $heading; ?></h2>
    <?php endif; ?>
    
    <?php the_content(); ?>
    </td>
    </tr>
    </table>
    </body></html>
Viewing 25 results - 301 through 325 (of 4,410 total)