This post provides single lines of code you can use to add, remove and reposition different elements on any single product page.
You can use the code in your functions file which effects all single product pages or in a custom function with conditional tag if you only want to reposition specific elements on some product pages.
Another option is to create your own custom single product page template in your child theme and add the code directly to the template file so it only executes on the ages using the template.
The code snippets remove the default hook for each element which you can add back using a different priority by changing the third parameter.
Related Code Snippets
- List of Code Snippets for WooCommerce
- Custom WooCommerce Single Product Page Template For Genesis
- Woocommerce Single Product Hooks
- Add Next & Previous Product Navigation Links To WooCommerce Single Products
Was this helpful?
Thanks for your feedback!

Leave a Reply
You must be logged in to post a comment.