diff --git a/CHANGELOG.md b/CHANGELOG.md index ecb711e083..b9754fdb86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed escaping on created store account confirm message. [#2248]https://github.com/bigcommerce/cornerstone/pull/2248 - Pass theme settings from blog page to blog post template. [#2253]https://github.com/bigcommerce/cornerstone/pull/2253 - Bump jQuery to 3.6.1. [#2250](https://github.com/bigcommerce/cornerstone/issues/2250) +- Fix "incorrect value type" for anonymous reviews in Google Search Console [#2255]https://github.com/bigcommerce/cornerstone/pull/2255 - Reduce lodash usage [#2256]https://github.com/bigcommerce/cornerstone/pull/2256 ## 6.5.0 (06-24-2022) diff --git a/templates/components/products/schema.html b/templates/components/products/schema.html index ca258fd011..5ed1a953ff 100644 --- a/templates/components/products/schema.html +++ b/templates/components/products/schema.html @@ -28,7 +28,7 @@ "@type": "Review", "author": { "@type": "Person", - "name": {{{JSONstringify name}}} + "name": {{#if name}}{{{JSONstringify name}}}{{else}}{{{JSONstringify (lang 'products.reviews.anonymous_poster')}}}{{/if}} }, "datePublished": "{{date}}", "reviewBody": {{{JSONstringify text}}},