Forum Replies Created
- AuthorPosts
Sarmistha Chakraborty
MemberThis reply has been marked as private.Sarmistha Chakraborty
MemberThis reply has been marked as private.Sarmistha Chakraborty
MemberHello,
Yes, The background image loaded via “wp_get_attachment_url” function.
$attachment_url = wp_get_attachment_url( $attachment_id );It seems like “smush” plugin issue. Please contact with their support.
You can provide them the file path : “\wp-content\plugins\wc-frontend-manager\helpers\wcfm-core-functions.php”
function name : wcfm_get_attachment_url()Thanks.
Sarmistha Chakraborty
MemberHello,
Add this css in your theme’s style.css –
.wcfm-store-list-page .wcfmmp-single-store .store-phone { display: none !important; }Thanks.
Sarmistha Chakraborty
MemberHello,
Are you using “Open Street Map” map for Geo location?
Then please hide map from products page, add this css in your theme’s style.css –div#wcfmmp-product-list-map { display: none; }Add turn off the code
add_filter('wcfmmp_is_allow_product_list_map', '__return_false');Thanks.
Sarmistha Chakraborty
MemberHello,
Still your issue not so clear, what we understand that, “Vendor Store: Category” widget what you have added in “Vendor store sidebar” was not displaying all products categories which are you/admin have added.
This is not a error, the functionality is WCFM “Vendor Store: Category” widget display only those product categories which have vendor’s product.Thanks.
May 15, 2020 at 5:09 pm in reply to: How do i add new custom field under vendor registration form? #131366Sarmistha Chakraborty
MemberHello,
If you turn-on the “Registration Form Custom Fields” enable, then the Additional info tab then will display in the profile manager.PFA
Make sureadd_filter('wcfmmp_is_allow_manage_registration_additional_infos', '__return_true');this filter is true.Thanks.
Attachments:
You must be logged in to view attached files.Sarmistha Chakraborty
MemberAnd For Rigid theme, please override “wcfmmp-view-store-articles.php” file in your child theme(\themes\rigid-child\wcfm\store) from “\plugins\wc-multivendor-marketplace\views\store” . Remove the –
<?php do_action( 'wcfmmp_woocommerce_after_shop_loop_before', $store_user->get_id(), $store_info ); ?> <?php do_action( 'woocommerce_after_shop_loop' ); ?> <?php do_action( 'wcfmmp_woocommerce_after_shop_loop_after', $store_user->get_id(), $store_info ); ?>Thanks.
Sarmistha Chakraborty
MemberHello,
Possibly the code was not paste the properly. Try again –
add_action( 'wcfmmp_store_article_template', function() { $rigid_custom_options = get_post_custom(get_the_ID()); $rigid_featured_slider = 'none'; if (isset($rigid_custom_options['rigid_rev_slider']) && trim($rigid_custom_options['rigid_rev_slider'][0]) != '' && function_exists('putRevSlider')) { $rigid_featured_slider = $rigid_custom_options['rigid_rev_slider'][0]; } $rigid_rev_slider_before_header = 0; if (isset($rigid_custom_options['rigid_rev_slider_before_header']) && trim($rigid_custom_options['rigid_rev_slider_before_header'][0]) != '') { $rigid_rev_slider_before_header = $rigid_custom_options['rigid_rev_slider_before_header'][0]; } $rigid_featured_flex_slider_imgs = rigid_get_more_featured_images(get_the_ID()); // Blog style $rigid_general_blog_style = rigid_get_option('general_blog_style'); // Featured image size $rigid_featured_image_size = 'rigid-portfolio-single-thumb'; // If is latest posts if (isset($rigid_is_latest_posts) && $rigid_is_latest_posts) { // If is latest post shortcode $rigid_featured_image_size = 'rigid-640x640'; } $rigid_post_classes = array('blog-post'); if (!has_post_thumbnail()) { array_push($rigid_post_classes, 'rigid-post-no-image'); } // Show or not the featured image in single post view if(is_singular(array('post'))) { $rigid_show_feat_image_in_post = 'yes'; if (isset($rigid_custom_options['rigid_show_feat_image_in_post']) && trim($rigid_custom_options['rigid_show_feat_image_in_post'][0]) != '') { $rigid_show_feat_image_in_post = $rigid_custom_options['rigid_show_feat_image_in_post'][0]; } } ?> <div id="post-<?php the_ID(); ?>" <?php post_class($rigid_post_classes); ?>> <!-- Featured content for post list --> <!-- Hide image if is latest posts shortcode and hide_image is selected--> <?php if (isset($rigid_is_latest_posts) && isset($rigid_blogposts_param_hide_image) && $rigid_blogposts_param_hide_image === 'no' || !isset($rigid_blogposts_param_hide_image)): ?> <?php if (!empty($rigid_featured_flex_slider_imgs) && is_singular()): // if there is slider or featured image attached and it is single post view, display it ?> <div class="rigid_flexslider post_slide"> <ul class="slides"> <?php if (has_post_thumbnail()): ?> <li> <?php echo wp_get_attachment_image(get_post_thumbnail_id(), $rigid_featured_image_size); ?> </li> <?php endif; ?> <?php foreach ($rigid_featured_flex_slider_imgs as $rigid_img_att_id): ?> <li> <?php echo wp_get_attachment_image($rigid_img_att_id, $rigid_featured_image_size); ?> </li> <?php endforeach; ?> </ul> <?php if (!is_single()): ?> <div class="portfolio-unit-info"> <a class="go_to_page go_to_page_blog" title="<?php esc_attr_e('View', 'rigid') ?>" href="<?php echo esc_url(get_permalink()) ?>"><?php the_title() ?></a> </div> <?php endif; ?> </div> <?php elseif (!$rigid_rev_slider_before_header && $rigid_featured_slider != 'none' && function_exists('putRevSlider')): ?> <div class="slideshow"> <?php putRevSlider($rigid_featured_slider) ?> </div> <?php elseif (has_post_thumbnail() && (!is_single() || is_singular(array('post')) && $rigid_show_feat_image_in_post == 'yes')): ?> <div class="post-unit-holder"> <?php the_post_thumbnail($rigid_featured_image_size); ?> <?php if (!is_single()): ?> <div class="portfolio-unit-info"> <a class="go_to_page go_to_page_blog" title="<?php esc_attr_e('View', 'rigid') ?>" href="<?php echo esc_url(get_permalink()) ?>"><?php the_title() ?></a> </div> <?php endif; ?> </div> <?php endif; ?> <?php endif; ?> <!-- End Featured content for post list --> <div class="rigid_post_data_holder"> <?php if ( ! is_singular() ): ?> <?php get_template_part( 'partials/blog-post-meta-top' ); ?> <?php endif; ?> <?php if (!is_single()): ?> <h2 class="heading-title"> <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a> </h2> <?php endif; ?> <?php if ( ! is_singular() ): ?> <?php get_template_part( 'partials/blog-post-meta-bottom' ); ?> <?php endif; ?> <!-- SINGLE POST CONTENT --> <?php if (is_single()): ?> <?php the_content(); ?> <div class="clear"></div> <?php if (rigid_get_option('show_author_info') && (trim(get_the_author_meta('description')))): ?> <div class="rigid-author-info"> <div class="title"> <h2><?php echo esc_html__('About the Author:', 'rigid'); ?> <?php the_author_posts_link(); ?></h2> </div> <div class="rigid-author-content"> <div class="avatar"> <?php echo get_avatar(get_the_author_meta('email'), 72); ?> </div> <div class="description"> <?php the_author_meta("description"); ?> </div> <div class="clear"></div> </div> </div> <?php endif; ?> <?php else: ?> <?php // BLOG / ARCHIVE / CATEGORY / TAG / SEARCH / SHORTCODE POST CONTENT ?> <div class="blog-post-excerpt"> <?php if(isset($post->post_content) && strpos( $post->post_content, '<!--more-->' ) ) { the_content(); } else { echo '<div class="rigid-defined-excerpt">'; the_excerpt(); echo '</div>'; } ?> </div> <?php endif; ?> </div> </div> <?php }); add_action( 'wcfmmp_store_article_template_none', function() { ?> <p><?php esc_html_e( 'No posts were found. Sorry!', 'rigid' ); ?></p> <?php }); add_action( 'wcfmmp_before_store_article_loop_end', function( $store_id, $store_info ) { ?> <!-- PAGINATION --> <div class="box box-common"> <?php if ( function_exists( 'rigid_pagination' ) ) : rigid_pagination(); else : ?> <div class="navigation group"> <div class="alignleft"><?php next_posts_link( __( 'Next »', 'rigid' ) ) ?></div> <div class="alignright"><?php previous_posts_link( __( '« Back', 'rigid' ) ) ?></div> </div> <?php endif; ?> </div> <!-- END OF PAGINATION --> <?php }, 50, 2); add_filter( 'wcfm_is_allow_store_articles', '__return_true' );If you still getting error, please share us Site url and FTP access, then we can check your site (Set as private reply).
Thanks.
Sarmistha Chakraborty
MemberHello,
Sorry, we didn’t get your issue. Please explain with some screenshot.
https://agrito.it/store/agri-garden-e-natali/ in this vendor store page vendor’s products are displaying perfectly.Thanks.
May 15, 2020 at 1:50 pm in reply to: Cannot display vendor registration form custom fields on the vendor store page #131298Sarmistha Chakraborty
MemberHello,
add_action('wcfmmp_store_after_sidebar_info','fn_wcfmmp_store_after_sidebar_info_1505'); function fn_wcfmmp_store_after_sidebar_info_1505($store_id) { $custom_fields = get_user_meta( $store_id, 'website',true); $field_name = 'Website'; echo $field_name.': '.$custom_fields; }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,
In “Store List Banner” option from vendor’s settings Our WCFM plugin default WP-media library(WP media popup) is being opened here, and the default all WP attachment hooks of media are being called.
If you provide us the page url, then we can check the issue what you have facing.Thanks.
May 15, 2020 at 1:07 pm in reply to: How to add custom post types to your Store Manager Dashboard #131285Sarmistha Chakraborty
MemberHello,
It requires some custom development. Can you mentioned us exactly what are the “permission control” do you want in group capability? then we can guide you accordingly.
Thanks!
Sarmistha Chakraborty
MemberHello,
By-default using “[wcfm_stores]” this shortcode, the “product category” filter will display automatically in store list page.
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_filter('wcfmmp_is_allow_store_list_category_filter', '__return_true');Thanks.
Sarmistha Chakraborty
MemberHello,
Can you explain little more? What do you mean by “deactivate the category selection for vendors”?
Do you want to remove “Product category” section from product manager? Please confirmThanks.
Sarmistha Chakraborty
MemberHello,
Please turn-off “New Product” notification and email from WCFM dashboard -> Settings -> Notification Manager
And 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_filter( 'wcfm_is_allow_new_product_notification_email', '__return_false' );Thanks.
Sarmistha Chakraborty
MemberHi,
We have add this “Shipping By Distance” feature in our latest update, incase you do not need it, you can turn off this module. And make sure “Checkout User Location” is turn-off also from Geo location settings.
Thank You
Attachments:
You must be logged in to view attached files.Sarmistha Chakraborty
MemberHello,
You may use this plugin for the purpose – https://codecanyon.net/item/woocommerce-product-badge-manager/11736039
Thanks.
May 14, 2020 at 9:01 pm in reply to: How do i add new custom field under vendor registration form? #131004Sarmistha Chakraborty
MemberHello,
If you have added custom fields from here –
<your site url>/store-manager/settings/-> Vendor Registration , then automatically by-default those custom fields are display in Profile manager “Additional Info” tab.(PFA)
(If you have added any custom code for hide “additional info” tab, please check after removing those code.)Thanks.
Attachments:
You must be logged in to view attached files.May 14, 2020 at 8:46 pm in reply to: How do i add new custom field under vendor registration form? #130992Sarmistha Chakraborty
MemberHello,
What do you mean by “result of registration form” ? Please elaborate.
Thanks.
Sarmistha Chakraborty
MemberHello,
Please contact with your WPML plugin support regarding the error.
Have you chance to check “Inquiry confirmation freeze” issue using default wordpress theme and only activated WooCommerce and WCFM plugins( are updated)? The issue is still there? Let us know.Thanks.
Sarmistha Chakraborty
MemberThis reply has been marked as private.Sarmistha Chakraborty
MemberThis reply has been marked as private.Sarmistha Chakraborty
MemberHello,
Turn off “Store List Sidebar” from WCFM dashboard -> Settings -> Marketplace settings
Thanks.
Sarmistha Chakraborty
MemberHello,
Try this –
add_action( 'wcfmmp_store_article_template', function() { $rigid_custom_options = get_post_custom(get_the_ID()); $rigid_featured_slider = 'none'; if (isset($rigid_custom_options['rigid_rev_slider']) && trim($rigid_custom_options['rigid_rev_slider'][0]) != '' && function_exists('putRevSlider')) { $rigid_featured_slider = $rigid_custom_options['rigid_rev_slider'][0]; } $rigid_rev_slider_before_header = 0; if (isset($rigid_custom_options['rigid_rev_slider_before_header']) && trim($rigid_custom_options['rigid_rev_slider_before_header'][0]) != '') { $rigid_rev_slider_before_header = $rigid_custom_options['rigid_rev_slider_before_header'][0]; } $rigid_featured_flex_slider_imgs = rigid_get_more_featured_images(get_the_ID()); // Blog style $rigid_general_blog_style = rigid_get_option('general_blog_style'); // Featured image size $rigid_featured_image_size = 'rigid-portfolio-single-thumb'; // If is latest posts if (isset($rigid_is_latest_posts) && $rigid_is_latest_posts) { // If is latest post shortcode $rigid_featured_image_size = 'rigid-640x640'; } $rigid_post_classes = array('blog-post'); if (!has_post_thumbnail()) { array_push($rigid_post_classes, 'rigid-post-no-image'); } // Show or not the featured image in single post view if(is_singular(array('post'))) { $rigid_show_feat_image_in_post = 'yes'; if (isset($rigid_custom_options['rigid_show_feat_image_in_post']) && trim($rigid_custom_options['rigid_show_feat_image_in_post'][0]) != '') { $rigid_show_feat_image_in_post = $rigid_custom_options['rigid_show_feat_image_in_post'][0]; } } ?> <div id="post-<?php the_ID(); ?>" <?php post_class($rigid_post_classes); ?>> <!-- Featured content for post list --> <!-- Hide image if is latest posts shortcode and hide_image is selected--> <?php if (isset($rigid_is_latest_posts) && isset($rigid_blogposts_param_hide_image) && $rigid_blogposts_param_hide_image === 'no' || !isset($rigid_blogposts_param_hide_image)): ?> <?php if (!empty($rigid_featured_flex_slider_imgs) && is_singular()): // if there is slider or featured image attached and it is single post view, display it ?> <div class="rigid_flexslider post_slide"> <ul class="slides"> <?php if (has_post_thumbnail()): ?> <li> <?php echo wp_get_attachment_image(get_post_thumbnail_id(), $rigid_featured_image_size); ?> </li> <?php endif; ?> <?php foreach ($rigid_featured_flex_slider_imgs as $rigid_img_att_id): ?> <li> <?php echo wp_get_attachment_image($rigid_img_att_id, $rigid_featured_image_size); ?> </li> <?php endforeach; ?> </ul> <?php if (!is_single()): ?> <div class="portfolio-unit-info"> <a class="go_to_page go_to_page_blog" title="<?php esc_attr_e('View', 'rigid') ?>" href="<?php echo esc_url(get_permalink()) ?>"><?php the_title() ?></a> </div> <?php endif; ?> </div> <?php elseif (!$rigid_rev_slider_before_header && $rigid_featured_slider != 'none' && function_exists('putRevSlider')): ?> <div class="slideshow"> <?php putRevSlider($rigid_featured_slider) ?> </div> <?php elseif (has_post_thumbnail() && (!is_single() || is_singular(array('post')) && $rigid_show_feat_image_in_post == 'yes')): ?> <div class="post-unit-holder"> <?php the_post_thumbnail($rigid_featured_image_size); ?> <?php if (!is_single()): ?> <div class="portfolio-unit-info"> <a class="go_to_page go_to_page_blog" title="<?php esc_attr_e('View', 'rigid') ?>" href="<?php echo esc_url(get_permalink()) ?>"><?php the_title() ?></a> </div> <?php endif; ?> </div> <?php endif; ?> <?php endif; ?> <!-- End Featured content for post list --> <div class="rigid_post_data_holder"> <?php if ( ! is_singular() ): ?> <?php get_template_part( 'partials/blog-post-meta-top' ); ?> <?php endif; ?> <?php if (!is_single()): ?> <h2 class="heading-title"> <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a> </h2> <?php endif; ?> <?php if ( ! is_singular() ): ?> <?php get_template_part( 'partials/blog-post-meta-bottom' ); ?> <?php endif; ?> <!-- SINGLE POST CONTENT --> <?php if (is_single()): ?> <?php the_content(); ?> <div class="clear"></div> <?php if (rigid_get_option('show_author_info') && (trim(get_the_author_meta('description')))): ?> <div class="rigid-author-info"> <div class="title"> <h2><?php echo esc_html__('About the Author:', 'rigid'); ?> <?php the_author_posts_link(); ?></h2> </div> <div class="rigid-author-content"> <div class="avatar"> <?php echo get_avatar(get_the_author_meta('email'), 72); ?> </div> <div class="description"> <?php the_author_meta("description"); ?> </div> <div class="clear"></div> </div> </div> <?php endif; ?> <?php else: ?> <?php // BLOG / ARCHIVE / CATEGORY / TAG / SEARCH / SHORTCODE POST CONTENT ?> <div class="blog-post-excerpt"> <?php if(isset($post->post_content) && strpos( $post->post_content, '<!--more-->' ) ) { the_content(); } else { echo '<div class="rigid-defined-excerpt">'; the_excerpt(); echo '</div>'; } ?> </div> <?php endif; ?> </div> </div> <?php }); add_action( 'wcfmmp_store_article_template_none', function() { ?> <p><?php esc_html_e( 'No posts were found. Sorry!', 'rigid' ); ?></p> <?php }); add_filter( 'wcfm_is_allow_store_articles', '__return_true' );Thanks.
- AuthorPosts