Forum Replies Created
- AuthorPosts
Sarmistha Chakraborty
MemberHello,
Yes follow the thread https://wclovers.com/forums/topic/extends-custom-product-type-from-woocommerce/ regarding adding custom product type.
Regarding remove field like virtual,downloable etc., override the wcfm-view-products-manage.php in your theme.<your theme folder>/wcfm/products-manager/wcfm-view-products-manage.php
And in class parameter add class “non-new_product” ('class' => 'wcfm-checkbox wcfm_ele wcfm_half_ele_checkbox simple booking non-variable-subscription non-job_package non-resume_package non-redq_rental non-accommodation-booking non-new_product').
Then add the “new_product” value in array c=[“simple”,”variable”,”grouped”,”external”,”booking”,”new_product”] inassets/js/min/products-manager/wcfm-script-products-manage.jsThis is not any small code change. This is a custom requirement. Please follow the above steps.
Otherwise please contact here https://wclovers.com/setup-guidance/ for this requirement.Thanks.
Sarmistha Chakraborty
MemberHello,
1. is there any setting to add “product type” title above product type field?
>>`add_filter(‘wcfm_product_manage_fields_general’,function($fields,$product_id, $product_type, $wcfm_is_translated_product, $wcfm_wpml_edit_disable_element){
$fields[‘product_type’][‘label’] = ‘Product Type’;
return $fields;
},10,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/
2. where to change product title placeholder.
>>You can change the “Placeholder” name using “Loco translate”.
https://localise.biz/wordpress/plugin/beginners
https://www.youtube.com/watch?v=ZUPhsoUm-QE
Select the plugin Loco Translate -> Plugins -> “WCFM – WooCommerce Frontend Manager”Thanks.
Sarmistha Chakraborty
MemberHello,
You can manage this(featured vendor) using our WCFM badges. Please check the documentation: https://wclovers.com/knowledgebase/wcfm-vendor-badges/
If still is not meet your requirement Please contact us here for the purpose – https://wclovers.com/setup-guidance/ with your Scope of work(how you showcase featured vendors).Thanks.
March 3, 2020 at 4:29 pm in reply to: I tried to make changes on new product page tabs (Horizontal to vertical) #109718Sarmistha Chakraborty
MemberOk.
Override the “wcfm-view-products-manage.php” in your
<theme directory>/view/products-manager/wcfm-view-products-manage.php.
and wrap<?php do_action( 'after_wcfm_products_manage_tabs_content', $product_id, $product_type, $wcfm_is_translated_product, $wcfm_wpml_edit_disable_element ); ?>with this<div class="wcfm-tabWrap-content">div.Add below the style to your child theme’s style.css
.wcfm-tabWrap-content { display: flex; } .wcfm-tabWrap .page_collapsible + .wcfm-container { top: 100px; width: 90%; }Thanks.
Sarmistha Chakraborty
MemberHello,
Regarding display only admin products in your shop page,
function change_shop_product_query( $q ){ global $WCFM, $WCFMmp,$wp; if (strpos($wp->request, 'shop') !== false) { $q->set( 'author__in', array(1) ); // Replace "1" with Admin Id } } add_action( 'woocommerce_product_query', 'change_shop_product_query' );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 un-check the “Product List Radius Search” in Admin WCFM store dashboard->settings->Geo Locaton(PFA)
Thanks.
Attachments:
You must be logged in to view attached files.Sarmistha Chakraborty
MemberHello,
Make the “Google Map API Key” blank in admin WCFM store dashboard settings. Please find the attachment.
Thanks.
Attachments:
You must be logged in to view attached files.Sarmistha Chakraborty
MemberHello,
Hope you have already purchased our “WCFM – WooCommerce Frontend Manager – Ultimate” plugin. Because “Product Limitation” settings is in our WCFM-ultimate features.
Please check Admin Store manager dashboard ->capability- > Limits (PFA).Thanks.
Attachments:
You must be logged in to view attached files.Sarmistha Chakraborty
MemberHello,
Please select the plugin Loco Translate -> Plugins -> “WCFM – WooCommerce Multivendor Marketplace” for changing “Search by City” and “Search by ZIP”
Thanks.
Sarmistha Chakraborty
MemberHello,
I am trying to get user role to redirect pages. If user roles are costumer, subscriber, or unregistered I want to show wcfm_stores and administrator/vendor to store manager. Previously you helped me to use code snippets to hide the inquiry button. Now is it possible to show wcfm_stores or store manager using code snippet?
>>Sorry, we don’t get you. For which page you want to redirect to wcfm_stores page(for vendor) and store manager page(for admin&vendor)? Kindly explain little more then we will guide you accordingly.By the way I purchased one year license of wcfm ultimate. If I want to purchase life time do I have any upgrade options or buy a new one?
>>Please contact us here for this purpose – https://wclovers.com/woocommerce-multivendor-customization/. We will send you a coupon code(deduct the price “one year license of wcfm ultimate”) and then you will make a new order with life time WCFM-ultimate.Thanks.
March 2, 2020 at 12:03 pm in reply to: I tried to make changes on new product page tabs (Horizontal to vertical) #109527Sarmistha Chakraborty
MemberHello,
This is doable but if we incorporate the tabs in horizontal manner then it won’t be represented properly as it will be difficult to fit in all the options in that pattern. And in mobile version it will be broken with long scroll-bar. That’s why we make it vertical. Kindly let us know your thoughts?
Thanks.
Sarmistha Chakraborty
MemberHello,
Unfortunately it will require custom work and won’t just work with snippets
Please contact here: https://wclovers.com/setup-guidance/ with this topic link.Thanks.
Sarmistha Chakraborty
MemberHello,
Please Un-check “Product List Radius Search” option in WCFM store-manager settings->Geo location.(PFA)
Thanks.
Attachments:
You must be logged in to view attached files.Sarmistha Chakraborty
MemberHello,
For this requirement(to make a constant radius and hide the slider), you have to override the store search template in your activated child theme.
Path:<your activate theme>/wcfm/store-lists/wcfmmp-view-store-lists-search-form.php
Replace the radius range field
<input class="wcfmmp_radius_range" name="wcfmmp_radius_range" id="wcfmmp_radius_range" type="range" value="<?php echo (absint(apply_filters( 'wcfmmp_radius_filter_max_distance', $max_radius_to_search ))/apply_filters( 'wcfmmp_radius_filter_start_distance', 10)); ?>" min="0" max="<?php echo apply_filters( 'wcfmmp_radius_filter_max_distance', $max_radius_to_search ); ?>" steps="6" />
with
<input class="wcfmmp_radius_range" name="wcfmmp_radius_range" id="wcfmmp_radius_range" type="hidden" value="4" />
And remove those fields which are you don’t want to display in front-end.Thanks.
Sarmistha Chakraborty
MemberHi,
Kindly check once. The product images size are increase now.PFA
Thanks.
Attachments:
You must be logged in to view attached files.Sarmistha Chakraborty
MemberHello,
Try this code to your child theme’s functions.php
add_filter( 'wcfm_membership_registration_fields', function( $store_name_fields ) { if( isset( $store_name_fields['store_name'] ) ) { $store_name_fields['store_name']['class'] = 'wcfm-text wcfm_ele'; } return $store_name_fields; });You can check this topic : https://wclovers.com/forums/topic/store-name-problem/#post-108057
Thanks.
Sarmistha Chakraborty
MemberHi,
Where you have added the css? we don’t find any css was added in your site.
Please add above mentioned css in your activated theme’s style.css (<your site folder>/wp-content/themes/<your active theme>/style.css)Thanks.
February 26, 2020 at 2:27 pm in reply to: Shortcode for Vendor's About, Review and Policy content #108880Sarmistha Chakraborty
MemberHello,
#1 I would like to put all those information (Vendor’s About, Review and Policy content) to the Store page by adding a shortcode instead of using the tab widget to show this information in separated pages.
>>Unfortunately by-default we don’t have any shortcode for this. Regarding Vendor’s review, you can display vendor’s ratings.
For vendor’s About use this shortcode –[wcfm_store_info data="store_about"]
For vendor’s Policy use this shortcode –[wcfm_store_info data="store_policy"]
For vendor’s rating use this shortcode –[wcfm_store_info data="store_rating"]
And Add below 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('wcfmmp_additional_store_info','vendor_store_othersinfo_wcfmmp_additional_store_info',15,3); function vendor_store_othersinfo_wcfmmp_additional_store_info($data_value, $data_info, $store_id) { global $WCFM, $WCFMmp, $post; $store_user = wcfmmp_get_store( $store_id ); $store_info = $store_user->get_shop_info(); if($data_info == 'store_policy') { $wcfm_policy_vendor_options = $store_user->get_store_policies(); $wcfm_policy_options = wcfm_get_option( 'wcfm_policy_options', array() ); $shipping_policy = isset( $wcfm_policy_vendor_options['shipping_policy'] ) ? $wcfm_policy_vendor_options['shipping_policy'] : ''; $_wcfm_shipping_policy = isset( $wcfm_policy_options['shipping_policy'] ) ? $wcfm_policy_options['shipping_policy'] : ''; if( wcfm_empty($shipping_policy) ) $shipping_policy = $_wcfm_shipping_policy; $refund_policy = isset( $wcfm_policy_vendor_options['refund_policy'] ) ? $wcfm_policy_vendor_options['refund_policy'] : ''; $_wcfm_refund_policy = isset( $wcfm_policy_options['refund_policy'] ) ? $wcfm_policy_options['refund_policy'] : ''; if( wcfm_empty($refund_policy) ) $refund_policy = $_wcfm_refund_policy; $cancellation_policy = isset( $wcfm_policy_vendor_options['cancellation_policy'] ) ? $wcfm_policy_vendor_options['cancellation_policy'] : ''; $_wcfm_cancellation_policy = isset( $wcfm_policy_options['cancellation_policy'] ) ? $wcfm_policy_options['cancellation_policy'] : ''; ob_start(); if( wcfm_empty($cancellation_policy) ) $cancellation_policy = $_wcfm_cancellation_policy; ?> <div class="_area" id="policy"> <div class="wcfmmp-store-policies"> <?php do_action( 'wcfmmp_store_before_policies', $store_user->get_id() ); ?> <?php if( !wcfm_empty($shipping_policy) ) { ?> <div class="policies_area wcfm-shipping-policies"> <h2 class="wcfm_policies_heading"><?php echo apply_filters('wcfm_shipping_policies_heading', __('Shipping Policy', 'wc-frontend-manager')); ?></h2> <div class="wcfm_policies_description" ><?php echo $shipping_policy; ?></div> </div> <?php } if( !wcfm_empty( $refund_policy ) ){ ?> <div class="policies_area wcfm-refund-policies"> <h2 class="wcfm_policies_heading"><?php echo apply_filters('wcfm_refund_policies_heading', __('Refund Policy', 'wc-frontend-manager')); ?></h2> <div class="wcfm_policies_description" ><?php echo $refund_policy; ?></div> </div> <?php } if( !wcfm_empty( $cancellation_policy ) ){ ?> <div class="policies_area wcfm-cancellation-policies"> <h2 class="wcfm_policies_heading"><?php echo apply_filters('wcfm_cancellation_policies_heading', __('Cancellation / Return / Exchange Policy', 'wc-frontend-manager')); ?></h2> <div class="wcfm_policies_description" ><?php echo $cancellation_policy; ?></div> </div> <?php } ?> <?php do_action( 'wcfmmp_store_after_policies', $store_user->get_id() ); ?> </div> </div> <?php } else if($data_info == 'store_about') { $wcfm_shop_description = apply_filters( 'wcfmmp_store_about', apply_filters( 'woocommerce_short_description', $store_user->get_shop_description() ), $store_user->get_shop_description() ); ob_start(); ?> <div class="_area" id="wcfmmp_store_about"> <div class="wcfmmp-store-description"> <?php do_action( 'wcfmmp_store_before_about', $store_user->get_id() ); ?> <?php if( $wcfm_shop_description ) { ?> <div class="wcfm-store-about"> <div class="wcfm_store_description" ><?php echo $wcfm_shop_description; ?></div> </div> <?php } ?> <?php do_action( 'wcfmmp_store_after_about', $store_user->get_id() ); ?> </div> </div> <?php } $data_value = ob_get_clean(); return $data_value; }#2 It would be nice if those shortcode also able to be used on the product page.
>>You can use those shortcode in your product page.#3 And is it possible the pull more fields by ACF from the vendor to their product page?
>> Unfortunately we don’t have support for this. For adding custom field please check : https://wclovers.com/knowledgebase/wcfm-custom-fields/Thanks.
Sarmistha Chakraborty
MemberHello,
Sorry, We don’t get you. Can you explain your requirement elaborately.
Thanks.
Sarmistha Chakraborty
MemberHello,
Try this CSS to your site –
.item-product-widget .product-meta .product-title { font-size: 90% !important; } .item-product-widget .images { padding-right: 0 !important; padding: 0 !important; } .item-product-widget.row.nasa-list-type-1 .images .nasa-product-widget-image-wrap{ width:100%; } #wcfmmp-store ul.product_list_widget li img { width:80px !important; height:80px !important; }Thanks.
February 26, 2020 at 11:48 am in reply to: hide enquiry and chat on wcfm_stores and unhide when visit store/vendor #108859Sarmistha Chakraborty
MemberHello,
For hide “enquiry ” button from vendor list page(page with [wcfm_stores] shortcode), 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/add_action('init',function(){ global $WCFM, $WCFMmp; remove_action( 'wcfmmp_store_list_after_store_info', array( $WCFM->wcfm_enquiry, 'wcfmmp_store_list_enquiry_button' ), 35 ); });Thanks.
Sarmistha Chakraborty
MemberHello,
You can do that easily using string translation(no coding involved). You can use Loco translate plugin for this purpose. (How to use Loco translate – https://www.youtube.com/watch?v=ZUPhsoUm-QE)
Please select the plugin Loco Translate -> Plugins -> “WCFM – WooCommerce Frontend Manager – Delivery” for changing “delivery boy” text.Thanks.
Sarmistha Chakraborty
MemberHello,
Add this css to your child theme’s style.css
table#wcfm-stock-manage thead tr th:nth-child(7), table#wcfm-stock-manage tfoot tr th:nth-child(7), table#wcfm-stock-manage tbody tr td:nth-child(7) { display: none; }Thanks.
Sarmistha Chakraborty
MemberHello,
Check “Disable State Filter” in the “Location Filter” widget. (Appearance->widgets PFA)
And 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('wcfmmp_is_allow_store_list_country_filter', '__return_false');Thanks.
Sarmistha Chakraborty
MemberHi,
add_filter('wcfmmp_is_allow_mobile_sidebar_at_bottom', '__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 Chakraborty
MemberHello,
Can you share us the page url then we will guide you accordingly.
Thanks.
- AuthorPosts