From 760ad1d04a541a536a6094e7906adbe87434bc69 Mon Sep 17 00:00:00 2001 From: bc-vlad-dlogush <83779098+bc-vlad-dlogush@users.noreply.github.com> Date: Thu, 19 Aug 2021 17:16:15 +0300 Subject: [PATCH] fix(storefront): BCTHEME-668 Google AMP feature request - Add in release date info for preorder products (#2107) --- CHANGELOG.md | 1 + templates/components/amp/products/product-view-details.html | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b8dde60043..a1f85643ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## Draft +- Google AMP feature request - Add in release date info for preorder products. [#2107](https://github.com/bigcommerce/cornerstone/pull/2107) ## 6.0.0 (08-06-2021) - Translation mechanism for config.json has been updated. [#2089](https://github.com/bigcommerce/cornerstone/pull/2089) diff --git a/templates/components/amp/products/product-view-details.html b/templates/components/amp/products/product-view-details.html index 3330cbb7e6..631192a9c4 100644 --- a/templates/components/amp/products/product-view-details.html +++ b/templates/components/amp/products/product-view-details.html @@ -20,6 +20,9 @@

components/amp/products/ratings rating=product.rating}} {{/if}} + {{#if product.release_date }} +

{{product.release_date}}

+ {{/if}}
{{#if product.sku}}
{{lang 'products.sku'}}