Forum Replies Created
- AuthorPosts
Sarmistha Chakraborty
MemberHi,
In our demo(https://wcfmmp.wcfmdemos.com/my-account/) we have used “oceanwp” theme https://wordpress.org/themes/oceanwp/
Regarding shopping cart, cart opton comes from Woocommerce plugin (https://wordpress.org/plugins/woocommerce/).It is woocommerce default feature.Thanks.
Sarmistha Chakraborty
MemberHello,
We didn’t get you. Can you please explain your requirement/issue.
Thanks.
March 12, 2020 at 1:37 pm in reply to: Label is just a dot. What Language String is this please? #111309Sarmistha Chakraborty
MemberHello,
Most probably it is “Catalog visibility:”.
To check this further we’ll require a temporary access of your site. When sharing the access, please don’t forget to mark the reply as private.Thanks.
Sarmistha Chakraborty
MemberHello,
You need to override the “wcfm-view-products-manage.php” in your activate theme
<your theme folder>/wcfm/products-manager/wcfm-view-products-manage.php
then the conditionif(empty($product_id))beforeif( apply_filters( 'wcfm_is_allow_category', true ) && apply_filters( 'wcfm_is_allow_pm_category', true ) )andadd_filter( 'wcfm_product_manage_fields_general', function( $fields, $product_id, $product_type, $wcfm_is_translated_product, $wcfm_wpml_edit_disable_element ) { if($product_id != 0) { $fields['product_type']['class']='wcfm_block_hide'; } return $fields; }, 50, 5 );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/How can i hide wcfm left column menu only for vendor.
>>Can you explain with screenshot which section do you want to remove from vendorThanks.
Sarmistha Chakraborty
MemberHello,
We have disabled the “Mandatory attributes” snippets.(PFA)
This code is creating the issue.Now is working fine.Thanks.
Attachments:
You must be logged in to view attached files.March 11, 2020 at 3:51 pm in reply to: wcfm frontend manager ultimate on mobile device, vendor cannot add new product #111170Sarmistha Chakraborty
MemberHi,
There is “Add new Product” icon , PFA
Thanks.
Attachments:
You must be logged in to view attached files.Sarmistha Chakraborty
MemberHello,
Please use “Loco Translate (https://wordpress.org/plugins/loco-translate/)” plugin, translation will be very easy for you.
Select the plugin Loco Translate -> Plugins -> “WCFM – WooCommerce Multivendor Marketplace” for changing ‘Search by City’ and ‘Search by ZIP’Thanks
Sarmistha Chakraborty
MemberHello,
#orders_details_general_expander .wc-customer-user { display: none; }Add this css to your child theme’s style.css
Thanks.
Sarmistha Chakraborty
MemberHello,
You are always welcome 🙂
For another issue, please explain little more. We didn’t get you And kindly create another topic for this.
Thanks.
March 11, 2020 at 12:24 pm in reply to: Change "Add Product" button on store vendor mobile dashboard #111137Sarmistha Chakraborty
MemberHi,
if( $has_new = apply_filters( 'wcfm_add_new_product_sub_menu', true ) ) { echo '<a id="add_new_product_dashboard" class="add_new_wcfm_ele_dashboard text_tip" href="'.get_wcfm_edit_product_url().'" data-tip="' . __('Add New Product', 'wc-frontend-manager') . '"><span class="wcfmfa fa-cube"></span><span class="text">' . __( 'Add New', 'wc-frontend-manager') . '</span></a>'; }In this
<span class="wcfmfa fa-cube"></span>replace with your text or icon.
Example :<span class="wcfmfa fa-cube"></span>replace with<span class="wcfm-txt">' . __( 'Add New', 'wc-frontend-manager') . '</span>Thanks.
Sarmistha Chakraborty
MemberYou 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 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.March 10, 2020 at 6:19 pm in reply to: remove tool tip and move field description to below field. #110949Sarmistha Chakraborty
MemberHello,
For “Advance” menu,
Add this code,add_filter( 'wcfm_product_manage_fields_advanced', function( $advance_fields, $product_id ) { if( isset( $advance_fields['menu_order'] ) ) { $advance_fields['menu_order']['desc'] = $advance_fields['menu_order']['hints']; $advance_fields['menu_order']['desc_class'] = 'wcfm_page_options_desc'; unset( $advance_fields['menu_order']['hints'] ); } if( isset( $advance_fields['purchase_note'] ) ) { $advance_fields['purchase_note']['desc'] = $advance_fields['purchase_note']['hints']; $advance_fields['purchase_note']['desc_class'] = 'wcfm_page_options_desc'; unset( $advance_fields['purchase_note']['hints'] ); } return $advance_fields; }, 50, 2 );Regarding all tooltip in WCFM,
Like above script you have to write in similar way for different filters.
example: For inventory SKU,add_filter( 'wcfm_product_fields_stock', function( $fields, $product_id, $product_type ) { $fields['sku']['desc'] = $fields['sku']['hints']; $fields['sku']['desc_class'] = 'wcfm_page_options_desc'; unset( $fields['sku']['hints'] ); return $fields; }, 50, 3 );You can find filters in
wp-content/plugins/wc-frontend-manager/views/products-manager/wcfm-view-products-manage-tabs.phpfile.Thanks.
Sarmistha Chakraborty
MemberHi,
For this please override your “wcfmu-view-wcappointments-dashboard.php” template in your theme
<your theme folder>/wcfm/wc_appointments/wcfmu-view-wcappointments-dashboard.phpand remove the “Create Appointable” section.Thanks.
Sarmistha Chakraborty
MemberHello,
add_filter( 'wcfm_add_new_product_sub_menu','__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/And add new menu in admin dashboard->settings->Menu manager (PFA)
Thanks.
Attachments:
You must be logged in to view attached files.March 10, 2020 at 4:46 pm in reply to: Change "Add Product" button on store vendor mobile dashboard #110936Sarmistha Chakraborty
MemberHello,
You have override the template “wcfm-view-products.php” in your theme
<your theme folder>/wcfm/views/products/wcfm-view-products.phpthen change icon replace with<span class="wcfmfa fa-cube"></span>.Thanks.
Sarmistha Chakraborty
MemberHello,
hide the button add product
>> Add this code to your child theme’s functions.php
add_filter( 'wcfm_add_new_product_sub_menu','__return_false');and enable the capability “Add Products”in the product page: https://prnt.sc/rd8kuo
in the add to my store page: https://prnt.sc/rd8l42
>> Add this code to your child theme’s functions.phpadd_filter( 'body_class', function( $classes ) { $userid = get_current_user_id(); if(wcfm_is_vendor($userid)) { $classes = array_merge( $classes, array( 'vendor-dashboard' ) ); } return $classes; });And
Add this css to your child theme’s style.css.vendor-dashboard .wcfm_products_filter_wrap,.vendor-dashboard .wcfm_sell_items_catalog_filter_wrap { display: none; }hide it in the stores list page https://prnt.sc/rda5oc
>>Add this code to your child theme’s functions.phpadd_filter('wcfmmp_stores_args',function($args, $attr, $search_data){ $args['search'] = false; $args['filter'] = false; return $args; },10,3);Thanks.
March 10, 2020 at 3:32 pm in reply to: I tried to make changes on new product page tabs (Horizontal to vertical) #110921Sarmistha Chakraborty
MemberHello,
It will be helpful if you send us a vendor access(with site url). We need to check your site then we can guide you accordingly.
Thanks.
Sarmistha Chakraborty
MemberHello,
Hello,
Kindly click on “Sync” button in loco translate editor (PFA). Hope that will help to solve your issue.
Thanks.
Attachments:
You must be logged in to view attached files.Sarmistha Chakraborty
MemberHello,
#2
also I want to hide the button add product
>> Regarding this, off the capability “Add Products” (PFA)#4
in the store manager dashboard I want to remove these from the store stats
0 products – awaiting fulfillment
0 products – low in stock
0 products – out of stock
#6
in the reports, I want to hide these two reports 1. Low in stock 2. Out of stock
>>Regarding 4&6,.wcfm_dashboard_more_stats #wcfm_dashboard_wc_status_expander .on-hold-orders,.wcfm_dashboard_more_stats #wcfm_dashboard_wc_status_expander .low-in-stock,.wcfm_dashboard_more_stats #wcfm_dashboard_wc_status_expander .out-of-stock { display: none; } ul.wcfm_reports_menus > li.wcfm_reports_menu_item:nth-last-of-type(-n+2) { display: none; }Add this css to your child theme’s style.css
Thanks.
Sarmistha Chakraborty
MemberHello,
For hiding “Hide Map from Store” settings,
add_filter( 'wcfm_marketplace_settings_fields_visibility', function( $fiels, $vendor_id ) { unset($fiels['store_hide_map']); return $fiels; }, 50,2 );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,
You have to write,
add_action( 'after_wcfmmp_product_multivendor_clone','doSomeThing',10 ,2 ); function doSomeThing($duplicate_id, $product) { //add your php code here }Ref: https://developer.wordpress.org/reference/functions/do_action/
Thanks.
Sarmistha Chakraborty
MemberHi,
Please go through the function “wcfmmp_product_multivendor_clone”. The action “after_wcfmmp_product_multivendor_clone” is a php code which we provide you.
If you want add some javascript, then add below script in your “js” file –jQuery(document).ready(function ($) { $('.wcfm_product_multivendor').click(function(event) { alert("I am an alert box!"); }); });Thanks.
Sarmistha Chakraborty
MemberHello,
For removing “location map” setting form vendor settings(PFA), yes
add_filter( 'wcfm_is_allow_store_map_location', '__return_false' );this code you have to write in your activate theme’s functions.php. you can share your site details then we can check your site.Thanks.
Attachments:
You must be logged in to view attached files.Sarmistha Chakraborty
MemberHello,
You can use this action
do_action( 'after_wcfmmp_product_multivendor_clone', $duplicate->get_id(), $product );
You can check this php file<wc-multivendor-marketplace>/core/class-wcfmmp-product-multivendor.php
function name: wcfmmp_product_multivendor_cloneThanks.
Sarmistha Chakraborty
MemberHello,
Yes using this you can hide location map from vendor settings. Can you tell where you add this code? Or you can share your site details then we can check your site.
Thanks.
- AuthorPosts