• Resolved bienio

    (@bienio)


    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.

    What I want to achieve

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter bienio

    (@bienio)

    Anyone can help? I want to achieve another possibility to display images/textures of colors of products in Woocommerce, on product site, like on picture below:

    Colors

    One product can have many texture of colors. I don’t need buying options, etc, I am only creating a catalog of products (with no prices).

    I thought it can be done by products attributes, simply adding color and upload image to it, which I can do. I have problem with displaying these images.

    • This reply was modified 8 years, 3 months ago by bienio.
    • This reply was modified 8 years, 3 months ago by bienio.
    • This reply was modified 8 years, 3 months ago by bienio.
    Thread Starter bienio

    (@bienio)

    I solve it in different way: with Advanced Custom Fields, adding Gallery.

    Bienio, how did you do it? I have been working on using both tools and I have not had success yet.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Displaying images of attributes in Woocommerce’ is closed to new replies.