How could i hide Attributes tab at simple product?

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!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM – Ultimate How could i hide Attributes tab at simple product?

Viewing 3 reply threads
  • Author
    Posts
    • #28510
      MOHO
      Participant

      Variable product will need “Attributes”, but simple product no need this.

      How could i hide it at simple product?

      Attachments:
      You must be logged in to view attached files.
    • #28593
      wwsAdmin
      Participant

      Hi moho, on this thread you can find the code.

      https://wclovers.com/forums/topic/layout-change-product-page/

      Thanks

    • #28648
      WCFM Forum
      Keymaster

      Hi,

      Thanks @shubhams

      Here is that particular code –

      function wcfm_pm_block_custom_class_attributes( $classes ) {
      	return 'variable external grouped booking';
      }
      add_filter( 'wcfm_pm_block_class_attributes', 'wcfm_pm_block_custom_class_attributes', 50 );

      Thank You

    • #28652
      MOHO
      Participant

      Thanks @shubhams and WCFM

      It work now.

      You could close it.

Viewing 3 reply threads
  • The topic ‘How could i hide Attributes tab at simple product?’ is closed to new replies.