Rename ADDITIONAL INFORMATION text for product attributes

This topic has 4 replies, 2 voices, and was last updated 3 months, 3 weeks ago ago by Rose Tyler

  • Avatar: Mitul
    Mitul
    Participant
    January 12, 2024 at 12:16

    Hi

    Please have a look here https://obxgourmet.com/product/lolli-set/

    [1] I want to rename product attribute title “ADDITIONAL INFORMATION” to “Ingredients & Allergens”.

    Please tell me how can i do so?

    [2] I also want attribute text to be basic HTML formatted. At least
    can allow line break. Because using pipe symbol (|) only adds a comma and not allowing line break.

    [3] I want to move SKU under product name. (Above “Add to Wishlist”). Please get this working for us.

    Do let me know the settings for above points and which layout page to be modified for single product and category listing page https://obxgourmet.com/product-category/chocolates-sweets/

    [4] I want to have SKU on each products on category listing page https://obxgourmet.com/product-category/chocolates-sweets/ (Dont add text SKU, just have the values displayed there under product name)

    Thank you.

    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 12, 2024 at 15:31

    Hello, Mitul,

    Thank you for contacting us and for using XStore.

    1/ Please follow WooCommerce documentation – https://woo.com/document/editing-product-data-tabs/

    2/ Please provide some screenshots for a better understanding of your request.

    3/ Single product layout can be changed via Theme options > WooCommerce > Single Product builder, for example – https://prnt.sc/EIOOK5pSWUCv

    4/ https://prnt.sc/si3ykjZVrNUy

    If you have any additional questions or need further help, please don’t hesitate to contact us, but please post different questions via separate threads – https://www.8theme.com/forums/xstore-wordpress-support-forum/

    Best Regards,
    8Theme’s Team

    Avatar: Mitul
    Mitul
    Participant
    January 13, 2024 at 04:49

    Hi

    Thank you for your reply.

    Points# 3 & 4 are resolved.

    I will send screenshot of Point# 2 later after we finish Point# 1.

    So for #1, https://woo.com/document/editing-product-data-tabs/ as per that, i tried to check $tabs in functions.php file in themes and child themes files but i could not find out.

    Can you please help me to direct to the right file of your theme please?

    Thanks.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 14, 2024 at 08:51

    Hello, Mitul,

    We appreciate your prompt response.

    We kindly request that you modify the functions.php file within the child theme by inserting the following code:

    /**
     * Rename product data tabs
     */
    add_filter( 'woocommerce_product_tabs', 'woo_rename_tabs', 98 );
    function woo_rename_tabs( $tabs ) {
    
    	$tabs['additional_information']['title'] = __( 'Ingredients & Allergens' );	// Rename the additional information tab
    
    	return $tabs;
    }

    Best Regards,
    8Theme’s Team

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.