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 seperated Attribute slugs (e.g. color,size)

2 thoughts on “WooCommerce Attributes as Images Shortcode

  1. Anastasiya says:

    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!

    • Daniel
      Daniel acts as a real person and passed all tests against spambots. Anti-Spam by CleanTalk.
      says:

      The ID of an image is assigned as a term meta, so that should be available through the API.

Leave a Reply

Your email address will not be published. Required fields are marked *