Forum Replies Created
- AuthorPosts
- Sarmistha ChakrabortyKeymaster
Hello,
If you are using “GEO my WP” plugin for product location,
After you have set vendor store location from vendor settings(https://wclovers.com/wp-content/uploads/2020/05/vendorlocation.png), then this location will get pre-automatically populated by-default in product location tab. (PFA)Thanks.
Attachments:
You must be logged in to view attached files.Sarmistha ChakrabortyKeymasterHi,
We can guide you, it will need some javascript and css knowledge.
Please check this link – https://www.sanwebcorner.com/2016/12/onclick-change-mobile-menu-three-bar.htmlThanks.
Sarmistha ChakrabortyKeymasterHello,
Try this to remove “INQUIRIES” –
add_filter( 'woocommerce_product_tabs', 'sb_woo_move_description_tab', 200); function sb_woo_move_description_tab($tabs) { unset($tabs['wcfm_enquiry_tab']); return $tabs; }
Thanks.
June 18, 2020 at 10:49 pm in reply to: WCFM membership option is not showing in store manager dashboard #142340Sarmistha ChakrabortyKeymasterHello,
Sorry, but we don’t have this kind of App.
Thanks.
June 18, 2020 at 10:48 pm in reply to: Override wc-frontend-manager/controllers/vendors/wcfm-controller-vendors-new.php #142339Sarmistha ChakrabortyKeymasterHello,
Thanks for your suggestion, we will keep it in our roadmap and we will try to add this feature in a future update.
Thanks.
Sarmistha ChakrabortyKeymasterHello,
We have replied in this thread – https://wclovers.com/forums/topic/show-store-hour-in-wcfm_stores-its-possible/#post-142039
Please be advised –
WE’RE SHIFTING OUR FORUM BASED SUPPORT TO A MORE DEDICATED SUPPORT SYSTEM!
We’ll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.If you are a WCFM premium add-ons user, contact us- https://wclovers.com/premium-support/
Want to know more before buying our add-ons? Send Pre sale queries- https://wclovers.com/pre-sale-queries/
If you are a WCFM free user, please open a support ticket at https://wordpress.org/support/plugin/wc-frontend-manager/
From now the forum will be read-only!Thanks.
Sarmistha ChakrabortyKeymasterHello,
For this, you need to override wcfmmp-view-store-hours.php in your theme folder
yourtheme/wcfm/store/widgets
from\wp-content\plugins\wc-multivendor-marketplace\views\store\widgets
and modify the code –global $WCFM, $WCFMmp; $day_number = date('w', time()); if($day_number == 0) { $day = 6; } else { $day = $day_number-1; } foreach( $wcfm_store_hours_day_times[$day] as $wcfm_store_hours_day => $wcfm_store_hours_day_time_slots ) { if( in_array( $wcfm_store_hours_day, $wcfm_store_hours_day_times[$day] ) ) continue; if( !isset( $wcfm_store_hours_day_time_slots['start'] ) ) return; if( empty( $wcfm_store_hours_day_time_slots['start'] ) || empty( $wcfm_store_hours_day_time_slots['end'] ) ) continue; echo '<span class="wcfmmp-store-hours-day">' . $weekdays[$day] . ':</span>'; echo "<br />" . date_i18n( wc_time_format(), strtotime( $wcfm_store_hours_day_time_slots['start'] ) ) . " - " . date_i18n( wc_time_format(), strtotime( $wcfm_store_hours_day_time_slots['end'] ) ); echo '<br /><br />'; }
Thanks.
Sarmistha ChakrabortyKeymasterHello,
how can I add a label to featured image? Something like “Upload Image” for the featured Image, and “Add more Image” label for more images?.
>> Add this code in your theme’s functions.php –add_filter('wcfm_product_manage_fields_images',function($fields){ $fields['featured_img']['label'] = 'Upload Image'; $fields['gallery_img']['label'] = 'Add more Image'; return $fields; });
where can I locate the html page for the toggle menu, would love to turn the 3 bars into a X when it is clicked
>>For this you need to override “wcfm-view-header-panels.php” in your theme folder<your theme folder>/wcfm/wcfm-view-header-panels.php
from \wp-content\plugins\wc-frontend-manager\views\wcfm-view-header-panels.php.
And then you will find the Toggle menu section –
<span class="wcfm_menu_toggler wcfmfa fa-bars text_tip" data-tip="<?php _e( 'Toggle Menu', 'wc-frontend-manager' ); ?>"></span>
Thanks.
Sarmistha ChakrabortyKeymasterJune 15, 2020 at 10:28 pm in reply to: WCFM membership option is not showing in store manager dashboard #141493Sarmistha ChakrabortyKeymasterHello,
Sorry, We did not get your query. Please explain a little more.
For membership documentation check here – https://wclovers.com/knowledgebase/wcfm-membership/Thanks.
June 15, 2020 at 10:26 pm in reply to: WCFM membership option is not showing in store manager dashboard #141492Sarmistha ChakrabortyKeymasterHi,
Please check for supported codecanyon theme- https://wclovers.com/demos/
https://wclovers.com/wcfm-compatible-themes/Thanks.
Sarmistha ChakrabortyKeymasterHello,
that said when i set that, products still dont have their location set to the store location?
Sorry, but we didn’t get your issue. Please elaborate with the screenshot.
Did you mean Product search not working with store location?Thanks.
Sarmistha ChakrabortyKeymasterHi,
As of now we don’t have this feature, but In location there is a marker, when you will click on marker it will redirect to you googlemap/openstreet map, where you can find the direction from your location.
Thanks.
Sarmistha ChakrabortyKeymasterHi,
By-default when the seller/vendor add any product category it will be visible for all other sellers/vendor’s dashboard. Have you added any custom code?
Thanks.
Sarmistha ChakrabortyKeymasterAdd this code to your child theme’s functions.php
Thanks.
Sarmistha ChakrabortyKeymasterHi,
By-default WooCommerce does not allow create the category with same name.
Thanks.
Sarmistha ChakrabortyKeymasterHello,
It is difficult to understand what is written in your functions.php at line 863.
Please share full functions.php code, then we can understand and please mention the error screenshot.Thanks.
Sarmistha ChakrabortyKeymasterHello,
In the function – “checkStrength” you have to modify the validation logic.
Example –function checkStrength(zipcode) { var firstDigit = zipcode.toString().charAt(0); if(isNaN(zipcode) || (firstDigit!=5)){ return $wcfm_is_valid_form = false; } else { return $wcfm_is_valid_form = true; } }
Thanks.
Sarmistha ChakrabortyKeymasterHi,
Try this for vogue theme by Kaira.
add_action( 'wcfmmp_store_article_template', function() { ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="blog-post-inner <?php echo ( get_theme_mod( 'vogue-blog-img-shape' ) == 'blog-img-shape-round' ) ? sanitize_html_class( 'blog-post-img-round' ) : ''; ?>"> <?php if ( has_post_thumbnail() ) : $vogue_image_cut = customizer_library_get_default( 'vogue-blog-list-img-cut' ); if ( get_theme_mod( 'vogue-blog-list-img-cut' ) ) { $vogue_image_cut = get_theme_mod( 'vogue-blog-list-img-cut' ); } ?> <?php if ( get_theme_mod( 'vogue-blog-img-shape' ) == 'blog-img-shape-square' || get_theme_mod( 'vogue-blog-img-shape' ) == 'blog-img-shape-round' ) : ?> <a href="<?php the_permalink() ?>" class="post-loop-thumbnail post-loop-thumbnail-img" <?php echo 'style="background-image: url(' . esc_url( get_the_post_thumbnail_url( $post->ID, $vogue_image_cut ) ) . ');"'; ?>> <img src="<?php echo get_template_directory_uri(); ?>/images/blank_blocks_img.png" alt="<?php the_title(); ?>" /> </a> <?php else : ?> <a href="<?php the_permalink() ?>" class="post-loop-thumbnail"> <?php the_post_thumbnail( $vogue_image_cut ); ?> </a> <?php endif; ?> <?php endif; ?> <div class="post-loop-content"> <header class="entry-header"> <?php $post_title_tag = get_theme_mod( 'vogue-seo-blog-post-title-tag', customizer_library_get_default( 'vogue-seo-blog-post-title-tag' ) ); the_title( sprintf( '<h'.esc_attr( $post_title_tag ).' class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h'.esc_attr( $post_title_tag ).'>' ); ?> <?php if ( 'post' == get_post_type() ) : ?> <div class="entry-meta"> <?php vogue_posted_on(); ?> </div><!-- .entry-meta --> <?php endif; ?> </header><!-- .entry-header --> <div class="entry-content"> <?php if ( has_excerpt() ) : the_excerpt(); else : /* translators: %s: Name of current post */ the_content( sprintf( wp_kses( __( 'Continue reading %s <span class="meta-nav">→</span>', 'vogue' ), array( 'span' => array( 'class' => array() ) ) ), the_title( '<span class="screen-reader-text">"', '"</span>', false ) ) ); endif; ?> <?php wp_link_pages( array( 'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'vogue' ), 'after' => '</div>', ) ); ?> </div><!-- .entry-content --> <footer class="entry-footer"> <?php vogue_entry_footer(); ?> </footer><!-- .entry-footer --> </div> <div class="clearboth"></div> </div> </article><!-- #post-## --> <?php }); add_action( 'wcfmmp_store_article_template_none', function() { ?> <p><?php echo wp_kses_post( get_theme_mod( 'vogue-website-nosearch-msg', __( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'vogue' ) ) ) ?></p> <?php }); add_filter( 'wcfm_is_allow_store_articles', '__return_true' );
Thanks.
Sarmistha ChakrabortyKeymasterHello,
If you are following this topic – https://wordpress.org/support/topic/custom-tab-in-vendor-store-page/ Or #134992 reply, then you have to create a template file like wcfmmp-view-store-art-works.php in your theme folder.
The template should be placed at “wp-content/themes/your theme folder/wcfm/store” folder. this is not possible with “Snippet Plugin”.Thanks.
June 11, 2020 at 11:54 am in reply to: How to change/remove the "brands" while adding products #140522Sarmistha ChakrabortyKeymasterHello,
I did add this filter to remove brands on the product edit page but Brand still appearing.
>>Can you share a vendor details with us.
Which plugin/any custom code are you using to create a product brand?
add_filter('wcfm_is_allow_custom_taxonomy_pwb-brand', '__return_false');
this code will applicable for https://wordpress.org/plugins/perfect-woocommerce-brands/Thanks.
Sarmistha ChakrabortyKeymasterHello,
Can you explain a little more about your requirement/issue?
Do you want to add “Article” tab for https://wordpress.org/themes/vogue/ theme?
Please confirm.Thanks.
Sarmistha ChakrabortyKeymasterHello,
Okay! We have checked your site, there are two file type field.
Add the condition before the print the value code –$video_ext = array('mp4', 'mpeg'); if (in_array(pathinfo($field_value, PATHINFO_EXTENSION), $video_ext)) { ?> <video width="400" controls> <source src="<?php echo $field_value; ?>" type="video/mp4"> </video> <?php }
Thanks.
Sarmistha ChakrabortyKeymasterHi,
Please check again and confirm.
Thanks.
Sarmistha ChakrabortyKeymasterHello,
To show Event tab for only product type “ticket”, use this below code –
add_filter('wcfm_pm_block_class_fooevents',function($cls){ global $WCFM, $WCFMu; $cls = 'non-simple non-variable ticket'; //replace ticket with your required custom product type return $cls; },10);
mark “Is this product an event?: YES” by default?
>>By-default we don’t have this feature, It will need some customization,
Add this code in your functions.php –add_action('begin_wcfm_products_manage_form',function(){ global $wp, $WCFM; $WooCommerceEventsEvent = 'not-select'; $product_id = 0; if( isset( $wp->query_vars['wcfm-products-manage'] ) && !empty( $wp->query_vars['wcfm-products-manage'] ) ) { $product = wc_get_product( $wp->query_vars['wcfm-products-manage'] ); if( !is_a( $product, 'WC_Product' ) ) { wcfm_restriction_message_show( "Invalid Product" ); return; } // Fetching Product Data if($product && !empty($product)) { $product_id = $wp->query_vars['wcfm-products-manage']; $WooCommerceEventsEvent = get_post_meta($product_id, 'WooCommerceEventsEvent', true);; } } ?> <input type="hidden" id="checkeventload" value="<?php echo $WooCommerceEventsEvent; ?>"> <?php });
And add below js code in your theme’s js file –
jQuery(document).ready(function ($) { if( $('#WooCommerceEventsEvent').length > 0 ) { if ($('#checkeventload').val() == 'not-select') { $('select#WooCommerceEventsEvent option[value="Event"]').attr("selected",true); $('select#WooCommerceEventsEvent option[value="Event"]').change(); } } });
wcfm ultimate has compatibility with FOOEVENTS EXPRESS CHECK-IN addon?
>>Yes, https://wclovers.com/forums/topic/use-the-fooevent-full-house-bundle-plugin/Thanks.
- AuthorPosts