WooCommerce - excelling eCommerce
Override stock html on a variant (variable) (2 posts)

  1. Rein Aris
    Posted 1 year ago #

    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:

    The html that I want to change is in the variable:

    How do I change this function in my theme functions.php.
    I do not want to edit the plugin.


  2. Rein Aris
    Posted 1 year ago #

    Any example is perfect, I just want to know how to do this properly! Thanks :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic