Quit steps in the store wizard setup of wcfm marketplace

Table of Contents

Code Snippet Overview:

This WCFM Marketplace code snippet will Reduce the number of steps the store owner sees when he creates his store using the Wizard Setup. The WCFM Marketplace is a super complete and powerful plugin with so many characteristics, but what if you don’t need many of these characteristics? This code snippet is ideal for you, it will help you to simplify the process of the store creation for new sellers. When you install the WCFM Marketplace plugin the Store Wizard Setup looks like this.

Quit steps in the Store Wizard Setup of WCFM Marketplace code snippet-Maxkinon
Maxkinon blog

As you can see the default Store Wizard of WCFM Marketplace has these steps:

  1. Store
  2. Payment
  3. Policies
  4. Customer support
  5. SEO
  6. Social

Result

Now, after you have added this WCFM Marketplace code snippet the new seller will see just these 2 steps: Store Details and Payment.

Quit steps in the Store Wizard Setup of WCFM code snippet

Code Snippet

/*WCFM Code Snippet to quit steps in the Store Wizard of WCFM Marketplace*/
add_filter( 'wcfm_is_allow_vseo_settings', '__return_false' );
add_filter( 'wcfm_is_allow_customer_support_settings', '__return_false' );
add_filter( 'wcfm_is_allow_social_profile', '__return_false' );

Implementation

  1. Copy the WCFM Maraketplace code snippet.
  2. Download the Code Snippets plugin.
  3. Click on Add new snippet.
  4. Paste the code that you have copied in step 1.
  5. Save it and activate it.
Add custom field in store details - WCFM Code snippet

Extra code snippet:

The previous code will mantain the Shop and Payment tab because we think those are the essential ones, but what if you want to hide also de Shop step? Well, you can use this code snippet:

add_filter('wcfmmp_store_setup_steps', 'remove_seo_tab');
function remove_seo_tab($steps) {
    unset($steps['store']);
    return $steps;
}
more simpe7 min Maxkinon

Finally, in case you want to hide the Payment step, just change for 'payment' instead of 'store' in this line: unset($steps['store']);

 

 

More Post :

All Post Category:

Check out our categories: Android Update, Elementor, flutter, Guide, Game, Plugin, Theme, webmaster, SEO

Leave a Reply

Your email address will not be published. Required fields are marked *