The comment object has the following attributes:

Returns the id (unique identifier) of the comment.

Returns the author of the comment.

Returns the e-mail address of the comment's author.


Returns the content of the comment.


Returns the status of the comment. The possible values are:

  • unapproved
  • published
  • removed
  • spam


Returns the URL of the article with appended to it. This is so the page will automatically scroll to the comment.

Want to discuss this page?

Visit the Shopify Community