Our WooCommerce Attribute Images plugin also offers a shortcode you can use in your website.
[woocommerce_attribute_images_attributes product="" attributes=""]
- Product = Product ID (if empty it tries to get current product)
- Attributes = Comma seperated Attribute slugs (e.g. color,size)
2 thoughts on “WooCommerce Attributes as Images Shortcode”
Hello Team at WeLaunch,
Does this plugin have support for GraphQL? I have purchased this plugin but cannot find the attributes from this plugin in the graphql query although they appear in the product attributes in wordpress.
Thank you for your help!
The ID of an image is assigned as a term meta, so that should be available through the API.