Hi there,
While you could definitely use hooks, the easiest way to change the layout on the single product page is by overriding the templates used for that page. For a more in-depth guide on how to do that, have a look at the following: https://docs.woocommerce.com/document/template-structure/
Thread Starter
kyonv2
(@kyonv2)
Thank you!
#edit
Sadly what I thought was working is not anymore.
-
This reply was modified 7 years, 11 months ago by
kyonv2.
-
This reply was modified 7 years, 11 months ago by
kyonv2.
@kyonv2 Are you stating that you still need help? Can you confirm what exactly isn’t working and what you have tried?
Thread Starter
kyonv2
(@kyonv2)
Sorry, I wasn’t clear enough.
I kinda got it working by adding the contents of \templates\single-product\tabs\description.php to \woocommerce\templates\single-product\product-thumbnails.php. It works fine as long as there’s no thumbnails. I’d love the help to make it work with those as well though.
@kyonv2 Can you link to the page where you are trying to do this? You have to also keep in mind that if you begin moving elements around, the JavaScript and HTML that is meant to style and control the page will no longer function correctly and will need to be adjusted.
Kenin
(@kbassart)
Automattic Happiness Engineer
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.