By default the “out of stock” message is being output as a <p>
tag after the product description. How can I change the location where this message is being rendered?
1 comment
Comments are closed.
By default the “out of stock” message is being output as a <p>
tag after the product description. How can I change the location where this message is being rendered?
Comments are closed.
To override the default “out of stock” message that is being outputted as a
<p>
tag, copy:to
See edit Woocommerce template files
Open the copied file. On line 17 to 23 you find this code:
Here you can change the
<p>
tag to whatever you want. For example, I edited it to:So the output was:
Important links: