Forum Replies Created
- AuthorPosts
- Sarmistha ChakrabortyMember
Hello,
You can change the text using “Loco translate” plugin.
Example-
Wordpress dashboard -> Loco translate -> plugins -> select site language -> search string like “Sales by Product” -> change the text -> save
Ref : https://docs.wclovers.com/category/loco-translate/Thanks.
June 5, 2020 at 12:53 pm in reply to: Override wc-frontend-manager/controllers/vendors/wcfm-controller-vendors-new.php #138663Sarmistha ChakrabortyMemberHello,
You cannot override these files.
You can turn-off “New store” notification from WCFM dashboard -> Settings->Notification (PFA)Thanks.
Attachments:
You must be logged in to view attached files.Sarmistha ChakrabortyMemberThis reply has been marked as private.Sarmistha ChakrabortyMemberPlease check your site widget area. We have added “search” and “category search” widget here. (PFA)
This is your store list page – [link hidden], we cannot see any sidebar in this page.Thanks.
Attachments:
You must be logged in to view attached files.Sarmistha ChakrabortyMemberHello,
The credential you have provided us, this is not admin credentials. Without login as an admin, we are unable to see your site settings.
Also “https://unitbase.co.uk/my-account/” ,the WooCommerce default login page is not accessible.
Previously we have registered from here – https://unitbase.co.uk/vendor-membership/, also this URL not working at present.Thanks.
Sarmistha ChakrabortyMemberHello,
Can you explain a little more about your requirement(if possible with screenshot). Do you want to add a custom tab in the vendor’s store page or vendor’s dashboard?
Thanks.
Sarmistha ChakrabortyMemberHello,
Sorry, unfortunately, we don’t have filter/hook in this message dashboard to add custom data.
Thanks.
Sarmistha ChakrabortyMemberHello,
You can add Store phone number before store name –
add_action('after_wcfmmp_sold_by_label_cart_page',function($vendor_id, $product_id){ $store_user = wcfmmp_get_store( $vendor_id ); $phone = $store_user->get_phone(); echo '<br/>Store Phone :'.$phone; },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 ChakrabortyMemberHi,
For this https://wclovers.com/wp-content/uploads/2020/05/hideseosupport.png, it will require our WCFM-Ultimate plugin.
Thanks.
Sarmistha ChakrabortyMemberHello,
This is your store list page – [link-hidden]
my store list sidebar is broken
>> What issue you are talking about?Thanks.
Sarmistha ChakrabortyMemberThis reply has been marked as private.Sarmistha ChakrabortyMemberPlease go through our previous reply #137402, we have asked you to provide correct credentials. Without correct credential, we can not login in your site, hope you understand.
can you advise me on what to ask for the custom development?
>>Due to COVID-19 we are getting 400-500 more support tickets each day. So we aren’t taking any customizations at this moment. If you can wait for a couple of months then we can start your customization work.If you are interested then please contact us here – https://wclovers.com/woocommerce-multivendor-customization/Otherwise, It will be better to find someone who is accustom to WP development. If you face any difficulty at the time of development we will guide you accordingly.
Thanks.
Sarmistha ChakrabortyMemberThat’s great!
Yes, If any product assigned in any “Product category”, it will display in the “Product category” page. By default, it does not depend on “Virtual” product or not. Our WCFM plugin does not customize anything on this. We are closing this thread.
Thanks.
Sarmistha ChakrabortyMemberHello,
The loop function is written in “wcfmmp-view-store-lists-loop.php” file. In the “wcfmmp-view-store-lists-card.php” file you will find the vendor data.
To get vendor banner image –$banner_type = $store_user->get_list_banner_type(); if( $banner_type == 'video' ) { $banner_video = $store_user->get_list_banner_video(); } else { $banner = $store_user->get_list_banner(); if( !$banner ) { $banner = !empty( $WCFMmp->wcfmmp_marketplace_options['store_list_default_banner'] ) ? wcfm_get_attachment_url($WCFMmp->wcfmmp_marketplace_options['store_list_default_banner']) : $WCFMmp->plugin_url . 'assets/images/default_banner.jpg'; $banner = apply_filters( 'wcfmmp_list_store_default_bannar', $banner ); } }
And to get vendor’s description –
$wcfm_shop_description = apply_filters( 'wcfmmp_store_about', apply_filters( 'woocommerce_short_description', $store_user->get_shop_description() ), $store_user->get_shop_description() );
You will find the “$store_user” value from “store id/vendor id” –
$store_user = wcfmmp_get_store( $store_id );
Thanks.
June 4, 2020 at 1:56 pm in reply to: How to make the country and state mandatory field to be filled. #138280Sarmistha ChakrabortyMemberHello,
We have already replied in previously, we do not apply “required”rules at “Store Setup” widget.
You can make required field in vendor’s settings page (add this in your theme’s functions.php)-add_filter('wcfm_marketplace_settings_fields_address',function($fields, $user_id) { $fields['street_1']['custom_attributes'] = array( 'required' => 1 ); $fields['state']['custom_attributes'] = array( 'required' => 1 ); $fields['country']['custom_attributes'] = array( 'required' => 1 ); return $fields; },10,2);
Thanks.
Sarmistha ChakrabortyMemberHello,
Regarding policy tab,
Please check “Show policy” capability option is turn-on or not. (PFA)Regarding custom tab,
>> Please check here – https://wordpress.org/support/topic/custom-tab-in-vendor-store-page/Thanks.
Attachments:
You must be logged in to view attached files.Sarmistha ChakrabortyMemberHello,
Use this shortcode –
[wcfm_store_info data="store_rating"]
For more information: https://wclovers.com/knowledgebase/wcfm-marketplace-widgets-short-codes/Thanks.
June 4, 2020 at 1:15 pm in reply to: Where can I find user's subscription expiration date in database? #138268Sarmistha ChakrabortyMemberHello,
You will find the expiry date in “wp_usermeta” table.
get_user_meta( $user_id, 'wcfm_membership_next_schedule', true );
Thanks.
Sarmistha ChakrabortyMemberHello,
What you can, the admin will add products without price/zero price(those products will not display front-end) then the vendor can “add to my store” those products, and sell from his store page/front-end.
To hide from front-end no price and also which price is 0 products, add below code in your theme’s functions.php –
add_action( 'woocommerce_product_query', 'wcfmwp_hide_products_without_price' ); function wcfmwp_hide_products_without_price( $q ){ $meta_query = $q->get( 'meta_query' ); $meta_query[] = array( 'key' => '_price', 'value' => '', 'compare' => '!=' ); $q->set( 'meta_query', $meta_query ); }
Ref- https://react2wp.com/woocommerce-hide-products-without-price-simple-fix/
Thanks.
Sarmistha ChakrabortyMemberHello,
You have already the demo code on how to add “new tab” in vendor’s store page.
Replace the “art_works” as per your require slug, and in “wcfmmp-view-store-art-works.php” file write below code to get “custom fields value”-$wcfmvm_custom_infos = (array) get_user_meta( $vendor_id, 'wcfmvm_custom_infos', true ); //get all custom field data if( !empty( $wcfmmp_addition_info_fields ) ) { foreach( $wcfmmp_addition_info_fields as $wcfmvm_registration_custom_field ) { if( !isset( $wcfmvm_registration_custom_field['enable'] ) ) continue; if( !$wcfmvm_registration_custom_field['label'] ) continue; $field_class = ''; $field_value = ''; $wcfmvm_registration_custom_field['name'] = sanitize_title( $wcfmvm_registration_custom_field['label'] ); $field_name = 'wcfmmp_additional_infos[' . $wcfmvm_registration_custom_field['name'] . ']'; $field_id = md5( $field_name ); $ufield_id = ''; if( !empty( $wcfmvm_custom_infos ) ) { $field_value = isset( $wcfmvm_custom_infos[$wcfmvm_registration_custom_field['name']] ) ? $wcfmvm_custom_infos[$wcfmvm_registration_custom_field['name']] : ''; echo $wcfmvm_registration_custom_field['label'].' '.$field_value; } } } }
Thanks.
Sarmistha ChakrabortyMemberHello,
In “Vendor Application” is already display the “custom registration fields”.(PFA)
Thanks.
Attachments:
You must be logged in to view attached files.Sarmistha ChakrabortyMemberHello,
Your requirement not so clear, You can set “Product limit” from the group level. (https://wclovers.com/knowledgebase/wcfm-groups-staffs/), when vendor upgrade their membership plan then they will add more products(as per new group capability) .
Thanks.
June 3, 2020 at 11:17 pm in reply to: How to assign existing products to new vendors in bulk? #138135Sarmistha ChakrabortyMemberHello,
What error are you having on your site?
Please try using default WordPress theme and active only WooCommerce&our WCFM plugins.Thanks.
Sarmistha ChakrabortyMemberHello,
Can you provide me the site access with site URL(Set as private reply)
Then we can check the issue, It’s strange without widget “Location filter” display in “store list” sidebar.Thanks.
June 3, 2020 at 10:41 pm in reply to: Font color white on white background in the police fields #138128Sarmistha ChakrabortyMemberHello,
Please check after the site cache clear.
If it’s still not working please provide us a temporary vendor account details, then we can check and guide you accordingly.(Set as private reply)Thanks.
- AuthorPosts