This topic has 15 replies, 5 voices, and was last updated 9 years, 9 months ago ago by Eva Kemp
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 ?
Hello,
Do you mean this section? Please look at screenshot: http://prntscr.com/670yht
Regards,
Robert Hall.
Hi Robert,
Yes thats exactly the bit that i mean.
Neil
Please provide us with ftp credentials for the site as this text fields require some customization in theme files.
With best regards
Brian Jonhson
Here are the details in the private section below…
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.
Eva,
Can you be so kind to explain what you did to change this as interested in how to do this also.
Thanks
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.
Ok will give that a try, what particular lines are these on please as do not wish to mess anything up.
Thanks 🙂
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.
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 !!!
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
Hello @Jimbo,
You need edit the file wp-content/themes/woopress/woocommerce/content-single-product.php (line 64).
Regards,
Eva Kemp.
Thanks Eva I will do that and get back you, thank you 🙂
Hello @Jimbo,
You’re welcome.
Regards,
Eva Kemp.
Tagged: best selling, changes, layout, product page, themes, woocommerce
You must be logged in to reply to this topic.Log in/Sign up