Forum Replies Created
- AuthorPosts
- Sarmistha ChakrabortyMember
Hello,
Please check the vendor registration documentation here – https://wclovers.com/knowledgebase/wcfm-marketplace-vendor-registration/
Default registration form(WooCommerce registration form) used for customer registration.
You will find Vendor registration page contain “[wcfm_vendor_registration]” shortcode.Thanks.
Sarmistha ChakrabortyMemberHello,
To remove country filter –
Add below code in your theme’s functions.php –
add_filter('wcfmmp_is_allow_store_list_country_filter', '__return_false');
And to remove state filter, turn on the “Disable State Filter” from widget (PFA)
Thanks.
Attachments:
You must be logged in to view attached files.May 29, 2020 at 11:40 am in reply to: show vendors list depending on users location and vendor\'s category #136431Sarmistha ChakrabortyMemberHello,
We have already replied to you in this thread https://wclovers.com/forums/topic/vendors-list-2/.
So we are closing this thread.Thanks.
Sarmistha ChakrabortyMemberHello,
Regarding autodetect the user’s location, please go to the WCFM dashboard -> Settings -> Geo Location -> and turn on the “Enable Auto Filter” (PFA)
Our store list shortcode is – [wcfm_stores]
Check for more details – https://docs.wclovers.com/store-list/Thanks.
Attachments:
You must be logged in to view attached files.Sarmistha ChakrabortyMemberHello,
This is your theme issue. please contact with your theme support for this.
Thanks.
May 29, 2020 at 11:25 am in reply to: WCFM membership option is not showing in store manager dashboard #136427Sarmistha ChakrabortyMemberHi,
It is our WCFM Addon plugin(https://wordpress.org/plugins/wc-multivendor-membership/).
Please check for more details – https://wclovers.com/forums/topic/wcfm-membership-option-is-not-showing-in-store-manager-dashboard/#post-135997
https://www.youtube.com/watch?v=SfOMIxNfr3w
https://www.youtube.com/watch?v=3JuFD35BiWIThanks.
May 29, 2020 at 11:21 am in reply to: How do i add new custom field under vendor registration form? #136426Sarmistha ChakrabortyMemberHi,
We have already mentioned you #131779 in this reply, how to wrap those custom fields for a specific membership plan(membership-id).
In each membership plan URL, you will find the “membership-id”. Replace “80” with your membership plan id (#131779 reply).
Then modify your css like this –.hide_vendor_custom_regfield input#wcfmmp_byc_enable_local_pickup { display: none !important; }
Thanks.
Sarmistha ChakrabortyMemberHello,
For this don’t use “add_filter”(functions.php code) to remove country and state filter.
Use this shortcode –[wcfm_stores has_radius="no" has_country="no" has_state"no" has_city="yes" has_zip="yes" auto_zoom = "no" map_zoom="10"]
Thanks.
Sarmistha ChakrabortyMemberHello,
What we understand WCFM dashboard in your theme not display in full width? If I am wrong please correct me.
In that case which theme are you using?Thanks.
Sarmistha ChakrabortyMemberHello,
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/
add_filter( 'wcfm_orders_additonal_data_hidden', '__return_false' ); add_filter('wcfm_orders_additonal_data',function($order_data,$order_id){ $order = wc_get_order($order_id); $order_data = $order->get_billing_email(); return $order_data; },10,2); add_filter('wcfm_orders_additional_info_column_label',function($lbl){ return 'Customer Email'; },10);
Thanks.
Sarmistha ChakrabortyMemberHello,
Sorry, but we don’t understand “add a query ID” means.
Can you tell us from where you are using this “elementor/query/ft_event_listing” action? Have you added any custom code for this?
Are you not using “WCFM – WCFM Marketplace integrate Elementor”(https://wordpress.org/plugins/wc-frontend-manager-elementor/) plugin for setup vendor store page?
We have “WCFM – WCFM Marketplace integrate Elementor” plugin to setup Vendor store page using Elementor.Thanks.
Sarmistha ChakrabortyMemberHello,
Which layout are you using for the “Store list page”? “Store list filter” is it in sidebar or top of the store page?
Thanks.
Sarmistha ChakrabortyMemberOkay! Please again send us an addon plugin request with this topic link, we will revert back to you.
Thanks.
Sarmistha ChakrabortyMemberHello,
To remove “Product Policies” tab from the product manager, add this code in your theme’s functions.php –
add_action('wcfm_init','remove_translate_option_for_vendor',100); function remove_translate_option_for_vendor() { if( wcfm_is_vendor() ) { global $WCFM, $WCFMu; remove_action( 'after_wcfm_products_manage_tabs_content', array( $WCFM->wcfm_policy, 'wcfm_policy_product_settings' ), 100, 4 ); } }
Thanks.
Sarmistha ChakrabortyMemberHi,
Can you please tell us in which forum thread you asked for this addon?
Thanks.
Sarmistha ChakrabortyMemberHello,
Modify this code –
add_filter( 'woocommerce_product_tabs', 'woo_new_product_tab' ); function woo_new_product_tab( $tabs ) { $tabs['vendor_info_tab'] = array( 'title' => __( 'Additional Information', 'woocommerce' ), 'priority' => 10, 'callback' => 'woo_new_product_tab_content' ); $tabs['vendor_mileage_tab'] = array( 'title' => __( 'Mileage Information', 'woocommerce' ), 'priority' => 12, 'callback' => 'woo_mileage_product_tab_content' ); return $tabs; }
And add below function –
function woo_mileage_product_tab_content() { // The new tab content $product_id = get_the_ID(); $vendor_id = wcfm_get_vendor_id_by_post( $product_id ); echo'<p>'.get_user_meta( $vendor_id, 'mileage', true ).'</p>'; }
Ref: https://wisdmlabs.com/blog/add-custom-tab-woocommerce-product-page/
Thanks.
Sarmistha ChakrabortyMemberHello,
Yes.
Ref : https://rudrastyh.com/woocommerce/up-sells-cross-sells-related-products-text.htmlThanks.
Sarmistha ChakrabortyMemberThis reply has been marked as private.Sarmistha ChakrabortyMemberHello,
For this you need to override “navigation.php” file in your theme’s folder(yourtheme/woocommerce/myaccount/navigation.php) from “\wp-content\plugins\woocommerce\templates\myaccount”
And modify the code –<li class="<?php echo wc_get_account_menu_item_classes( $endpoint ); ?>"> <?php if( $endpoint == 'wcfm-store-manager') { ?> <a target="_blank" href="<?php echo esc_url( wc_get_account_endpoint_url( $endpoint ) ); ?>"><?php echo esc_html( $label ); ?></a> <?php } else { ?> <a href="<?php echo esc_url( wc_get_account_endpoint_url( $endpoint ) ); ?>"><?php echo esc_html( $label ); ?></a> <?php } ?> </li>
Thanks.
Attachments:
You must be logged in to view attached files.Sarmistha ChakrabortyMemberHello,
Sorry, but as of now we don’t have any shortcode for this.
This is not possible using code snippet.
It requires good custom development, and this will be a paid one.Thanks.
Sarmistha ChakrabortyMemberThis reply has been marked as private.Sarmistha ChakrabortyMemberHello,
Actually this products section in “vendor store page” is use WooCommerce Shop page template. So, this is basically the FooEvent Plugin additional feature.
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/function skyverge_add_postmeta_ordering_args( $sort_args ) { $orderby_value = isset( $_GET['orderby'] ) ? wc_clean( $_GET['orderby'] ) : apply_filters( 'woocommerce_default_catalog_orderby', get_option( 'woocommerce_default_catalog_orderby' ) ); switch( $orderby_value ) { // Name your sortby key whatever you'd like; must correspond to the $sortby in the next function case 'eventdate': $sort_args['orderby'] = 'meta_value'; // Sort by meta_value because we're using alphabetic sorting $sort_args['order'] = 'asc'; $sort_args['meta_key'] = 'WooCommerceEventsDateTimestamp'; // use the meta key you've set for your custom field, i.e., something like "location" or "_wholesale_price" break; } return $sort_args; } add_filter( 'woocommerce_get_catalog_ordering_args', 'skyverge_add_postmeta_ordering_args' ); // Add these new sorting arguments to the sortby options on the frontend function skyverge_add_new_postmeta_orderby( $sortby ) { // Adjust the text as desired $sortby['eventdate'] = __( 'Sort by Event Date', 'woocommerce' ); return $sortby; } add_filter( 'woocommerce_default_catalog_orderby_options', 'skyverge_add_new_postmeta_orderby' ); add_filter( 'woocommerce_catalog_orderby', 'skyverge_add_new_postmeta_orderby' );
Ref: https://gist.github.com/bekarice/0df2b2d54d6ac8076f84
Thanks.
Sarmistha ChakrabortyMemberThis reply has been marked as private.May 27, 2020 at 6:42 pm in reply to: "Hide Store Location" in Vendor Settings->Store->Store Visibility Setup? #135841Sarmistha ChakrabortyMemberHello,
Vendor can hide his store address from his settings (PFA)
And if you turn-off the “Store List Radius Search” search from WCFM dashboard->Settings->Geo Location then the “Radius search” in “store list” page will remove.Thanks.
Attachments:
You must be logged in to view attached files.Sarmistha ChakrabortyMemberHello,
Tell me one thing, other pages are loading except setting?
And what about as vendor dashboard settings page?Also check WP-admin -> Woocommerce -> Status -> Logs -> any php error is there?
Also possibly it’s happening due to some plugin conflict. Kindly disable all other plugins except WooCommerce and WCFM plugins. And check.
Let me know how it goes.Thanks!
- AuthorPosts