Archived topic
product details page woo commerce
3 replies · Started by Ruth on December 10, 2021
Hi - On the woo commerce description page https://staging.textilejunkies.com/product/learn-to-sew-garment-project/
is it possible to do the following
1. Remove this text above the image "Home / Uncategorised / Learn to Sew – Garment Project"
2. Remove this text below the short description "Category: Uncategorised"
3. Remove the word "Description" as it appears just above the full text description? (NOT the turquoise "description" box that appears just below the image)
thanks
Hi there,
1. go to Customizer > Layout > Woocommerce and uncheck the Breadcrumbs
2. as per #1 under Single Product - uncheck Display product meta data
3. Add this PHP Snippet to your site:
add_filter( 'woocommerce_product_description_heading', '__return_null' );
How to add PHP: https://docs.generatepress.com/article/adding-php/
Hi david - thanks. Adding some PHP sounds a bit too heavy going! Is there a easy way of removing the turquoise "description" box that appears just below the image on the description page?
Unfortunately there is not - its a Woocommerce feature and the only way to remove it is using PHP.
If you're not using a Child Theme then simply install the Code Snippets plugin ( link provided in doc ). Add a new snippet, copy and paste the code i provided and save it.
With Woocommerce you will find there are several things that will either require you adding more plugins or a little bit of PHP :)