Home Forums Space themes support forum change the contents of the tabs

change the contents of the tabs

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #434199

    clienti
    Participant

    Hi!
    I don’t remember how to modify the content of the tabs in the product sheet. In particular those that remain unchanged for all products (for example shipments and returns and brands). Can you help me?

    Attachments:
    You must be logged in to view attached files.
    #434228

    Luke Nielsen
    Keymaster

    Hello,

    These tabs can be edited via Theme Settings -> Single product -> Tabs.

    https://monosnap.com/file/piHlEm6YZW13Y34RfbdMywZCAa8wsv

    In case you need any additional help, I’d be more than happy to assist you.

    Kind Regards

    #434306

    clienti
    Participant

    thank you!
    Is it possible to delete this tab instead?

    Attachments:
    You must be logged in to view attached files.
    #434309

    Luke Nielsen
    Keymaster

    Hello,

    Please enter the below code into the functions.php file in your child theme.

    add_filter( 'woocommerce_product_tabs', 'my_remove_product_tabs', 98 );
     
    function my_remove_product_tabs( $tabs ) {
      unset( $tabs['additional_information'] ); // To remove the additional information tab
      return $tabs;
    }

    Then clear the cache and check the tabs area again.

    Kind Regards

Viewing 4 posts - 1 through 4 (of 4 total)