Customizing the Product Addon Tab

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 9 reply threads
  • Author
    Posts
    • #45618
      Sean Mac
      Participant

      Is it possible to customize the add-on options in the product tabs? There are some options that I would like to hide/delete.

    • #45652
      WCFM Forum
      Member

      Hi,

      Kindly know me, which options you want to hide?

      Thank You

    • #45753
      Sean Mac
      Participant

      Thanks for the quick response!

      I should’ve been more clear about my request and I have attached a screenshot for clarity. In the “Group” field there are several options to choose from like text field, email address, etc. Those are the options I want to customize. I want to remove some of those choices like “Additional custom price input” and “File Upload”. Is this possible?

      Attachments:
      You must be logged in to view attached files.
    • #45955
      WCFM Forum
      Member

      Hi,

      Well, as I see you are using very old version of WC Addons.

      Can you please update this and check once.

      Thank You

    • #46112
      Sean Mac
      Participant

      Hmmm…I’m not sure what you mean by “update”. I don’t see a plugin specifically for product addons on my plugins page.

    • #46135
      WCFM Forum
      Member

      Hi,

      You are using this plugin right – https://docs.woocommerce.com/document/product-add-ons/

      I asked you to update it’s version to latest. 2.0+

      Thank You

    • #46192
      Sean Mac
      Participant

      Ah! I don’t see that on my plugins page because it is already included in another plugin I use – Woocommerce Appointments. The WC Addons version is 3.0.5.

    • #46315
      WCFM Forum
      Member

      Yeah right, WC Appointments includes WC Addons.

      Please add this code to your child theme’s functions.php –

      add_filter( 'wcfm_wcaddon_group_types', function( $wcaddon_group_types ) {
      	if( isset( $wcaddon_group_types['custom_price'] ) ) {
      		unset( $wcaddon_group_types['custom_price'] );
      	}
      	if( isset( $wcaddon_group_types['file_upload'] ) ) {
      		unset( $wcaddon_group_types['file_upload'] );
      	}
      	return $wcaddon_group_types;
      });

      Thank You

    • #46323
      Sean Mac
      Participant

      Works perfectly. Thank you so much!

    • #46332
      WCFM Forum
      Member

      Great … you are welcome 🙂

Viewing 9 reply threads
  • The topic ‘Customizing the Product Addon Tab’ is closed to new replies.