This topic has 10 replies, 5 voices, and was last updated 8 years, 3 months ago ago by Robert Hall
Hi,
Can you let me know which file to change the wording for ‘Out of Stock’ to ‘Sold Out’?
Many thanks
Hello,
You can change it in \wp-content\themes\legenda\woocommerce\content-product.php file.
Please find this code <span class="out-of-stock"><?php _e('Out of stock', ETHEME_DOMAIN) ?></span>
Regards,
Robert Hall.
Hi,
I have changed the line to ‘Sold Out’ but on this page see below as an example the old message is still showing.
Hello,
Please refer to this article:
https://support.woothemes.com/hc/en-us/articles/202845976-How-to-Change-In-Stock-Out-of-Stock-Text
Regards,
Eva Kemp.
Many thanks, so I could add this to child theme?
Hello,
Yes, you can add that code child theme functions.php file.
Regards,
Eva Kemp.
#104558 post – this link comes up… https://docs.woocommerce.com/external-document/?author=WP%20Tribe
1. Only 1 left in stock – changed to 1 IN STOCK + can this be also changed to GREEN?
2. OUT OF STOCK (contact us to order) – still need this resolved
Hello @DoubleHapp,
You have been answered in this topic https://www.8theme.com/topic/out-of-stock-text/#post-135169
As for
Only 1 left in stock – changed to 1 IN STOCK + can this be also changed to GREEN?
please give us a link to such product. Also clarify if you want to change that text color to green.
Best regards,
Jack Richardson.
Hi Jack
Everything is working as I want now. Thank you!
You can close this ticket 🙂
Hello,
You’re welcome!
Regards,
Robert Hall
The issue related to '‘Change wording of 'out of stock'’' has been successfully resolved, and the topic is now closed for further responses