Best Multi Vendor Marketplace Plugin for WordPress › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › A Few Configuration Questions on WCFM
- This topic has 1 reply, 2 voices, and was last updated 7 years ago by
WCFM Forum.
- AuthorPosts
- October 20, 2019 at 1:00 am #87734
sales.gearya
ParticipantHello,
I am setting up our WCFM multi vendor marketplace. I have gone through each of the areas of admin and have somewhat of an understanding. I am trying to achieve a few things I can’t seem to resolve. Hoping someone can help me…
1. I have created a custom field. When a vendor is creating a product this custom field is displayed behind a tab on the left hand side of the page.
I want this tab to be the first listed tab because its most important and required. When creating the custom field there is a dropdown for visibility but it only has one option which is “not visible”. How do I configure this custom field to be listed on top?2. How do i remove Virtual and Downloadable product types when a vendor is creating a product. We will not have those. I would like for “catalog” to be the only option and check marked by default. How would I achieve that?
3. How do I make the Manage Stock to be required. In other words when a vendor is creating a product the only option is to manage stock so it is ready for them to insert their quantities and are required to do so?
Thanks so much for any help!
James - October 23, 2019 at 9:40 am #88361
WCFM Forum
MemberHI,
1. I have created a custom field. When a vendor is creating a product this custom field is displayed behind a tab on the left hand side of the page.
I want this tab to be the first listed tab because its most important and required. When creating the custom field there is a dropdown for visibility but it only has one option which is “not visible”. How do I configure this custom field to be listed on top?– Well, there is no option to move this tab on top. Custom fields tab comes after product’s general tabs.
This will be only possibly by overriding template.2. How do i remove Virtual and Downloadable product types when a vendor is creating a product. We will not have those. I would like for “catalog” to be the only option and check marked by default. How would I achieve that?
– Please disable those from Capability setting.
3. How do I make the Manage Stock to be required. In other words when a vendor is creating a product the only option is to manage stock so it is ready for them to insert their quantities and are required to do so?
– Please add this code to your site –
add_filter( 'wcfm_product_fields_stock', function( $stock_fields, $product_id, $product_type ) { if( !$product_id ) { if( isset( $stock_fields['manage_stock'] ) ) { $stock_fields['manage_stock']['dfvalue'] = 'enable'; } } $stock_fields = wcfm_hide_field( 'manage_stock', $stock_fields ); $stock_fields = wcfm_hide_field( 'stock_status', $stock_fields ); $stock_fields = wcfm_hide_field( 'backorders', $stock_fields ); $stock_fields = wcfm_hide_field( 'sold_individually', $stock_fields ); return $stock_fields; }, 50, 3 );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/Thank You
- AuthorPosts
- The topic ‘A Few Configuration Questions on WCFM’ is closed to new replies.