Best Multi Vendor Marketplace Plugin for WordPress › Forums › WCFM – Ultimate › A few questions
- This topic has 3 replies, 2 voices, and was last updated 7 years, 10 months ago by
WCFM Forum.
Viewing 3 reply threads
- AuthorPosts
- May 31, 2018 at 1:44 pm #24085
realteqbusiness
ParticipantThe vendor profile picture should also change the wordpress profile picture, is this possible? I also need to make product *only* be virtual and downloadable.
- June 1, 2018 at 6:25 pm #24150
WCFM Forum
MemberHi,
Kindly use this plugin for the purpose – https://wordpress.org/plugins/wp-user-avatar/
For restricting “Virtual” and “Downloadable” product some custom coding required.
Thank You
- June 2, 2018 at 7:28 pm #24204
realteqbusiness
ParticipantThis reply has been marked as private. - June 4, 2018 at 12:10 pm #24276
WCFM Forum
MemberHi Yasir,
Kindly add this code to your site –
function wcfm_product_manage_fields_general_custom_virtual( $general_fields, $product_id, $product_type ) { if( isset( $general_fields['is_virtual'] ) && !$product_id ) { $general_fields['is_virtual']['dfvalue'] = 'enable'; } if( isset( $general_fields['is_downloadable'] ) && !$product_id ) { $general_fields['is_downloadable']['dfvalue'] = 'enable'; } return $general_fields; } add_filter( 'wcfm_product_manage_fields_general', 'wcfm_product_manage_fields_general_custom_virtual', 10, 3 );Well, this is PHP code, best place to add under child theme’s functions.php
Please know me is this fulfill your requirement or not!
Thank You
- AuthorPosts
Viewing 3 reply threads
- The topic ‘A few questions’ is closed to new replies.