diff --git a/CHANGELOG.md b/CHANGELOG.md index 05df2fdf78..50dd3482fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ## Draft +- Use https:// for schema markup. [#2039](https://github.com/bigcommerce/cornerstone/pull/2039) - Removed duplicates of main tag.[#2032](https://github.com/bigcommerce/cornerstone/pull/2032) - Hamburger Menu Icon missing on Google AMP Pages. [#2022](https://github.com/bigcommerce/cornerstone/pull/2022) - Wish List drop down is truncated on product page. [#2001](https://github.com/bigcommerce/cornerstone/pull/2001) diff --git a/templates/components/amp/products/product-view-details.html b/templates/components/amp/products/product-view-details.html index 1a9cf6956e..3330cbb7e6 100644 --- a/templates/components/amp/products/product-view-details.html +++ b/templates/components/amp/products/product-view-details.html @@ -2,7 +2,7 @@

{{product.title}}

{{#if product.brand }} -

+

{{/if}} diff --git a/templates/components/amp/products/reviews.html b/templates/components/amp/products/reviews.html index 253e534592..a170886893 100644 --- a/templates/components/amp/products/reviews.html +++ b/templates/components/amp/products/reviews.html @@ -7,9 +7,9 @@

-
+
{{theme_settings.pdp-price-label}} {{price.price_range.min.with_tax.formatted}} - {{price.price_range.max.with_tax.formatted}} @@ -29,12 +29,12 @@ {{lang 'products.price_with_tax' tax_label=price.price_range.min.tax_label}} {{/and}} {{#if schema_org}} - - + + -
+
@@ -67,7 +67,7 @@ {{price.non_sale_price_without_tax.formatted}}
-
+
{{theme_settings.pdp-price-label}} {{price.price_range.min.without_tax.formatted}} - {{price.price_range.max.without_tax.formatted}} @@ -75,12 +75,12 @@ {{lang 'products.price_without_tax' tax_label=price.price_range.min.tax_label}} {{/and}} {{#if schema_org}} - - + + -
+
diff --git a/templates/components/products/price.html b/templates/components/products/price.html index 9eec517a63..d0cf44b737 100644 --- a/templates/components/products/price.html +++ b/templates/components/products/price.html @@ -20,7 +20,7 @@ {{price.non_sale_price_with_tax.formatted}}
-
+
{{theme_settings.pdp-price-label}} @@ -29,12 +29,12 @@ {{price.with_tax.formatted}} {{#if schema_org}} - - + + -
+
@@ -58,7 +58,7 @@ {{price.non_sale_price_without_tax.formatted}}
-
+
{{theme_settings.pdp-price-label}} @@ -67,12 +67,12 @@ {{price.without_tax.formatted}} {{#if schema_org}} - - + + -
+
diff --git a/templates/components/products/product-view.html b/templates/components/products/product-view.html index 3be04e722e..9ce3fe3255 100644 --- a/templates/components/products/product-view.html +++ b/templates/components/products/product-view.html @@ -75,7 +75,7 @@

{{product.title}}

{{#if product.brand}} -

+

{{/if}} @@ -92,7 +92,7 @@

{{{region name="product_below_price"}}} -
' 0}}{{#if schema}} itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"{{/if}}{{/if}}> +
' 0}}{{#if schema}} itemprop="aggregateRating" itemscope itemtype="https://schema.org/AggregateRating"{{/if}}{{/if}}> {{#if settings.show_product_rating}} {{#if product.num_reviews '>' 0}} {{#if schema}} diff --git a/templates/components/products/reviews.html b/templates/components/products/reviews.html index ae2217ca27..8f8dee1a7c 100644 --- a/templates/components/products/reviews.html +++ b/templates/components/products/reviews.html @@ -17,9 +17,9 @@

    {{#each reviews.list}}
  • -
    +
    - + {{> components/products/ratings rating=rating}} {{ rating }} diff --git a/templates/pages/amp/product.html b/templates/pages/amp/product.html index 55f74933ed..f8e8215733 100644 --- a/templates/pages/amp/product.html +++ b/templates/pages/amp/product.html @@ -23,7 +23,7 @@ {{/partial}} {{#partial "page"}} {{> components/amp/common/header }} -
    +
    {{> components/amp/products/product-view schema=true}}
    {{#if settings.amp_analytics_id}} diff --git a/templates/pages/product.html b/templates/pages/product.html index 5536b567e9..016db21c4f 100644 --- a/templates/pages/product.html +++ b/templates/pages/product.html @@ -19,7 +19,7 @@ {{> components/common/alert/alert-info message}} {{/each}} -
    +
    {{> components/products/product-view schema=true }} {{{region name="product_below_content"}}}