How to Edit/Remove, Rename, and Reorder Product Data Tabs

Home Page Forums Porto | Multi-Purpose & WooCommerce Theme How to Edit/Remove, Rename, and Reorder Product Data Tabs

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #622
    Aizaz Awan
    Keymaster

        By default, The “Description and Additional Information” tabs appear on the site. You can also, add the custom tabs, and the Global tab “Size Guide” on products of your site using Porto WordPress.

        1- DESCRIPTION TAB:

        While editing a product when you add the content in the main area, it will appear in the product description tab. For better reference please see the screenshots listed below:

        https://jmp.sh/2QN3IXHl

        https://jmp.sh/ODKo66dL

        2- ADDITIONAL INFORMATION TAB:

        The “Additional Information Tab” contains the product’s necessary information on the attributes. All the attributes you added to the product will appear in this tab and also the shipping information as well such as weight, length as you can see in the below-listed screenshots:

        https://jmp.sh/h6vJ0VsO

        https://jmp.sh/PDaScvlz

        3- CUSTOM TABS:

        Porto WordPress supports additional custom tabs for the products. If you want to show more tabs with your own custom content in them you can set it by just editing a product. There you will see the option for the custom tab, simply set the content in it then save settings and check back to the product after clearing the browser cache. Please refer to the screenshots listed below:

        https://jmp.sh/MyKXN4SQ

        https://jmp.sh/jAQE9mgp

        4- SIZE GUIDE (Global Tab):

        By default, it’s set to the global tab. You can find the global tab option in the PORTO >> Theme Options >> WooCommerce >> Single Product, please refer to this screenshot: https://jmp.sh/vetZKEVj

        As you can see in the above screenshot, the custom block slug added to the “Size Guide” tab, its content is coming from the blocks.
        In order to edit it navigate to the Dashboard >> PORTO >> Template Builder >> There you will find the “Size Guide” block.
        Simply edit it as per your need then save settings and check back to your site after clearing the browser cache.

        How to remove the tabs:

        If you want to remove the tabs simply use the below-given code in the child theme >> functions.php file.

        /**
        * Remove product data tabs
        */
        add_filter( ‘woocommerce_product_tabs’, ‘woo_remove_product_tabs’, 98 );
        function woo_remove_product_tabs( $tabs ) {
        unset( $tabs[‘description’] ); // Remove the description tab
        unset( $tabs[‘reviews’] ); // Remove the reviews tab
        unset( $tabs[‘additional_information’] ); // Remove the additional information tab
        return $tabs;
        }

        Then save the file and check back to your site product page after clearing the browser cache. It will remove those tabs from your site.

        How to rename the tabs:

        If you want to rename the tabs simply use the below-given code in the child theme >> functions.php file.

        /**
        * Rename product data tabs
        */
        add_filter( ‘woocommerce_product_tabs’, ‘woo_rename_tabs’, 98 );
        function woo_rename_tabs( $tabs ) {
        $tabs[‘description’][‘title’] = __( ‘More Information’ ); // Rename the description tab
        $tabs[‘reviews’][‘title’] = __( ‘Ratings’ ); // Rename the reviews tab
        $tabs[‘additional_information’][‘title’] = __( ‘Product Data’ ); // Rename the additional information tab
        return $tabs;
        }

        Then save the file and check back to your site product page after clearing the browser cache.

        How to reorder the tabs:

        If you want to reorder the tabs simply use the below given code in the child theme >> functions.php file.

        /**
        * Reorder product data tabs
        */
        add_filter( ‘woocommerce_product_tabs’, ‘woo_reorder_tabs’, 98 );
        function woo_reorder_tabs( $tabs ) {
        $tabs[‘reviews’][‘priority’] = 5; // Reviews first
        $tabs[‘description’][‘priority’] = 10; // Description second
        $tabs[‘additional_information’][‘priority’] = 15; // Additional information third
        return $tabs;
        }

        Then save the file and check back to your site product page after clearing the browser cache.

        Hope this information will help you in achieving what you need.

        Feel free to write back to us anytime, we are always here to help you.

        Best Regards.

        #1301
        erfanmalik
        Participant
            Expired

            I am try this but nothing happen pls help me

            Attachments:
            You must be logged in to view attached files.
            #1304
            Aizaz Awan
            Keymaster

                Hello, @erfanmalik,

                Could you please generate the new topic, and share your site WP Admin URL and Credentials in the private area of that topic with us, so that we will check and help you out in resolving your issue?

                Best Regards,
                PThemes Team.

                #1410
                av_admin_ 1984
                Participant

                    Hello
                    How are you?
                    One of my clients purchase the poto theme , I was the Woodmart fan and used for long time , but now the porto is so different in theme options and speed , in ui ux are not completely compare with woodmart but the speed is perfect and it is matter to me.

                    in this link https://www.portotheme.com/wordpress/porto/shortcodes/shortcodes/product-ajax-tab/#main there is ajax tab for precuts , it wont work until you use the English slug for category, unless it won’t work.
                    In my case , the site have organic click from google so we cannot to change the slugs of category’s. it must solved somehow by you.
                    Our language are not ltr , we are RTL.

                    #1417
                    Aizaz Awan
                    Keymaster

                        Hello, @av_admin_1984,

                        Could you please generate the new topic, and share your site WP Admin URL and Credentials in the private area of that topic with us, so that we will check and help you out in resolving your issue?

                        Best Regards,
                        PThemes Team.

                      Viewing 5 posts - 1 through 5 (of 5 total)
                      • You must be logged in to reply to this topic.
                      Customize Icon
                      Need Customization? We specialize in delivering high-quality web and mobile design/development services to our clientele. Should you require customization services, please do not hesitate to reach out to us at your convenience.