-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: product:lastModifiedAt from Catalog Service #68
Conversation
@@ -25,6 +25,7 @@ | |||
<meta property="product:availability" content="In stock"> | |||
<meta property="product:price.amount" content="29"> | |||
<meta property="product:price.currency" content="USD"> | |||
<meta property="product:lastModifiedAt" content="2024-12-16T06:25:43.024Z"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since product:lastModifiedAt
is not part of Open Graph product specification I'm not sure we should use that. Maybe last-modified
would be more appropriate?
From the index you can also pull out the last-modified
header which is returned by Edge Delivery Services. But this would correspond to when the document was published.
I'm guessing it would be better track the date from the catalog service and not the date the document was published. wdyt @dicagno?
…obe-rnd/helix-commerce-api into feat/product_last-modified-at
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lastModifiedAtCS
sounds pretty clunky to me, but not enough to want it changed.. I can see why the CS suffix is useful
# [1.12.0](v1.11.5...v1.12.0) (2024-12-16) ### Features * product:lastModifiedAt from Catalog Service ([#68](#68)) ([51663ff](51663ff))
🎉 This PR is included in version 1.12.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
PR proposed for #67
According to the proposed implementation, this
product:lastModifiedAt
is rendered as a meta tag by default, and can haveundefined
value in case the data source does not expose it.