I’ve been changing the way that the Single product page looks. I’ve moved a few things about by hooking into Woocommerce and also editing the css.
Out of the box the single product page shows the short description (described as woocommerce_template_single_excerpt in the content-single-product.php file) next to the product image, but I want to show the full description.
The full description is shown in the product data tabs underneath the product. Looking in the tabs directory at the description.php file it seems to just set the heading. Presumably as the product is a custom post type the product description is the content of the custom post.
I’ve worked around it by putting the full description in the product short description section but I’d like a solution that doesn’t require someone adding products to have to do this.
Can anyone suggest a way of doing this please?
Instead of editing the template you could also try this:
Slightly different fix provided by Woocommerce so I thought I should include it here:
In templates/single-product/short-description.php where it says:
Replace this (2 occurrences) with;
Thanks
I never understood this either from woocommerce… I’d expect a ‘product description’ as the main post info and then perhaps ‘detailed description’ or ‘additional product information’ in the tab.
in
templates/single-product/short-description.php
replacewith
then in
templates/single-product/tabs/description.php
replacewith
Use woocommerce template in price.php