Can someone help me find a way to change the stock position on the product page?
Is there a hook for this? Or is there another way?
Question posted in Woocommerce
The official Woocommerce documentation can be found here.
The official Woocommerce documentation can be found here.
2
Answers
you can either change the position of excerpt and other content to the bottom of SKU using hooks like CHANGE POSITION. OR you can also cut & paste the code in stock.php under single-product folder to any other file where you want to show the sku of product like price.php/meta.php/title.php etc…
No, unfortunately as it is hardcoded inside the woocommerce template.
Probably a little late as an answer, but if someone else looks for this, here is an answer from another post:
woocommerce stock notification priority
Some suggestion from me would be to make a folder inside your child theme of woocommerce so that you will not loose any of the updates.
You can find a more clear answer, straight from woocommerce, here: https://docs.woocommerce.com/document/template-structure/
Also the folders that are mentioned in the utl above can be found inside this firectory path in your server: wp-content -> plugins -> woocommerce -> templates -> single-product -> add-to-cart