Forum Replies Created
- AuthorPosts
Sushobhan
KeymasterYou are always welcome 🙂
Let me know if there’s anything else we can help you with.
Can we ask for a favor? Would you mind taking a few minutes to review our plugin (if you haven’t already) at https://wordpress.org/support/plugin/wc-multivendor-marketplace/reviews/ and let others know about your 5 Star experience with WCFM Marketplace. Also, follow us on Twitter https://twitter.com/wcfmmp for more exciting news, important updates, and irresistible offers.Sushobhan
KeymasterSorry, about that. When revisiting the issue I found a easier approach. Please use the following snippet for your purpose (template overriding not required)-
add_action( 'after_wcfm_products_manage', function() { ?> <script> jQuery( document ).ready( function ( $ ) { if ( $( '#wcfm_products_manage_form' ).length ) { setTimeout( function () { $form = $( '#wcfm_products_manage_form' ); $inventory = [ $form.find( '.products_manage_inventory' ).next().next().clone( true ).end().remove(), $form.find( '.products_manage_inventory' ).next().clone( true ).end().remove(), $form.find( '.products_manage_inventory' ).clone( true ).end().remove() ]; $form.find( '.products_manage_linked' ).before( $inventory.reverse() ); }, 0 ); } } ); </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/
Let me know how this goes.
Thanks!Sushobhan
KeymasterYou are always welcome 🙂
Let me know if there’s anything else we can help you with.
Can we ask for a favor? Would you mind taking a few minutes to review our plugin (if you haven’t already) at https://wordpress.org/support/plugin/wc-multivendor-marketplace/reviews/ and let others know about your 5 Star experience with WCFM Marketplace. Also, follow us on Twitter https://twitter.com/wcfmmp for more exciting news, important updates, and irresistible offers.Sushobhan
KeymasterHello,
I’ll pass this to my dev team to add a separate filter just to show the ‘Sold by’ label in the frontend. But, till then you can use this updated snippet. I believe this will not give you any unpleasant surprises.add_filter( 'wcfmmp_sold_by_label', function($sold_by_label, $vendor_id) { if ( ( ! is_admin() || defined( 'DOING_AJAX' ) ) && ! defined( 'DOING_CRON' ) && ! is_wcfm_page() ) { return $sold_by_label; } return __( 'Store', 'wc-multivendor-marketplace' ); }, 10, 2 );Please remove the previous code and replace with this new one.
Thank You!Sushobhan
KeymasterHello,
This error is not related with WCFM or the code that was provided.
This comes from a library used by your theme. Apparently this issue was resolved some time back. Are you using an older version of the theme? If yes, then please update.
I also search for this error and found this link with a probable solution- https://stackoverflow.com/questions/21773376/bootstrap-trying-to-load-map-file-how-to-disable-it-do-i-need-to-do-it
Let me know if it works.
Thank You!Sushobhan
KeymasterHi,
Yes, your vendors can upload their products directly from their dashboard. Product will gets uploaded with all the WooCommerce product fields which includes price, stock, sku etc. Even custom meta’s are supported.
This feature is part of WCFM Ultimate https://wclovers.com/product/woocommerce-frontend-manager-ultimate/
Thank You!Sushobhan
KeymasterHi,
Have you tried the steps I told you. It should do what you want.
I think you might get confused with the ‘My Store’ label, just beside the vendor store logo. Ref: https://imgur.com/WrNZ4P9. Go to the store page and ther you will see the store name same as username.
If you want, you can change ‘My Store’ label from WCFM admin dashboard >> Settings >> Dashboard >> My Store Label. By default this text is same for all the vendors, but that too can be customised using the following snippet-add_filter( 'wcfm_store_name', function($store_name) { $store_user = wcfmmp_get_store(); if($store_user) { $vendor_id = $store_user->get_id(); $store_open_by = apply_filters( 'wcfm_shop_permalink_open_by', 'target="_blank"', $vendor_id ); $shop_link = wcfmmp_get_store_url( $vendor_id ); return '<a ' . $store_open_by . ' href="' . apply_filters('wcfmmp_vendor_shop_permalink', $shop_link) . '">' . ucfirst( $store_user->get_shop_name() ) . '</a>'; } return $store_name; }, 11 );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/
Let me know how this goes.
Thanks!Sushobhan
KeymasterYou are always welcome 🙂
Let me know if there’s anything else we can help you with.
Can we ask for a favor? Would you mind taking a few minutes to review our plugin (if you haven’t already) at https://wordpress.org/support/plugin/wc-multivendor-marketplace/reviews/ and let others know about your 5 Star experience with WCFM Marketplace. Also, follow us on Twitter https://twitter.com/wcfmmp for more exciting news, important updates, and irresistible offers.Sushobhan
KeymasterHello,
Use the following code for this purpose-add_action( 'wcfm_capability_settings_fields_settings_inside', function($fields) { global $wp, $wcfmgs_capability_manager_options; if ( is_wcfm_page() && ! empty( $wp->query_vars['groups-manage'] ) ) { $external_url = ( isset( $wcfmgs_capability_manager_options['external_url'] ) ) ? $wcfmgs_capability_manager_options['external_url'] : 'no'; $fields['external_url'] = array( 'label' => 'Website', 'name' => "wcfmgs_capability_manager_options[external_url]", 'type' => 'checkboxoffon', 'class' => 'wcfm-checkbox wcfm_ele', 'value' => 'yes', 'label_class' => 'wcfm_title checkbox_title', 'dfvalue' => $external_url, ); } return $fields; } ); add_filter( 'wcfm_marketplace_settings_fields_general', function($field, $user_id) { if ( can_vendor_show_url( $user_id ) && isset( $field['store_slug'] ) ) { $website_url = wcfm_get_user_meta( $user_id, '_wcfm_vendor_website_url' ); $field['website_url'] = array( 'label' => __( 'Website' ), 'type' => 'text', 'class' => 'wcfm-text wcfm_ele', 'label_class' => 'wcfm_title wcfm_ele', 'value' => $website_url ); } return $field; }, 10, 2 ); add_action( 'wcfm_vendor_settings_update', function( $vendor_id, $wcfm_settings_form ) { global $WCFM, $WCFMmp; if ( isset( $wcfm_settings_form['website_url'] ) ) { $website_url = $wcfm_settings_form['website_url']; wcfm_update_user_meta( $vendor_id, '_wcfm_vendor_website_url', $website_url ); } }, 500, 2 ); add_action( 'wcfmmp_store_after_email', function($vendor_id) { if ( can_vendor_show_url( $vendor_id ) ) { $website_url = wcfm_get_user_meta( $vendor_id, '_wcfm_vendor_website_url' ); ?> <div class="store_info_parallal wcfmmp_store_header_website" style="margin-right: 10px;"> <i class="wcfmfa fa-globe" aria-hidden="true"></i> <span> <a href="<?php echo $website_url; ?>"><?php echo $website_url; ?></a> </span> </div> <?php } } ); function can_vendor_show_url( $vendor_id ) { if ( ! (wcfm_is_vendor( $vendor_id )) ) return false; $wcfm_vendor_groups = array_filter( (array) get_user_meta( $vendor_id, '_wcfm_vendor_group', true ) ); if ( ! $wcfm_vendor_groups ) return false; $vendor_capability_options = (array) apply_filters( 'wcfmgs_user_capability', get_option( 'wcfm_capability_options' ), $vendor_id ); $external_url = isset( $vendor_capability_options['external_url'] ) ? $vendor_capability_options['external_url'] : 'no'; return $external_url === 'no'; }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/
Let me know how this goes.
Thanks!Sushobhan
KeymasterHi,
Each theme has it’s own structure, so we keep this part flexible with hooks. Use the following snippet for this purpose, though you might need to write some css to make the look consistent.add_filter( 'wcfm_is_allow_store_articles', '__return_true' ); add_action( 'wcfmmp_before_store_article', function($author_id) { get_template_part( 'page-parts/general-before-wrap' ); } ); add_action( 'wcfmmp_before_store_article_loop', function($author_id) { $blog_type = sq_option( 'blog_type', 'masonry' ); $blog_type = apply_filters( 'kleo_blog_type', $blog_type ); if ( sq_option( 'blog_switch_layout', 0 ) == 1 ) { /* Blog Layout Switcher */ kleo_view_switch( sq_option( 'blog_enabled_layouts' ), $blog_type ); } do_action( 'kleo_before_blog_outer_content' ); if ( $blog_type == 'masonry' ) { ?> <div class="row responsive-cols kleo-masonry per-row-<?php echo sq_option( 'blog_columns', 3 ); ?>"> <?php } } ); add_action( 'wcfmmp_store_article_template', function($author_id) { $blog_type = sq_option( 'blog_type', 'masonry' ); $blog_type = apply_filters( 'kleo_blog_type', $blog_type ); if ( $blog_type != 'standard' ) { get_template_part( 'page-parts/post-content-' . $blog_type ); } else { get_template_part( 'content', get_post_format() ); } } ); add_action( 'wcfmmp_after_store_article_loop', function($author_id) { //Specific class for post listing */ $blog_type = sq_option( 'blog_type', 'masonry' ); $blog_type = apply_filters( 'kleo_blog_type', $blog_type ); if ( $blog_type == 'masonry' ) { echo '</div>'; } // page navigation. kleo_pagination(); } ); add_action( 'wcfmmp_store_article_template_none', function($author_id) { // If no content, include the "No posts found" template. get_template_part( 'content', 'none' ); } ); add_action( 'wcfmmp_after_store_article', function($author_id) { do_action( 'kleo_after_blog_outer_content' ); get_template_part( 'page-parts/general-after-wrap' ); } );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/
Let me know how this goes.
Thanks!Sushobhan
KeymasterHi,
Yes, has_product=”true” is the correct way of doing this.
Thank YouSushobhan
KeymasterHi,
For 3D secure payments we are already using PaymentIntent API.
Thank You!April 30, 2020 at 2:28 pm in reply to: Price doesn't display on choosing a available variation* #125006Sushobhan
KeymasterHello,
Can you please specify the steps, how to produce this behavior?
Looking forward to helping you.
Thanks!Sushobhan
KeymasterHello,
This feature should be supported by the booking plugin you use. So, please contact the booking plugin (the one you are using) author and find out how to do that.
By the way, which booking plugin are you using? You can take look at the WCFM Marketplace supported booking plugins from here- https://wclovers.com/wcfm-compatible-plugins/
Looking forward to helping you.
Thank You!Sushobhan
KeymasterHello,
This is not how WCFM or any marketplace plugin works. It might be possible but with huge customization.
Thank You!Sushobhan
KeymasterHi,
You can simply add a 301 redirect rule to redirect anyone to your listing page when they try to access the /shop/ page directly.
Let me know how it goes.
Thank You!Sushobhan
KeymasterHello,
That was a very old thread and that settings is no more relevant. Please use the following code-
add_filter( 'wcfm_is_allow_catalog_product_manage', '__return_false' );
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/
Let me know how this goes.
Thanks!Sushobhan
KeymasterHi,
You can change the content of this email directly from frontend. Go to WCFM admin dashboard >> Memberships >> Settings (cog-wheel icon at the extreme right) >> Welcome Email and make your changes.
Let me know how it goes.
Thank You!Sushobhan
KeymasterHello,
Thank you for contacting the support and sorry for any inconvenience that might have been caused due to that.
Assuming you are using the latest version of all the plugins and the themes (please update if not yet), it could be a conflict with one of the plugins or the theme you are using.
To determine that, please follow this troubleshooting guide:
https://rankmath.com/kb/check-plugin-conflicts/Only the site admin would know and your users won’t be affected by this troubleshooting.
Please let us know if you find the cause.
Looking forward to helping you.
n.b.: You can disable all the modules that you are not using from WCFM admin dashboard >> Settings >> Modules to further optimize the dashboard page.
Sushobhan
KeymasterHello,
If you mark a store offline, then all it’s products gets archived. The offline vendor can still access those products from their dashboard. See here- https://imgur.com/ziCfxWX
Looking forward to helping you.Sushobhan
KeymasterHi,
When you disabled a vendor then all of their products gets archived. That means it will be hidden from the front end users.
It’ll not show in the WCFM admin dashboard >> Products page as well. To confirm this, go to wp-admin >> Products page and there you can see them under Archived products.
Are you getting a different behavior? If your are not using an older version, I’ll request you to update the plugin.
Looking forward to helping you.
Thank You!Sushobhan
KeymasterGreat.. Thanks for the update.
Let me know if there’s anything else we can help you with.
Thank You!Sushobhan
KeymasterHi,
Thank you for contacting the support and sorry for any inconvenience that might have been caused due to that.
At first look, it seems more of a hosting problem than anything else. I think PHP is not correctly configured.
To confirm this, install “Health Check” plugin https://wordpress.org/plugins/health-check/. On the troubleshooting tab, you can click the button to disable all plugins for you, while you’re still logged in, without affecting normal visitors to your site. For more details follow this tutorial- https://rankmath.com/kb/check-plugin-conflicts/.
If your problem is not related to any plugin or theme conflict, then contact your hosting.
Looking forward to helping you.
Sushobhan
KeymasterHi,
Thanks for getting in touch with us!
The themes you mentioned, are all highly appreciated by their users and all of them are fully compatible with us. Please choose the theme that matches your requirement the most. For a complete list of WCFM supported themes, visit here- https://wclovers.com/wcfm-compatible-themes/
Looking forward to helping you.Sushobhan
KeymasterHi,
By default the connect button connects to express account, but if needed can be changed to Standard. Though you can’t mix it. If you want to change it to Standard then use the following code-
add_filter( 'wcfm_is_allow_stripe_express_api', '__return_false' );
I hope this answers your question.
Thank You!- AuthorPosts