WooCommerce Attributes as Images Shortcode
Our WooCommerce Attribute Images plugin also offers a shortcode you can use in your website.
[woocommerce_attribute_images_attributes product="" attributes=""]
Parameters
- Product = Product ID (if empty it tries to get current product)
- Attributes = Comma separated Attribute slugs (e.g. color,size)
Questions & answers (2)
AnastasiyaDecember 21, 2021
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!
DanielDecember 21, 2021
The ID of an image is assigned as a term meta, so that should be available through the API.