Override stock html on a variant (variable)
-
Working on WooCommerce with product variants (variables).
I like to override the stock html. I like to display an image or so, I just want to change that little part of html.
This piece of code comes from:
public function get_available_variations()
It’s defined in:
class-wc-product-variable.phpThe html that I want to change is in the variable:
$availability_htmlHow do I change this function in my theme functions.php.
I do not want to edit the plugin.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Override stock html on a variant (variable)’ is closed to new replies.