Product Page Layout Changes - by masseyn

This topic has 15 replies, 5 voices, and was last updated 9 years ago ago by Eva Kemp

  • Avatar: masseyn
    masseyn
    Participant
    February 19, 2015 at 01:19

    Is it possible to try and change any of the following ??

    1) The Titles of the areas on the page such as the top Product Description to be called Quick Description and the second tabbed Description to be called Detailed Description.

    2) Can i have the tabbed description by default to be collapsed to begin with ?

    Please, contact administrator
    for this information.
    14 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    February 19, 2015 at 09:31

    Hello,

    Do you mean this section? Please look at screenshot: http://prntscr.com/670yht

    Regards,
    Robert Hall.

    Avatar: masseyn
    masseyn
    Participant
    February 24, 2015 at 23:53

    Hi Robert,

    Yes thats exactly the bit that i mean.

    Neil

    Avatar: Brian Johnson
    Brian Johnson
    Member
    February 25, 2015 at 11:56

    Please provide us with ftp credentials for the site as this text fields require some customization in theme files.

    With best regards
    Brian Jonhson

    Avatar: masseyn
    masseyn
    Participant
    February 25, 2015 at 14:55

    Here are the details in the private section below…

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    February 25, 2015 at 19:13

    Hello,

    I’ve changed the titles for the tab.
    Please check it now.
    I’ve edited the files wp-content/plugins/woocommerce/templates/single-product/tabs/description.php and wp-content/themes/woopress/functions.php.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: Jimbo
    Jimbo
    Participant
    February 25, 2015 at 19:26

    Eva,

    Can you be so kind to explain what you did to change this as interested in how to do this also.

    Thanks

    Avatar: Eva
    Eva Kemp
    Support staff
    February 26, 2015 at 00:19

    Hello @Jimbo,

    You need edit the files wp-content/plugins/woocommerce/templates/single-product/tabs/description.php and wp-content/themes/woopress/functions.php via FTP, find the text you want to change and replace it with yours.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: Jimbo
    Jimbo
    Participant
    February 26, 2015 at 09:34

    Ok will give that a try, what particular lines are these on please as do not wish to mess anything up.

    Thanks 🙂

    Avatar: Eva
    Eva Kemp
    Support staff
    February 26, 2015 at 13:56

    Hello @Jimbo,

    In the file wp-content/plugins/woocommerce/templates/single-product/tabs/description.php the line is 14 and in the file wp-content/themes/woopress/functions.php I added this code as described in Woocommerce documentation http://docs.woothemes.com/document/editing-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
    return $tabs;
    } 

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: masseyn
    masseyn
    Participant
    February 26, 2015 at 17:13

    Hi,

    Just be careful. Eva’s changes were fine but I then tried to change the functions.php text as it wasn’t quite what I was after and my site got the white screen of death…

    I restored the original functions.php and all started working again !!! PHEW !!!

    Avatar: Jimbo
    Jimbo
    Participant
    March 10, 2015 at 21:01

    How do I change the top ‘ Product Description ‘ at the very top of the single product page?

    I have managed to change the tabs product description text.

    Thanks in advance

    Avatar: Eva
    Eva Kemp
    Support staff
    March 11, 2015 at 11:02

    Hello @Jimbo,

    You need edit the file wp-content/themes/woopress/woocommerce/content-single-product.php (line 64).

    Regards,
    Eva Kemp.

    Avatar: Jimbo
    Jimbo
    Participant
    March 11, 2015 at 12:10

    Thanks Eva I will do that and get back you, thank you 🙂

    Avatar: Eva
    Eva Kemp
    Support staff
    March 11, 2015 at 19:13

    Hello @Jimbo,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 15 results - 1 through 15 (of 15 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.