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 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • in reply to: Display vendor website #136647

    Hello,

    Nobody has an idea to do this? It’s important for me, I am not so far with this snippet code.

    Thanks for your help.
    Have a good day,
    Aurélien.

    in reply to: Additionnal field #126536

    Hello,

    Thanks, I activate the product custom field and I try to add a custom field.
    But I have an issue.
    The field “visibility” doesn’t work. In the dropdown list I have only “Do not show”. The other possibilities such as “with product summary” are not displayed.
    Have a look at the screenshot.

    Do you have any idea to solve this problem ?
    Thanks
    Aurélien.

    Attachments:
    You must be logged in to view attached files.
    in reply to: not display tab description when empty #126203

    Hello Sarmistha Chakraborty,

    Thank you for your return !
    It doesn’t work.
    The display of the description tab with this snippets is always empty even if there is a text inside.
    The title of the tab is also empty.
    cf. screenshot. Normally, there is a text inside the description tab on this product.

    Aurélien.

    Attachments:
    You must be logged in to view attached files.
    in reply to: modifying of View sold by advanced #125585

    Hello Sarmistha Chakraborty,

    Thank you very much ! it works fine.

    Aurélien.

    in reply to: order of appearance in adding a product page #125566

    Hi Sushobhan,

    It works perfectly. Thank you very much !

    Have a good evening !
    Aurélien

    in reply to: order of appearance in adding a product page #125218

    Hi Sushobhan,

    Thank you ! For the order of appearance it works :
    1. Dimensions
    2. Attributes
    3. Inventory

    But the tab “inventory” is not clickable anymore. Do you have a solution ?

    Thanks
    Aurélien.

    in reply to: Table with 2 columns in wcfmmp-view-sold-by-tab #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>
    in reply to: order of appearance in adding a product page #124876

    Hi Sushobhan,
    thank you for your return.
    It doesn’t work.
    I have put the file in my theme folder.
    wp-content/themes/mesmerize-pro/wcfm/products-manager/wcfm-view-products-manage-tabs.php
    I understand that I can adjust the code to display the order of appearance that suits me. It’s Ok for me.

    And that’s all ? Or I have to do another thing ?

    Thanks
    Aurélien

    in reply to: order of appearance in adding a product page #124451

    Hi,

    Thanks for your help.
    I don’t understand what I have to do ? I have to copy / paste the file wcfm-view-products-manage-tabs.php in the folder child-theme-folder/wcfm/products-manager/ ?
    And then what I have to do ?

    Have a good evening.
    Aurélien

    in reply to: Dimensions in the page of a product #124449

    Hi,

    Review of the plugin done !
    Thanks again a lot !
    Aurélien

    in reply to: Dimensions in the page of a product #123953

    Hi Sushobhan,

    It works perfectly ! Thank you very much.
    FInd attached the screenshot.
    I have just changed abbreviation H/L/W by H/L/l to be in french.

    Thanks a lot.
    Have a good day
    Aurélien.

    Attachments:
    You must be logged in to view attached files.

    hello,

    does anyone have an idea to solve this problem ?
    Please help 🙂

    Many thanks
    Bouth.

    in reply to: Workaround inventory tab – add a tag on product #87026

    Hello,

    Thanks a lot it works well !
    I would like to give the possibility for the vendor to put on his product image either “sold” or “Reserved”
    For the moment, only the possibility to put “sold” on the image works (code used below)(by using “soldout”).
    Now, I would like to add the possibility to put “Reserved” on the image. So I thnink I have to use the same type of code and use the third status object but I don’t know his name. There are “In stock”, “soldout or out of stock”, “repunishment”…I don’t know the exact name

    Do you have an idea of the code to make ?

    /* Display “Sold”=”vendu” (in french) on the image */

    add_action( ‘woocommerce_before_shop_loop_item_title’, ‘wpm_display_sold_out_loop_woocommerce’ );// On l’affiche sur la page boutique
    add_action( ‘woocommerce_single_product_summary’, ‘wpm_display_sold_out_loop_woocommerce’ );// On l’affiche sur la page du produit seul

    function wpm_display_sold_out_loop_woocommerce() {
    global $product;
    //Si le produit est en rupture de stock, on affiche :
    if ( !$product->is_in_stock() ) {
    echo ‘<span class=”soldout”>’ . __( ‘Vendu’, ‘woocommerce’ ) . ‘</span>’;
    }
    }

    in reply to: tag on the product picture #83412

    Hi,

    Thank you for your return. I asked the theme support but they asked me : “Please ask WCFM support what theme adjustments are needed for this feature and we will implement them”.
    So, could you precise me what theme adjustments are needed for this feature ?

    Thank you !
    regards
    Aurélien

    in reply to: Store logo, store banner, store list banner, Mobile Banner #82358

    Thank you very much, it works well !

    in reply to: Store logo, store banner, store list banner, Mobile Banner #78838

    Hello,

    Sure,

    A. On the initial store setting page, I would like to display the wording in french + add description text :
    1. store logo
    Translate the wording by “logo de votre galerie”
    Add a text that describes what it is used for : “Il s’agit de l’image qui sera visible par les clients dans chacune de vos annonces (au dessus de vos coordonnées). Cette image sera également visible par les clients lorsqu’ils consultent la liste des antiquaires ou la page dédiée à votre galerie. Elle apparaît sous la forme d’une petite image incorporée à votre bannière. Vous pouvez par exemple y mettre votre photo ou votre logo ou la photo de l’une de vos oeuvres”

    2. bannière
    the wording is OK, no translation needed
    Add a text that describes what it is used for : “Il s’agit de la grande image qui sera visible par les clients lorsqu’ils consultent la liste des antiquaires ou la page dédiée à votre galerie. Vous pouvez par exemple y mettre la photo d’une de vos œuvres ou la photo de votre magasin d’antiquités”

    B. In the store dashboard, I would like to display the wording in french + add description text :
    1. store logo
    Same as above
    2. store banner
    Translate the wording by “bannière”
    Add the same description as above
    3. Mobile banner
    I would like to cancel it (not displayed, because not useful)
    4. store list banner
    Translate the wording by “bannière liste antiquaires”
    Add a text that describes what it is used for : “Il s’agit de l’image de votre galerie, visible par les clients lorsqu’ils consultent la liste des antiquaires”

    Regards,
    Aurélien

    in reply to: Modify initial store settings page #78837

    Thank you ! It works well !
    Aurélien

    in reply to: Modify initial store settings page #78063

    Hello, thanks a lot, it works well !

    Could you tell me how to delete payment step in the initial store settings ?
    I try this code but it doesn’t work : add_filter( ‘wcfm_is_allow_setup_payment_settings’, ‘__return_false’ );

    Thank you
    Regards
    Aurélien.

Viewing 18 posts - 1 through 18 (of 18 total)