Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › New Product missing 'Extra' info
- This topic has 3 replies, 3 voices, and was last updated 6 years, 9 months ago by WCFM Forum.
- AuthorPosts
- February 5, 2018 at 9:47 am #18673kasaga311Guest
Hi,
We are using the WCFM Ultimate and are trying to create New Products from ‘Admin’, ‘Vendor’ and ‘Shop Manager’ logins.
However, we see that there is no provision to create ‘Extra’ details of the Product like ‘Product video’ and others offered by the ‘wp-admin/Add New’ page.
Is this something planned for a nearing release or is there something that we are missing on including to see that tab?
Please let me know at the earliest as we have urgent requirements for our client.
Thanks,
-Kasaga - February 5, 2018 at 10:41 am #18675WCFM ForumMember
Hi,
This option “Extra” is not by default from WooCommerce.
Possibly you are using “Flatsome” theme and that added this additional tab under product manager.This can be easily added in front-end product manager section as well using WCFM Custom field.
PFA, additional field settings.
And this code to your child theme’s functions.php –
function wcfm_flatsome_custom_field_group_data_save( $group_value, $group_name ) {
if( $group_name == ‘wc_productdata_options’ ) {
$group_value = array( 0 => $group_value );
}
return $group_value;
}
add_filter( ‘wcfm_custom_field_group_data_save’, ‘wcfm_flatsome_custom_field_group_data_save’, 50, 2 );function wcfm_flatsome_custom_field_group_data_value( $group_value, $group_name ) {
if( $group_name == ‘wc_productdata_options’ ) {
if( $group_value && is_array( $group_value ) && isset( $group_value[0] ) ) {
$group_value = $group_value[0];
}
}
return $group_value;
}
add_filter( ‘wcfm_custom_field_group_data_value’, ‘wcfm_flatsome_custom_field_group_data_value’, 50, 2 );Please know me if I can help you in this some other way.
Thank You
Attachments:
You must be logged in to view attached files. - February 6, 2018 at 8:54 am #18713kasaga311ParticipantThis reply has been marked as private.
- February 6, 2018 at 10:32 am #18723WCFM ForumMember
Welcome 🙂
Thanks for confirming me this.
Regards
Simha
- AuthorPosts
- The topic ‘New Product missing 'Extra' info’ is closed to new replies.