Displaying images of attributes in Woocommerce
-
Hi, I need to get images attached to color attribute in current product and insert it into separate css styled gallery of colors on single product site.
I am adding color attributes to products in Woocommerce (I am creating my own theme in WordPress), adding images of the textures of colors to these attributes by the Taxonomy Image and want to display these images on single product site.
Trying to add:
$result = apply_filters( 'taxonomy-images-queried-term-image', '' );
in content-single-product.php, but it gives me nothing.
I also tried other ways, that I found on the Internet and this page, and I cannot display these images.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Displaying images of attributes in Woocommerce’ is closed to new replies.