I would like to replace the color text (“Black”, Navy Blue”, etc.) in the color swatches tooltip. What I’d like to do is use the data value to instead load a picture in the tooltip. So for example, if the data value is [data-value=”black”] then I can load a small image like black.jpp or something.
I’ve come up with a pretty hack-y way of doing this – but there’s gotta be a better way. Help?
Sorry, but there is no such option in our theme and WooCommerce by default. It may require additional code customization or extra plugin but we don’t have an instruction for this. It is out of our theme support scope.