download products

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 6 reply threads
  • Author
    Posts
    • #122074
      nakedharmonix
      Participant

      Hi,
      I need to disable the “require” in the WCFM download product settings.
      What can I do?
      Regards,
      TK

    • #122075
      nakedharmonix
      Participant

      This field.

      Attachments:
      You must be logged in to view attached files.
    • #122156
      Sushobhan
      Keymaster

      Hi
      Use the following snippet to do so-

      add_filter( 'wcfm_product_fields_downloadable', function($downloadable_fields) {
          if ( isset( $downloadable_fields['downloadable_files']['options']['name'] ) ) {
              unset( $downloadable_fields['downloadable_files']['options']['name']['custom_attributes']['required'] );
          }
          if ( isset( $downloadable_fields['downloadable_files']['options']['file'] ) ) {
              unset( $downloadable_fields['downloadable_files']['options']['file']['custom_attributes']['required'] );
          }
          return $downloadable_fields;
      } );

      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/
      Let me know how it goes.
      Thanks!

    • #122228
      nakedharmonix
      Participant

      Hi,
      Thank you for your quick response.
      However, I am asked to fill in the shipping address on payment, even though I have checked “Download” in the product settings.

    • #122410
      Sushobhan
      Keymaster

      Hello,
      Take a look at this plugin – https://wordpress.org/plugins/woo-checkout-for-digital-goods/
      From its description it seems like, it can be helpful for your purpose.
      Thank You!

    • #122729
      nakedharmonix
      Participant

      Thank you for your quick response!
      The order status of the virtual product stops in Processing.
      Is there a solution to this problem?

    • #122845
      Sushobhan
      Keymaster

      There is a plugin that can autocomplete orders – https://wordpress.org/plugins/autocomplete-woocommerce-orders/
      Give it a try and see if that is what you want.
      Thanks!

Viewing 6 reply threads
  • You must be logged in to reply to this topic.