A customer on our support desk asked for this customization. I though it was a nice idea, so I wrote a quick snippet to do so.
It could be useful in some cases, when you don’t want to use the tab “Additional Information” or you want the information to appear immediately, without the need to scroll all the way down to the tabs and then click to the Additional Information tab to see it.
As usual, open the file functions.php located in wp-content/themes/your-theme-name and add this code at the end of the file:
This will show the attributes table just after the Add to Cart button, it will look like this using the theme Storefront:
The code won’t remove the tab Additional Information too, if you want to do so you will need some extra code and you can find a tutorial about this here: https://docs.woothemes.com/document/editing-product-data-tabs/
Leave a Reply