Forum Replies Created
- AuthorPosts
- Sarmistha ChakrabortyMember
We have also added css –
div#wcfm_products_manage_form_auction_options_head { display:none !important; }
Thanks.
Sarmistha ChakrabortyMemberHello,
Follow the reply #128413.
To get field value the code will be –get_user_meta( $vendor_id, 'mileage', true )
Thanks.
Sarmistha ChakrabortyMemberHello,
We have removed this “Auction tab” using below code-
add_action('init',function(){ remove_filter('wcfm_product_type_default_tab', 'uwa_vendor_support_default_tab'); }); add_filter( 'wcfm_product_manage_fields_auction_options', function( $options, $product_id,$auction_product ) { $options['woo_ua_opening_price']['attributes']['data-required'] = 0; return $options; }, 50, 3 );
Please be advise for further queries regarding auction contact with the “Ultimate WooCommerce Auction Pro-Business ” plugin support. The plugin has added our WCFM support.
Thanks.
Sarmistha ChakrabortyMemberThis reply has been marked as private.May 26, 2020 at 8:01 pm in reply to: Automatically use store banner as mobile banner and store list banner #135450Sarmistha ChakrabortyMemberHello,
It’s feasible only if “Banner type” is set as “Static image”.
So, to achieve this you can hide all other fields “Store Banner Type”,”Mobile Banner”,”Store List Banner” ect.
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//****hide fields****/ add_filter('wcfm_marketplace_settings_fields_brand', 'wcfm_marketplace_settings_fields_general_custom2605', 50, 2 ); add_filter('wcfm_marketplace_settings_fields_general', 'wcfm_marketplace_settings_fields_general_custom2605', 50, 2 ); function wcfm_marketplace_settings_fields_general_custom2605($general_fields,$vendor_id) { unset($general_fields['banner_type']); unset($general_fields['banner_video']); unset($general_fields['banner_slider']); unset($general_fields['mobile_banner']); unset($general_fields['list_banner_type']); unset($general_fields['list_banner']); unset($general_fields['list_banner_video']); return $general_fields; } /****save banner image to mobile and list banner mage****/ add_action( 'wcfm_wcfmmp_settings_update','fn_wcfm_vendor_settings_custom_update_2605', 30, 2); add_action( 'wcfm_vendor_settings_update','fn_wcfm_vendor_settings_custom_update_2605', 30, 2); function fn_wcfm_vendor_settings_custom_update_2605($user_id, $wcfm_settings_form ){ global $WCFM; $wcfm_settings_form_data_new = array(); parse_str($_POST['wcfm_settings_form'], $wcfm_settings_form_data_new); $wcfm_settings_form_data_mobilelistdata = array(); if( isset($wcfm_settings_form_data_new['banner']) ) { if( !empty($wcfm_settings_form['banner']) ) { $wcfm_settings_form_data_mobilelistdata['mobile_banner'] = $WCFM->wcfm_get_attachment_id($wcfm_settings_form_data_new['banner']); $wcfm_settings_form_data_mobilelistdata['list_banner'] = $WCFM->wcfm_get_attachment_id($wcfm_settings_form_data_new['banner']); } else { $wcfm_settings_form_data_mobilelistdata['mobile_banner'] = ''; $wcfm_settings_form_data_mobilelistdata['list_banner'] = ''; } } $wcfm_settings_form = array_merge( $wcfm_settings_form, $wcfm_settings_form_data_mobilelistdata ); update_user_meta( $user_id, 'wcfmmp_profile_settings', $wcfm_settings_form ); }
Thanks.
Sarmistha ChakrabortyMemberHello,
Sorry, your requirement is not so clear. Can you explain little more about your requirement(if possible with screenshot)
Thanks.
Sarmistha ChakrabortyMemberHello,
The snippet you gave me fro traslating the rad more text does work, but when searching a product it does not change the text. I would like to replace “continua a leggere” with something else
>>Sorry, but we don’t find any reply of ours regarding “Read More” text change. We have checked your screenshot, it seems like for post the “read more” button is appearing. So, please translate the text “Read more” from your theme.I also would like to change text highlighted and remove the request tab.
>>This is all are WooCommerce and Booking plugin customization. Please contact for this type of customizations with respected plugins support.Thanks.
Sarmistha ChakrabortyMemberYes, you are right.
As of now we have https://yithemes.com/themes/plugins/yith-woocommerce-auctions/ and https://codecanyon.net/item/woocommerce-simple-auctions-wordpress-auctions/6811382 auction plugin support. (https://wclovers.com/wcfm-compatible-plugins/)
So you can hide this section using css.
If you unable to hide this section using css, you can provide us the link with temporary access(Set as private reply), then we can guide you accordingly.Thanks.
Sarmistha ChakrabortyMemberHello,
This is not possible using code snippet.
It requires good custom development, and this will be a paid one.
And this requirement not related to WCFM plugins. So, please contact WooCommerce Support for this kind of customization.Thank You
Sarmistha ChakrabortyMemberHello,
We have already guided you on how to add custom capability for custom post type in groups and staff panel.
To hide depends on group/staff capability –add_filter( 'wcfmmp_store_tabs', function( $store_tabs, $store_id ) { if ( wcfm_is_store_page() ) { $wcfm_store_url = get_option( 'wcfm_store_url', 'store' ); $store_name = apply_filters( 'wcfmmp_store_query_var', get_query_var( $wcfm_store_url ) ); $store_id = 0; if ( !empty( $store_name ) ) { $store_user = get_user_by( 'slug', $store_name ); } $store_id = $store_user->ID; } $current_plan = get_user_meta( $store_id, 'wcfm_membership', true ); if(isset($current_plan)) { $current_group = get_post_meta($current_plan,'associated_group',true); $group_capability_options = get_post_meta($current_group,'_group_capability_options',true); } if(isset($group_capability_options['show_artistas'])) { $show_artistas = ( isset( $group_capability_options['show_artistas'] ) ) ? $group_capability_options['show_artistas'] : 'no'; if( $show_artistas == 'yes' ){ unset($store_tabs['artistas']); }; } return $store_tabs; }, 100, 2 );
Try above code. Replace “$group_capability_options[‘show_artistas’]” with your custom capability name.
Please be advised You require various changes/customizations and that will require time. Sorry, but the forum isn’t ideal for this type of custom work.
Due to COVID-19 we are getting 400-500 more support tickets each day. So we aren’t taking any customizations at this moment. It will be better to find someone who is accustom to WP development. Any problem if you face any difficulty at the time of development we will guide you accordingly.Thanks.
Sarmistha ChakrabortyMemberHello,
In this scenario customer will get 3 invoices from 3 different vendors (in one mail).
Thanks.
Sarmistha ChakrabortyMemberHello,
add_filter('wcfm_is_allow_dashboard_product_stats', '__return_false');
Try 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 ChakrabortyMemberWe have already replied to you in this thread https://wclovers.com/forums/topic/how-to-change-radius-slider-default-value/, so we are closing this thread here.
Sarmistha ChakrabortyMemberHello,
1. Set a limited amount of products per subscription plan
>>For this you need our WCFM-Groups&Staff plugin(https://wclovers.com/knowledgebase/wcfm-groups-staffs/). Using this you can set capability(example:Product limit capability)exa for each membership plan.2. Add a new notification to send to vendors on successful registration… currently, the system is set to approve vendors upon registration but it doesn’t send an email to the vendor after the registration. It only does this when the admin approves the application. How can I enable this feature?
>> You can use “wcfm_approval_reminder_admin_after” hook for this.
Add the below code in your theme’s functions.php-add_action('wcfm_approval_reminder_admin_after','wcfm_custom_vendor_meil_send_before_approve',10,2); function wcfm_custom_vendor_meil_send_before_approve($member_id, $wcfm_membership) { global $WCFM, $WCFMvm, $wpdb; $member_id = absint( $member_id ); $member_user = new WP_User( absint( $member_id ) ); $shop_name = get_user_meta( $member_id, 'store_name', true ); $wcfm_membership = get_user_meta( $member_id, 'temp_wcfm_membership', true ); $subject = 'Before approve mail'; $message = "Dear User, <br /><br /> Account created. <br /><br /> Thank You"; wp_mail( $member_user->user_email, $subject, $message ); }
change the “subject” and “message” as per your requirement.
3. replace this with a custom logo? Find the attachment below
>> Sorry, we don’t have the flexibility to change this image using any filter/hook.
You can change this to replace “wcfmmp-30X30.png” image in folder “\wp-content\plugins\wc-frontend-manager\assets\images\wcfmmp-30X30.png”Thanks.
Sarmistha ChakrabortyMemberHello,
It totally depends on theme’s font-family.
You can change font type,family,weight using some css –
Example –p.wcfm_title strong, span.wcfm_title strong { font-style: normal !important; font-weight: 400!important; }
Thanks.
Sarmistha ChakrabortyMemberHi,
In our WCFM Vendors also a WP user. So, Please use WooCommerce “My Account” page( Contains [woocommerce_my_account] shortcode ) for the login of any vendor.
Ref: https://docs.woocommerce.com/document/woocommerce-pages/Thanks.
Sarmistha ChakrabortyMemberHello,
The “Search category” filter only fetches those categories that are associate with the vendor’s products. If any vendor’s product assign in any sub-product category, then automatically it will display in “Search category filter” in store lists page.
Thanks.
Sarmistha ChakrabortyMemberHello,
We have checked your site – https://noidate.ideamedia.solutions/ricerca-negozi/
It seems like you have added “Search by Location” and “Search by Category” widgets in the footer sidebar. Our “WCFM Store Lists” widgets only work with “Store List Sidebar” sidebar.
Please check : https://docs.wclovers.com/store-list/
Thanks.
Sarmistha ChakrabortyMemberHello,
You can change the video-banner dimensions using css code,
#wcfmmp-store .banner_video{ width:70% !imporatnt; /* by default banner width is 100% }
Thanks.
Sarmistha ChakrabortyMemberHello,
Add vendor location from vendor WCFM dashboard -> Settings (PFA).
Please be advised the “store address” and “store location” have to be in the same country, state.Thanks.
Attachments:
You must be logged in to view attached files.Sarmistha ChakrabortyMemberThe code we have shared in this reply #134992 is not for only ELEMENTOR, It will work for all.
Have you a chance to check the “artistas” tab after adding the code?
We have also mentioned in code where you have to add your custom post type slug.Thanks.
Sarmistha ChakrabortyMemberHello,
can I send this appropriate code?
>>What do you mean by this?In this #132863 reply, you asked for the vendor’s article to be displayed in vendor’s store page. and we have already given you a solution for this in this reply #133024.
After that you asked for display custom tab in vendor’s store for custom post type. And in this reply #134528 you mentioned custom tab has been added but it is displaying products. Now our previous reply we have suggested you add the mentioned code with your already exciting code. It will display your custom post type items.
Now what is your exact requirement?Sarmistha ChakrabortyMemberHello,
Okay! hide auction tab –
Try this code –add_action('init',function(){ global $WCFM, $WCFMmp, $WCFMu; remove_filter('after_wcfm_products_manage_general', array( $WCFMu->wcfmu_integrations, 'wcfm_yithauction_product_manage_fields' ), 70, 2 ); remove_filter('after_wcfm_products_manage_general', array( $WCFMu->wcfmu_integrations, 'wcfm_wcsauction_product_manage_fields' ), 70, 2 ); });
regarding the register page code did not work see link: https://yourcarfinder.co.uk/sellyourcar/
>>Try this –add_filter('wcfm_membership_registration_fields_phone','wcfm_marketplace_translate_registration_fields_phone',10); function wcfm_marketplace_translate_registration_fields_phone($fields) { $fields['user_phone']['label'] = 'Storez Phone'; $fields['phone']['label'] = 'Storez Phone'; return $fields; }
Thanks.
Sarmistha ChakrabortyMemberYes, WCFM added support for “yith woocommerce request a quote premium” plugin.
Thanks.
Sarmistha ChakrabortyMemberHi,
You need to adjust hight of “#wcfm_store_header .wcfmmp-store-rating” this section –
@media only screen and (max-width: 480px) { /*************** ADD MOBILE ONLY CSS HERE ***************/ #wcfm_store_header .wcfmmp-store-rating { height: 43px !important; } }
and top position –
@media only screen and (max-width: 480px) { #wcfm_store_header .wcfmmp-store-rating::before{ top: 22px !important;} }
Thanks.
- AuthorPosts