Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Customizing the Product Addon Tab
Tagged: custom addons, product manager, product tabs
- This topic has 9 replies, 2 voices, and was last updated 5 years, 10 months ago by WCFM Forum.
- AuthorPosts
- January 28, 2019 at 7:23 pm #45618Sean MacParticipant
Is it possible to customize the add-on options in the product tabs? There are some options that I would like to hide/delete.
- January 29, 2019 at 5:52 am #45652WCFM ForumMember
Hi,
Kindly know me, which options you want to hide?
Thank You
- January 29, 2019 at 6:53 pm #45753Sean MacParticipant
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. - January 31, 2019 at 7:20 am #45955WCFM ForumMember
Hi,
Well, as I see you are using very old version of WC Addons.
Can you please update this and check once.
Thank You
- January 31, 2019 at 9:49 pm #46112Sean MacParticipant
Hmmm…I’m not sure what you mean by “update”. I don’t see a plugin specifically for product addons on my plugins page.
- February 1, 2019 at 4:47 am #46135WCFM ForumMember
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
- February 1, 2019 at 3:54 pm #46192Sean MacParticipant
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.
- February 2, 2019 at 4:17 pm #46315WCFM ForumMember
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
- February 2, 2019 at 4:55 pm #46323Sean MacParticipant
Works perfectly. Thank you so much!
- February 2, 2019 at 5:08 pm #46332WCFM ForumMember
Great … you are welcome 🙂
- AuthorPosts
- The topic ‘Customizing the Product Addon Tab’ is closed to new replies.