Skip to main content

comment

An article comment.

Properties

Anchor to
author

The full name of the author of the comment.

Anchor to
content

The content of the comment.

Anchor to
created_at

A timestamp for when the comment was created.

Tip

Use the date filter to format the timestamp.

The email of he author of the comment.

The ID of the comment.

Anchor to
status

The status of the comment. Always returns published.

Outside of the Liquid context, the status of a comment can vary based on spam detection and whether blog comments are moderated. However, only comments with a status of published are included in the article.comments array.

Tip

To learn more about blog comments, visit the Shopify Help Center.

Anchor to
updated_at

A timestamp for when the status of the comment was last updated.

Tip

Use the date filter to format the timestamp.

The relative URL of the article that the comment is associated with, with comment.id appended.

{
"author": "Cornelius",
"content": "Wow, this is going to save me a fortune in invisibility potion!",
"created_at": "2022-06-05 19:33:57 -0400",
"email": "cornelius.potionmaker@gmail.com",
"id": 129089273921,
"status": "published",
"updated_at": "2022-06-05 19:33:57 -0400",
"url": "/blogs/potion-notions/how-to-tell-if-you-have-run-out-of-invisibility-potion#129089273921"
}
Was this section helpful?