Add CSS class for low stock products on single product page in WooCommerce
I am not very familiar with php, and I am trying to add a class to 'Low stock' in the snippet below. What I am trying to achieve is making the Low Stock orange vis CSS in WooCommerce. function change_stock_text(…