-
Author
Tagged: woocommerce
-
August 27, 2015 at 18:21 #74874
maarten
ParticipantWe are trying to change the out of stock flag using the child theme’s functions.php using the info in this post:
https://support.woothemes.com/hc/en-us/articles/202845976-How-to-Change-In-Stock-Out-of-Stock-TextFor some reason this doesn’t change the text, which leads me to believe the theme manages the flags instead of WooCommerce.
can you please let us know how we can get the text changed?
August 28, 2015 at 18:54 #75071sharmstr
ModeratorKleo doesnt override that. I put the code from the link you provided into my child theme and it works as expected.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
Attachments:
You must be logged in to view attached files.August 28, 2015 at 19:34 #75078maarten
ParticipantSorry for not being clear enough. The stock message on the product page does indeed change. What I am talking about is the flag or ‘badge’ that shows up in the top left (span class=”out-of-stock-badge”).
Using the code from that link only updates the stock description on the product page but not the flag.
Attachments:
You must be logged in to view attached files.August 28, 2015 at 20:10 #75089sharmstr
ModeratorCorrect. That code isnt for the badge. As it states, “text displayed on a product’s page“.
Woo lets you translate the badge text.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.

