Changing ‘Stock Availability’ Text for Product Variations

This documents one method to change the ‘Stock Availability’ text for Woocommerce Product Variations. My requirement was that when a Product Variation was selected by the user on the frontend, in the following instances I wanted to show the corresponding availability text: Available: ‘[number] units available for your purchase.’ instead of the default ‘Available’. Out … Read more