Product additional info table doesn’t render attribute term (swatch) img
-
Description<br>
I’m trying to display a set of <i>icons</i> on the product page using the theme’s Single Product layout. I created a global attribute called “Iconos” and added several terms; each term has its Image swatch set (used as an icon).<br><br>
In the product layout, I added the Product additional information table element and limited its data source to the Iconos attribute. In the style settings of that element I:
- disable Label/Name
- enable Image and set a fixed image width
However, on the front-end only the term name as text appears. No image is rendered even though the Image option is enabled and the term has its image set. I temporarily added a fixed image gallery below the “Add to wishlist” button to illustrate the intended result (aligned icons), but what I need is to populate it dynamically from the Iconos attribute terms.<br><br>
Attachments include:
- Attribute term edit screen showing Image swatch configured
- Attribute terms list with image preview
- Gutenberg Single Product layout with the element configured
- Front-end output showing only term text
Steps to reproduce
- WooCommerce → Products → Attributes: create attribute Iconos (slug
iconos).
- Under Configure terms, create several terms and assign an Image swatch to each.
- Edit a product and assign the Iconos attribute with one or more terms.
- Woodmart → Layouts → Single Product: add Product additional information table and limit the data source to Iconos.
- In Style: disable Label/Name, enable Image, and set an image width.
- Save and view the product on the front-end.
Expected result
- The element displays the images (swatches) of the Iconos attribute terms assigned to the product, respecting the configured width and without showing text.
Actual result
- Only the term name is printed as plain text. No
![]()
tag is output and the image is not shown, even with Image enabled.
Attachments:
You must be
logged in to view attached files.
Hello,
This option is limited to displaying the attribute name only. Currently, there is no option to display the image for the terms themselves.
Kind Regards