Forum Replies Created
- AuthorPosts
Sarmistha Chakraborty
MemberHello,
Do you create Featured product page using default WooCommerce shortcode “[featured_products]” ? Then the vendor store will appear as default. (if “Visible Sold By” option is turn-on in WCFM dashboard -> Settings -> Marketplace settings)
Thanks.
May 13, 2020 at 1:42 pm in reply to: WCFM Marketplace Default Store Logo and Banner are not shown #130343Sarmistha Chakraborty
MemberHello,
Please save both admin and vendor’s settings once again, and clear the cache, then check.
Thanks.
Sarmistha Chakraborty
MemberHello,
By-default our WCFM plugins hide “sold by” from vendor store page,
add_action('woocommerce_after_shop_loop_item_title', 'for_storepage_wcfmmp_sold_by_product', 50 ); function for_storepage_wcfmmp_sold_by_product() { global $WCFM, $WCFMmp, $product; if ( wcfm_is_store_page() ) { if( $WCFMmp->wcfmmp_vendor->is_vendor_sold_by() ) { $product_id = $product->get_id(); $vendor_id = wcfm_get_vendor_id_by_post( $product_id ); if( apply_filters( 'wcfmmp_is_allow_archive_sold_by_advanced', false ) ) { $WCFMmp->template->get_template( 'sold-by/wcfmmp-view-sold-by-advanced.php', array( 'product_id' => $product_id, 'vendor_id' => $vendor_id ) ); } else { $WCFMmp->template->get_template( 'sold-by/wcfmmp-view-sold-by-simple.php', array( 'product_id' => $product_id, 'vendor_id' => $vendor_id ) ); } } } }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/Thanks.
Sarmistha Chakraborty
MemberHello,
For this you have to override wcfm-view-wcfmmarketplace-dashboard.php file in your theme (yourtheme/wcfm/dashboard/) from “\wp-content\plugins\wc-frontend-manager\views\dashboard”.
And need to rearrange HTML.From below code we have marked the 4 sections(Notifications, Inquiries, Store Stats and Latest Topics) –
<div class="wcfm_dashboard_wc_status"> <div class="wcfm_dashboard_wc_status_data"> <?php //Notification block ?> <?php do_action( 'after_wcfm_dashboard_product_stats' ); ?> <div class="wcfm_dashboard_more_stats"> <!-----store stats block----> <?php if( apply_filters( 'wcfm_is_dashboard_more_stats', true ) && ( apply_filters( 'wcfm_is_allow_reports', true ) || apply_filters( 'wcfm_is_allow_orders', true ) ) ) { ?> <div class="page_collapsible" id="wcfm_dashboard_wc_status"> <span class="wcfmfa fa-list fa-clock"></span> <span class="dashboard_widget_head"><?php _e('Store Stats', 'wc-frontend-manager'); ?></span> </div> <div class="wcfm-container"> <div id="wcfm_dashboard_wc_status_expander" class="wcfm-content"> <ul class="wc_status_list"> <?php if( apply_filters( 'wcfm_is_allow_reports', true ) ) { ?> <?php if ( ( $top_seller = $WCFM->library->get_top_seller() ) && $top_seller->qty ) { ?> <li class="best-seller-this-month"> <a href="<?php echo apply_filters( 'sales_by_product_report_url', get_wcfm_reports_url( ), $top_seller->product_id ); ?>"> <span class="wcfmfa fa-cube"></span> <?php printf( __( '%s top seller in last 7 days (sold %d)', 'wc-frontend-manager' ), '<strong>' . get_the_title( $top_seller->product_id ) . '</strong> - ', $top_seller->qty ); ?> </a> </li> <?php } ?> <?php } ?> <?php do_action( 'after_wcfm_dashboard_sales_reports' ); ?> <?php if( apply_filters( 'wcfm_is_allow_orders', true ) ) { ?> <li class="processing-orders"> <a href="<?php echo get_wcfm_orders_url( ); ?>"> <span class="wcfmfa fa-life-ring"></span> <?php printf( _n( "<strong>%s order</strong> - processing", "<strong>%s orders</strong> - processing", $processing_count, 'wc-frontend-manager' ), $processing_count ); ?> </a> </li> <?php if( apply_filters( 'wcfm_is_allow_shipping_tracking', true ) ) { ?> <li class="on-hold-orders"> <a href="<?php echo get_wcfm_orders_url( ); ?>"> <span class="wcfmfa fa-truck"></span> <?php printf( _n( "<strong>%s product</strong> - awaiting fulfillment", "<strong>%s products</strong> - awaiting fulfillment", $unfulfilled_products, 'wc-frontend-manager' ), $unfulfilled_products ); ?> </a> </li> <?php } ?> <?php } ?> <?php do_action( 'after_wcfm_dashboard_orders' ); ?> <?php if( apply_filters( 'wcfm_is_allow_reports', true ) ) { ?> <li class="low-in-stock"> <a href="<?php echo apply_filters( 'low_in_stock_report_url', get_wcfm_reports_url( ) ); ?>"> <span class="wcfmfa fa-sort-amount-down"></span> <?php printf( _n( "<strong>%s product</strong> - low in stock", "<strong>%s products</strong> - low in stock", $lowinstock_count, 'wc-frontend-manager' ), $lowinstock_count ); ?> </a> </li> <li class="out-of-stock"> <a href="<?php echo get_wcfm_reports_url( '', 'wcfm-reports-out-of-stock' ); ?>"> <span class="wcfmfa fa-times-circle"></span> <?php printf( _n( "<strong>%s product</strong> - out of stock", "<strong>%s products</strong> - out of stock", $outofstock_count, 'wc-frontend-manager' ), $outofstock_count ); ?> </a> </li> <?php } ?> <?php do_action( 'after_wcfm_dashboard_stock_reports' ); ?> </ul> </div> </div> <?php } ?> </div> </div> <div class="wcfm_dashboard_wc_status_graph"> <?php do_action('after_wcfm_dashboard_zone_analytics'); //Store Stats?> <!--Latest Topics--> <?php if( apply_filters( 'wcfm_is_allow_notice', true ) && apply_filters( 'wcfm_is_allow_dashboard_latest_topics', true ) ) { ?> <div class="wcfm_dashboard_latest_topics"> <div class="page_collapsible" id="wcfm_dashboard_latest_topics"><span class="wcfmfa fa-bullhorn"></span><span class="dashboard_widget_head"><?php _e('Latest Topics', 'wc-frontend-manager'); ?></span></div> <div class="wcfm-container"> <div id="wcfm_dashboard_latest_topics_expander" class="wcfm-content"> <?php $args = array( 'posts_per_page' => 5, 'offset' => 0, 'orderby' => 'date', 'order' => 'DESC', 'post_type' => 'wcfm_notice', 'post_parent' => 0, 'post_status' => array('draft', 'pending', 'publish'), 'suppress_filters' => 0 ); $args = apply_filters( 'wcfm_notice_args', $args ); $wcfm_notices_array = get_posts( $args ); $wcfm_dashboard_notice_content_length = (int) apply_filters( 'wcfm_is_allow_dashboard_notice_content_length', 80 ); if( !empty( $wcfm_notices_array ) ) { foreach($wcfm_notices_array as $wcfm_notices_single) { echo '<div class="wcfm_dashboard_latest_topic"><a href="' . get_wcfm_notice_view_url($wcfm_notices_single->ID) . '" class="wcfm_dashboard_item_title"><span class="wcfmfa fa-bullhorn"></span>' . substr( $wcfm_notices_single->post_title, 0, $wcfm_dashboard_notice_content_length ) . ' ...</a></div>'; } } else { _e( 'There is no topic yet!!', 'wc-frontend-manager' ); } ?> </div> </div> </div> <?php } ?> </div> </div>Add this section above –
<div class="wcfm_dashboard_wc_reports_sales">section.Thanks.
Sarmistha Chakraborty
MemberHello,
Regarding customer registration, Go to WooCommerce > Settings > Accounts and Privacy to control options relating to customer accounts and data retention.
Turn on Allow customers to create an account on the “My account” page . Then you will find customer registration form in the “My account” page. (https://docs.woocommerce.com/document/configuring-woocommerce-settings/)Regarding Product favorites , there are many plugin for this. like https://wordpress.org/plugins/yith-woocommerce-wishlist/
Regarding Store favorites, You have to use our “Following store” functionlity. Ref : https://wclovers.com/forums/topic/about-favorite-store-vendor-shortcode-such-as-favorite-product/Hope this informations will help you.
Thanks.
Sarmistha Chakraborty
MemberHello,
Can you please provide us the page url, then we can check the page and guide you accordingly.
Thanks.
Sarmistha Chakraborty
MemberHello,
Add this js in your theme’s js file -(replace wordlen with your required word limit)
if( $('.vendor-dashboard textarea#yoast_wpseo_metadesc').length > 0 ) { var wordLen = 10, len; // Maximum word length $('.vendor-dashboard textarea#yoast_wpseo_metadesc').keydown(function(event) { len = $('.vendor-dashboard textarea#yoast_wpseo_metadesc').val().split(/[\s]+/); if (len.length > wordLen) { if ( event.keyCode == 46 || event.keyCode == 8 ) {// Allow backspace and delete buttons } else if (event.keyCode < 48 || event.keyCode > 57 ) {//all other buttons event.preventDefault(); } } }); }And add this code n your theme’s functions.php –
add_filter( 'body_class', function( $classes ) { $userid = get_current_user_id(); if(wcfm_is_vendor($userid)) { $classes = array_merge( $classes, array( 'vendor-dashboard' ) ); } return $classes; });Thanks.
May 12, 2020 at 7:34 pm in reply to: Help me default these business visibility setup and hide it for seller #130063Sarmistha Chakraborty
MemberHello,
Okay, 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/add_filter('wcfm_marketplace_settings_fields_visibility','fn_wcfm_marketplace_settings_fields_visibility_1205',9,2); function fn_wcfm_marketplace_settings_fields_visibility_1205($vendorsetting,$vendor_id) { global $WCFM, $WCFMmp; unset($vendorsetting['store_name_position']); unset($vendorsetting['store_ppp']); unset($vendorsetting['store_hide_map']); unset($vendorsetting['store_hide_description']); return $vendorsetting; }Thanks.
Sarmistha Chakraborty
MemberHello,
Try this css in your theme’s style.css
#wcfmmp-stores-lists,.wcfmmp-store-search-form { box-shadow: none !important; }Thanks.
May 12, 2020 at 7:05 pm in reply to: Help me default these business visibility setup and hide it for seller #130051Sarmistha Chakraborty
MemberHello,
We didn’t get you, Vendor already have the options(Store Name Position,Products per page etc.) in his settings page.
Thanks.
Sarmistha Chakraborty
MemberHello,
Try orderby=”alphabetical_asc” parameter in shortcode,
[wcfm_stores orderby="alphabetical_asc" per_row=4]Thanks.
May 12, 2020 at 2:20 pm in reply to: How to add wcfm available groups to the vendor registration form? #129981Sarmistha Chakraborty
MemberHello,
Regarding the problem of wc groups … I still cannot see the group directory when I click on the icon … it keeps redirecting me … How can I solve it?
>>Did you check https://wclovers.com/forums/topic/urgent-groups-staffs-pagination-not-working/ and please follow the instruction.Regarding “Store Categories” addon, contact us here – https://wclovers.com/setup-guidance/ with your topic link. We will send you the addon plugin.
Thanks.
Sarmistha Chakraborty
MemberHello,
Please check as a customer/guest user. Possibly you are checking shop page login as an admin.
Whenever any vendor goes “disabled” his products goes to “draft” status. So,as an admin can see all products, but others users can see only published product.
Hope it’s clear to you.Thanks.
Sarmistha Chakraborty
MemberHello,
Can you show me with screenshot where you find the “Please add price of product” ? By-default In product manager you can create product without price.
Thanks.
Sarmistha Chakraborty
MemberHello,
Add this css in your theme’s style.css,
#wcfm_video_tutorials, .wcfm_tutorials { display: none !important; }Thanks.
May 12, 2020 at 1:54 pm in reply to: The sub menu of the menu on the header is hidden behind the dashboard. #129964Sarmistha Chakraborty
MemberHello,
Which theme are you using? Make the header sub-menu “z-index” higher value.
(https://css-tricks.com/almanac/properties/z/z-index/)
You can share the page url, then we can check and guide you accordingly.Thanks.
Sarmistha Chakraborty
MemberHello,
Sorry, unfortunately as of now we don’t have this flexibility, wordpress default media library works that way.
Thanks.
Sarmistha Chakraborty
MemberHello,
Regarding point 1.
As of now by-fault we don’t have this feature to adding my account tabs in WCFM profile manager with my-account content.This is not possible using code snippet.
It requires serious custom development.
If you comfortable in development then we can guide you for this, otherwise you need to hire a developer for this.
Custom solution, you can do as of now in WCFM profile manager tab add “my-account” page links(orders,downloads,followings etc.), so vendor can go to the my account page from “Profile Manager dashboard”add_action( 'end_wcfm_user_profile', 'wcfmmp_profile_myaccount_order_tabs_info', 80 ); function wcfmmp_profile_myaccount_order_tabs_info($vendor_id){ $myaccount_page_id = get_option( 'woocommerce_myaccount_page_id' ); if ( $myaccount_page_id ) { $myaccount_page_url = get_permalink( $myaccount_page_id ); } ?> <div class="page_collapsible " id="wcfm_profile_form_order_info_head"> <label class="wcfmfa fa-star"></label> <a style="color:#fff;" href="<?php echo $myaccount_page_url.'orders';?> "><?php _e('Orders', 'wc-multivendor-marketplace'); ?><span></span></a> </div> <script type="text/javascript"> jQuery('#wcfm_profile_form_order_info_head').on( 'click',function(e) { $(this).find('a').click(); }); </script> <?php } add_action( 'end_wcfm_user_profile', 'wcfmmp_profile_myaccount_download_tabs_info', 82 ); function wcfmmp_profile_myaccount_download_tabs_info($vendor_id){ $myaccount_page_id = get_option( 'woocommerce_myaccount_page_id' ); if ( $myaccount_page_id ) { $myaccount_page_url = get_permalink( $myaccount_page_id ); } ?> <div class="page_collapsible " id="wcfm_profile_form_downloads_info_head"> <label class="wcfmfa fa-star"></label> <a style="color:#fff;" href="<?php echo $myaccount_page_url.'downloads';?> "><?php _e('Downloads', 'wc-multivendor-marketplace'); ?><span></span></a> </div> <script type="text/javascript"> jQuery('#wcfm_profile_form_downloads_info_head').on( 'click',function(e) { $(this).find('a').click(); }); </script> <?php } add_action( 'end_wcfm_user_profile', 'wcfmmp_profile_myaccount_following_tabs_info', 83 ); function wcfmmp_profile_myaccount_following_tabs_info($vendor_id){ $myaccount_page_id = get_option( 'woocommerce_myaccount_page_id' ); if ( $myaccount_page_id ) { $myaccount_page_url = get_permalink( $myaccount_page_id ); } ?> <div class="page_collapsible " id="wcfm_profile_form_followings_info_head" > <label class="wcfmfa fa-star"></label> <a style="color:#fff;" href="<?php echo $myaccount_page_url.'followings';?> "><?php _e('Followings', 'wc-multivendor-marketplace'); ?><span></span></a> </div> <script type="text/javascript"> jQuery('#wcfm_profile_form_followings_info_head').on( 'click',function(e) { $(this).find('a').click(); }); </script> <?php }2.) Feature suggestion:
>>Thanks for the suggestion, we will try to keep this in our future road-mapThanks.
Sarmistha Chakraborty
MemberHello,
Sorry please explain little more what do mean by “drop shadow “(screenshot with mark the “drop shadow”)
Can you share us the page url. So, we can check your site.Thanks.
Sarmistha Chakraborty
MemberHello,
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/
add_filter('wcfm_login_redirect','fn_wcfm_login_redirect_1205',10,2); function fn_wcfm_login_redirect_1205($redirect_to, $user) { if ( isset($user->roles) && is_array($user->roles) ) { if ( in_array( 'vendor', $user->roles ) ) { $redirect_to = '<your product page url>'; } elseif ( in_array( 'seller', $user->roles ) ) { $redirect_to = '<your product page url>'; } elseif ( in_array( 'wcfm_vendor', $user->roles ) ) { $redirect_to = '<your product page url>'; } elseif ( in_array( 'dc_vendor', $user->roles ) ) { $redirect_to = '<your product page url>'; } } return $redirect_to; }Thanks.
May 12, 2020 at 11:48 am in reply to: Help me default these business visibility setup and hide it for seller #129890Sarmistha Chakraborty
MemberHello,
Set “Store Name Position” and “Products per page” from admin WCFM dashboard -> Settings-> Marketplace settings, that will reflect vendor’s settings page by-default value. And by-default “hide map from business” and “hide about from business” default value is false(unchecked)
Thanks.
Attachments:
You must be logged in to view attached files.Sarmistha Chakraborty
MemberYou are welcome 🙂
is it possible to enable/include “File/Image Upload” Field Type in the Inquiry Form
>>Sorry, unfortunately as of now we don’t have this feature.Thanks.
Sarmistha Chakraborty
MemberContact here with your topic link and let us know in this thread, we dev team will get back to you via mail.
Thanks.Sarmistha Chakraborty
MemberHello,
Make sure “Checkout User Location” is turn-off from WCFM store dashboard -> Marketplace settings -> “Checkout User Location”
Thanks.
Attachments:
You must be logged in to view attached files.Sarmistha Chakraborty
MemberHello,
Maybe because of global pandemic issue the theme support has stopped providing support temporarily. You can send us your version of theme here – https://wclovers.com/setup-guidance/, then we can check this.
Let us know after send the theme.Thanks.
- AuthorPosts