Commemorating the Holi Week GOOD FRIDAY SALE - Upto 20% OFF on all addons.

Claim Offer
01Day 22Hr 51Min 32Sec

A few questions

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 3 reply threads
  • Author
    Posts
    • #24085
      realteqbusiness
      Participant

      The vendor profile picture should also change the wordpress profile picture, is this possible? I also need to make product *only* be virtual and downloadable.

    • #24150
      WCFM Forum
      Member

      Hi,

      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

    • #24204
      realteqbusiness
      Participant
      This reply has been marked as private.
    • #24276
      WCFM Forum
      Member

      Hi 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

Viewing 3 reply threads
  • The topic ‘A few questions’ is closed to new replies.