comment

The comment object has the following attributes:

comment.id

Returns the id (unique identifier) of the comment.

comment.author

Returns the author of the comment.

comment.email

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

comment.content

Returns the content of the comment.

comment.status

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

  • unapproved
  • published
  • removed
  • spam

comment.url

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

Want to discuss this page?

Visit the Shopify Community