matthew halnan
asked 10 years ago

Hello.
In the shop I would like to change the “Quick Overview” (h4) on the products page to Description, and the “Product Description” in additional information to “Details”. How can this be done? Thanks

1 Answers
DominicStaff
answered 10 years ago

Hi,
To change the “Quick Overview”in the single-shop page, you can open the meta.php file in the folder path “wp-content\themes\dw-trendy\woocommerce\single-product”, find the line 10. To change the Description in the “Quick Overview” section you can log in to Dashboard > Edit the product then find the “Product Short Description” under content frame.

– If you want to change the “Product Description” tabs, you can add the following code to the functions.php file (Under the line 85)

add_filter( 'woocommerce_product_tabs', 'woo_rename_tabs', 98 );
function woo_rename_tabs( $tabs ) {
global $product, $post;
if ( $post->post_content ) {
$tabs['description']['title'] = __( 'More Information' );
}
return $tabs;
}

/**
 * Change on single product panel "Product Description"
 */
add_filter('woocommerce_product_description_heading',
'isa_product_description_heading');
 
function isa_product_description_heading() {
    return __('YOUR CUSTOM TITLE', 'woocommerce');
}

Hope this helps !

matthew halnan
replied 10 years ago

Perfect, thanks!

Powered by DW Question & Answer Pro