Forum Replies Created
- AuthorPosts
Sarmistha Chakraborty
MemberThis reply has been marked as private.November 7, 2019 at 5:08 pm in reply to: Remove "Change or Upgrade your current membership plan" #91297Sarmistha Chakraborty
MemberHi,
Try this code to your child theme’s style.css,
div#wcfm_profile_manage_form_membership_expander h2 { display: none; }Thanks.
Sarmistha Chakraborty
MemberHello,
The above code you are using, it’s for adding tab in vendor store page(front-end).
If you want “brendtab” (https://www.ktdizajn.hr/popust/oglasivac/trgovina1/brendtab/) shows dynamic data from vendor settings page you have to override wcfmmp-view-store.php in your theme(For editing copy this to yourtheme/wcfm/store).
Add below code in switch case in the wcfmmp-view-store.php page,case 'brendovi': $WCFMmp->template->get_template( 'store/wcfmmp-view-store-brendovi.php', array( 'store_user' => $store_user, 'store_info' => $store_info ) ); break;For getting dynamic data in the wcfmmp-view-store-brendovi.php template paste the below code there(https://www.ktdizajn.hr/popust/oglasivac/trgovina1/brendtab/),
<?php $vendor_id = $store_user->get_id(); $wcfm_vendor_brendovi = get_user_meta( $vendor_id, 'wcfm_vendor_brendovi', true ); ?>And remove the code “add_filter(‘wcfmmp_store_default_template’)” from your code;
Regarding “brendovi” tab in vendor settings page(Add this code to your child theme’s functions.php),
add_action( 'end_wcfm_vendor_settings', function( $vendor_id ) { global $WCFM, $WCFMmp; $wcfm_vendor_brendovi = get_user_meta( $vendor_id, 'wcfm_vendor_brendovi', true ); ?> <!-- collapsible --> <div class="page_collapsible" id="wcfm_settings_form_min_order_amount_head"> <label class="wcfmfa fa-cart-plus"></label> <?php _e('Brendovi', 'wc-frontend-manager'); ?><span></span> </div> <div class="wcfm-container"> <div id="wcfm_settings_form_vendor_invoice_expander" class="wcfm-content"> <?php $WCFM->wcfm_fields->wcfm_generate_form_field( array( "wcfm_vendor_brendovi_options" => array('label' => __('Brendovi', 'wc-frontend-manager'), 'type' => 'textarea', 'class' => 'wcfm-textarea wcfm_ele wcfm_full_ele', 'label_class' => 'wcfm_title wcfm_ele wcfm_full_ele_title', 'value' => $wcfm_vendor_brendovi ), ) ); ?> </div> </div> <div class="wcfm_clearfix"></div> <!-- end collapsible --> <?php }, 500 ); add_action( 'wcfm_vendor_settings_update', function( $vendor_id, $wcfm_settings_form ) { global $WCFM, $WCFMmp; if( isset( $wcfm_settings_form['wcfm_vendor_brendovi_options'] ) ) { $wcfm_vendor_brendovi = $wcfm_settings_form['wcfm_vendor_brendovi_options']; update_user_meta( $vendor_id, 'wcfm_vendor_brendovi', $wcfm_vendor_brendovi ); } }, 500, 2 );Thanks.
November 7, 2019 at 11:20 am in reply to: The booking plugin does not appear on the vendor page #91252Sarmistha Chakraborty
MemberHello,
After activate “woocommerce booking” plugin, go to the “Capability” tab in admin WCFM dashboard, and turn on booking capabilities for vendor.
Thanks.
Attachments:
You must be logged in to view attached files.Sarmistha Chakraborty
MemberHi,
Can you please explain it with screenshot.
Thanks.
November 6, 2019 at 6:02 pm in reply to: How to have "products" and "Vendors" on website's main menu #91138Sarmistha Chakraborty
MemberHello,
We presume that you want add “vendor” menu in your main menu.
Then hover on “vendor” -> see “all vendors” under the “vendor” menu.
Like,
Vendor -> All vendors -> All categories(hover on specific vendor) -> All products(hover on specific category).it will require us to custom code hence please contact us here for the purpose – https://wclovers.com/woocommerce-multivendor-customization/
Thanks.
Sarmistha Chakraborty
MemberHello,
You can see in vendor settings tab under their setting panel. Please find attachment.
Thanks.
Attachments:
You must be logged in to view attached files.Sarmistha Chakraborty
MemberHello,
Unfortunately as of now we have no option for bulk product delete. You can edit multiple products at a time(status change,price change etc.).
Thanks.
November 6, 2019 at 5:02 pm in reply to: Customization of Booking list in Bookings menu in WC Frontend Manager #91128Sarmistha Chakraborty
MemberHello,
We presume you want resource name in booking list, in booking tab vendor can see the resource name for each and every booking.
If you are looking for something else please send us the screenshot where you want to add “select resource” in your site.Thanks.
Attachments:
You must be logged in to view attached files.Sarmistha Chakraborty
MemberHello,
Yes, in booking tab vendor can see the resource name for each and every booking. Please find attachment.
Thanks.
Attachments:
You must be logged in to view attached files.November 6, 2019 at 4:14 pm in reply to: Any way to add "Follow button" on Single Product page? #91090Sarmistha Chakraborty
MemberHello,
To “add a Follow button into vendor info card” to single product page try this code,
add_action( 'after_wcfmmp_sold_by_label_single_product', function( $vendor_id ) { echo do_shortcode( '[wcfm_follow label="Follow" store="'.$vendor_id.'"]' ); });Thanks.
Sarmistha Chakraborty
MemberHi,
As of now we have no option for bulk product delete. You can edit multiple products at a time(status change,price change etc.).
We implement this functionality in our future plugin update.Thanks.
November 6, 2019 at 11:17 am in reply to: Is there a shortcode or variable to access the "My Store" value? #91025Sarmistha Chakraborty
MemberHello,
The above code add a menu “My store” for vendor in main menu location.
Please send us the screenshot where you want to add menu link in your site.Thanks.
Sarmistha Chakraborty
MemberHello,
unfortunately this isn’t provided by default and it will require custom coding to incorporate this. Please feel free to get in touch with us via wclovers.custom@gmail.com for discussing further on this feature enhancement.
Thanks.
Sarmistha Chakraborty
MemberHello,
Turn off the “Disable Store Setup Widget” settings and add below style to your child theme’s style.css
.wcfm_membership_thankyou_content_wrapper .wcfm_submit_button:last-of-type { display:none; }Thanks.
Attachments:
You must be logged in to view attached files.Sarmistha Chakraborty
MemberHello,
Can you share us the details of your site. We need to check your site. Because by default About tab shows all the entire text.
Thanks.
Sarmistha Chakraborty
MemberHello,
To remove “social” tab from vendor profile page try the below style,
div#sm_profile_form_social_head { display: none; }For “add social tab in store setting page” it will require us to custom code the stuff mapping with WCFM’s structure hence it’s best if you can get in touch with us via wclovers.custom@gmail.com for discussing this further.
Thanks.
November 5, 2019 at 5:59 pm in reply to: Is there a shortcode or variable to access the "My Store" value? #90814Sarmistha Chakraborty
MemberHello,
Try the below code,
add_filter( 'wp_nav_menu_items', 'your_custom_menu_item', 10, 2 ); function your_custom_menu_item ( $items, $args ) { if(is_user_logged_in()) { $current_user_id = get_current_user_id(); //$args->theme_location == <menu location> if ($args->theme_location == 'primary' && wcfm_is_vendor($current_user_id)) { $store_url = wcfmmp_get_store_url( $current_user_id ); $items .= '<li><a href="'.$store_url.'">'.__('My Store','wc-multivendor-marketplace').'</a></li>'; } } return $items; }Thanks.
Sarmistha Chakraborty
MemberHello,
In WCFM dashboard, go to the products tab and filter by “store name”.
Then you can delete the specific vendor’s product.Thanks.
Attachments:
You must be logged in to view attached files.August 21, 2019 at 7:33 pm in reply to: New Install: Site's sticky header covers the header of dashboard #77683Sarmistha Chakraborty
MemberHello,
Can you share us your site access. So that we can debug the issue in your site.
Thank you.
Sarmistha Chakraborty
MemberHi,
Try this code to hide the products tab on the vendor’s store page
add_filter( 'wcfmmp_store_tabs', 'new_wcfmmp_store_tabs',90,2); function new_wcfmmp_store_tabs($store_tabs, $vendor_id) { unset($store_tabs['products']); return $store_tabs; } add_filter('wcfmp_store_default_query_vars',function($tab,$vendor_id){ return 'about'; },20,2);Update the plugins(WCFM Marketplace) before adding this code.
Let me know if it is ok.Thank You for your patience.
Sarmistha Chakraborty
MemberThis reply has been marked as private.Sarmistha Chakraborty
MemberHello,
Can you share us your site and ftp access. So, we can debug the issue in your site.
We presume that you have already updated the plugins.Thank You.
Sarmistha Chakraborty
MemberHi,
Try this code to hide the products tab on the vendor’s store page if the vendor has no products
add_filter( 'wcfmmp_store_tabs', 'new_wcfmmp_store_tabs',90,2); function new_wcfmmp_store_tabs($store_tabs, $vendor_id) { if(get_wcfm_vendor_have_product($vendor_id) < 1) { unset($store_tabs['products']); } return $store_tabs; } add_filter('wcfmp_store_default_query_vars',function($tab,$vendor_id){ if(get_wcfm_vendor_have_product($vendor_id) < 1) { return 'about'; } else { return 'products'; } },20,2); function get_wcfm_vendor_have_product($vendor_id) { $args=array( 'post_type' => 'product', 'post_status' => 'publish', 'author' => $vendor_id ); $have_products = get_posts( $args ); return count($have_products); }Copy the code at the end of functions.php of your activated theme. Also update the plugin(WCFM Marketplace) before adding this code.
Let me know if it is ok.Thank You for your patience.
- AuthorPosts