Forum Replies Created
- AuthorPosts
- Sarmistha ChakrabortyMember
Hello,
Please provide us the site access with site URL, so we can check.
Thanks.
June 9, 2020 at 8:12 pm in reply to: Override wc-frontend-manager/controllers/vendors/wcfm-controller-vendors-new.php #139953Sarmistha ChakrabortyMemberAs you have changing in the core plugin file, so when you will update WCFM then again you have to redo the changes in this file “wcfm-controller-vendors-new.php”
Thanks.
Sarmistha ChakrabortyMemberHello,
Try this code in your theme’s functions.php –
function woocommerce_template_single_add_to_cart() { global $product,$WCFM, $WCFMmp; $product_id = $product->get_id(); if( $product_id ) { $vendor_id = wcfm_get_vendor_id_by_post( $product_id ); } if( $vendor_id ) { $is_store_close = $WCFMmp->wcfmmp_store_hours->wcfmmp_is_store_close( $vendor_id ); if( !$is_store_close ) { do_action( 'woocommerce_' . $product->get_type() . '_add_to_cart' ); } } else { do_action( 'woocommerce_' . $product->get_type() . '_add_to_cart' ); } }
Thanks.
Sarmistha ChakrabortyMemberHello,
Can you provide us your site admin access with site URL(Set as private reply), then we can check properly and guide you accordingly.
Thanks.
Sarmistha ChakrabortyMemberHi,
It seems like this is happening due to some plugin conflict. Kindly disable all other plugins except WooCommerce and WCFM plugins(updated). and Use default WordPress theme. After that check again “Store location” this option will work or not.
Let me know how it goes.Thanks!
Sarmistha ChakrabortyMemberHello,
I don’t see those options. I am using free version & flatsome theme.
>> It will require our premium WCFM-Ultimate plugin.I want to hide few things like SEO, Bank Details etc from Setup Wizard – how that can be done ?
>>Check here https://wclovers.com/forums/topic/remove-and-customize-steps-from-store-setup/ for this purpose.is it possible to disable site header and footer from vendor store & product pages ?
>>This is your theme customization work, please contact with your theme support.
Ref: https://www.webhostinghero.com/how-to-hide-the-header-on-specific-pages-in-wordpress/Do premium plugin provides any option for bulk purchase discount by vendor ?
>>Our premium WCFM-Ultimate plugin support https://wordpress.org/plugins/woocommerce-bulk-discount/
Ref: https://wclovers.com/wcfm-compatible-plugins/Thanks.
Sarmistha ChakrabortyMemberHello,
Turn-off the “View Customer Email” capability option(pfa)
Thanks.
Attachments:
You must be logged in to view attached files.Sarmistha ChakrabortyMemberHello,
The role “Store vendor” value is – “wcfm_vendor”.
Thanks.
Sarmistha ChakrabortyMemberHello,
Can you explain a little more what do you mean by “store hours is not working for variable products” ?
We have already checked that if “Disable Purchase During OFF Time” is enabled then “Add to cart” button will not display (variable product as well).Thanks.
Sarmistha ChakrabortyMemberHello,
Yes, we have checked that issue, it seems like this WooCommerce bug, when a product goes to Archive(draft), it will not display in front-end(obvious) but still the page display with blank content . You/admin can check manually a product updated to draft product, then same scenario will happen.
Please contact with WooCommerce support, at the same time we are also debugging this.Thanks.
Sarmistha ChakrabortyMemberHi,
It seems like this is happening due to some plugin conflict. Kindly disable all other plugins except WooCommerce and WCFM plugins and activate WordPress default theme, then check again.( remove custom codes if you have added any)
Thanks.
Sarmistha ChakrabortyMemberHi,
add another column is not possible using code snippet.
It requires serious custom development, and this will be a paid one.So, as a quick solution, you can add customer “email” and “phone number” in same column.
Thanks.
Sarmistha ChakrabortyMemberHello,
By-default we don’t have this kind of flexibility.
You can try this code in your theme’s functions.php –add_action('wp_footer',function(){ if(isset($_GET['vmstep']) && $_GET['vmstep'] == 'registration') ?> <style type="text/css"> ol.wc-progress-steps li:first-child { display: none !important; } </style> <?php });
Thanks.
Sarmistha ChakrabortyMemberPlease clear browser cache and check again.
Thanks.
Sarmistha ChakrabortyMemberHello,
Please check again, it seems like the account which you have logged in is a “Customer” account. You can check here- Wordprss dashboard -> Users -> search your logged in user and check his role.
Thanks
Sarmistha ChakrabortyMemberWe have already provided you template(guidance) , this type of scenario. So, please go through the previous replies, you will find out how to create “art” template.
Thanks.
Sarmistha ChakrabortyMemberHello,
we can see that you have added two video tags here -https://wclovers.com/wp-content/uploads/2020/06/lvdemo_video.png , that is it will display two videos.
So, can you please share with us the code(and all custom fields in vendor’s profile) which you have added in your site for this purpose, then we can understand your mistakes.Thanks.
June 8, 2020 at 10:24 pm in reply to: Override wc-frontend-manager/controllers/vendors/wcfm-controller-vendors-new.php #139692Sarmistha ChakrabortyMemberHello,
Regarding the new vendor mail –
>> As you can see in this “wcfm-controller-vendors-new.php” file, we don’t have any condition before the mail send to the vendor for new register, As of now we don’t have this feasibility.
If you really do not want to send this mail, then you need to remove mail function in this file “wcfm-controller-vendors-new.php”(core plugin code).i need to manage everything as administrator and deny them access to back-end
>>For this you can turn-off all vendors capability from WCFM dashboard -> Capability, then vendor cannot access to back-endThanks.
Sarmistha ChakrabortyMemberHello,
You need to add condition “Product type” options, Try this –
add_filter('wcfm_product_types',function($producttyps){ global $WCFM, $WCFMu; $wcfm_capability_options = get_option( 'wcfm_capability_options'); $manage_customproducttype = ( isset( $wcfm_capability_options['ticket'] ) ) ? $wcfm_capability_options['ticket'] : 'no'; if( $manage_customproducttype == 'yes' ) { unset($producttyps['ticket']); /***** unset the ticket product type****/ } else { /**** keep the ticket product type****/ } return $producttyps; },50);
Thanks.
Sarmistha ChakrabortyMemberHello,
add_filter( 'body_class', function( $classes ) { $userid = get_current_user_id(); if(wcfm_is_vendor($userid)) { $classes = array_merge( $classes, array( 'vendor-dashboard' ) ); } return $classes; }); add_action('wp_footer',function(){ ?> <script type="text/javascript"> if( $('.vendor-dashboard #store_name').length > 0 ) { $('.vendor-dashboard #store_name').prop('readonly', true);; } if( $('.vendor-dashboard #store_slug').length > 0 ) { $('.vendor-dashboard #store_slug').prop('readonly', true);; } </script> <?php });
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 ChakrabortyMemberHello,
Turn of those fields(as per your requirement) from WCFM capability. (PFA)
Thanks.
Attachments:
You must be logged in to view attached files.Sarmistha ChakrabortyMemberHello,
That means you have only one membership plan n your site?
Can you confirm for us this membership plan is a “free plan” or “paid plan”?Thanks.
Sarmistha ChakrabortyMemberHello,
The shortcode to display product custom field –
[wcfm_product_custom_field_show]
Thanks.
Sarmistha ChakrabortyMemberHello,
Well, WCFM Marketplace has this option inbuilt. Go to WCFM Admin Setting -> GEO Location -> Enable “Product List Radius Search”
Map and filter will visible under default WooCommerce product listing page like this – https://wcfmmp.wcfmdemos.com/If you want to product search based on product location, You can use GEO my WP for this purpose.
If you go with GEO my WP, then you might find our documentation on this, useful https://wclovers.com/knowledgebase/wcfm-geo-wp/.Thanks.
Sarmistha ChakrabortyMemberHello,
Modify the “echo $field_value;” with –
<video width="400" controls> <source src="<?php echo $field_value; ?>" type="video/mp4"> </video>
Ref:https://www.w3schools.com/html/tryit.asp?filename=tryhtml5_video
Thanks.
- AuthorPosts