diff --git a/CHANGELOG.md b/CHANGELOG.md index e805543164..9b1280f7e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ## Draft +- Fix quantity edit on Simple Product AMP pages. [#1257](https://github.com/bigcommerce/cornerstone/pull/1257) ## 2.1.0 (2018-06-01) - Add Newsletter summary section to subscription form. [#1248](https://github.com/bigcommerce/cornerstone/pull/1248) diff --git a/templates/components/amp/products/product-view.html b/templates/components/amp/products/product-view.html index 0f864a5272..2e42bcc5f8 100644 --- a/templates/components/amp/products/product-view.html +++ b/templates/components/amp/products/product-view.html @@ -28,17 +28,13 @@
{{#or customer (if theme_settings.restrict_to_login '!==' true)}} - {{#if product.options}} - -
Choose Options
-
- {{else}} - Add To Cart - {{/if}} + +
Choose Options
+
{{/or}} {{#if product.out_of_stock}} {{#if product.out_of_stock_message}} diff --git a/templates/pages/amp/product.html b/templates/pages/amp/product.html index f618dd458c..73aa39a96f 100644 --- a/templates/pages/amp/product.html +++ b/templates/pages/amp/product.html @@ -16,9 +16,7 @@ {{#if settings.add_this.buttons}} {{/if}} - {{#if product.options}} - - {{/if}} + {{#if product.videos}} {{/if}}