From 912063200c49a180686acf8b355e5588efe43244 Mon Sep 17 00:00:00 2001 From: bookernath Date: Mon, 10 Apr 2017 13:57:13 -0700 Subject: [PATCH] STENCIL-3253 allow merchants to specify Geotrust cert Common Name Allowing the theme user to specify the correct Common Name for the certificate will allow it to render correctly. This information can be referenced from the billing system for certs purchased through BC. --- CHANGELOG.md | 1 + config.json | 2 +- schema.json | 10 +++++++--- templates/components/common/footer.html | 2 +- templates/components/common/geotrust-ssl-seal.html | 2 +- 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 145e2b463b..2fa7ff8728 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## Draft - Update bigcommerce.com footer link [#990](https://github.com/bigcommerce/cornerstone/pull/990) - Fix invalid icon HTML in AMP templates [#989](https://github.com/bigcommerce/cornerstone/pull/989) +- Add new theme editor setting for SSL common name to enable GeoTrust badge to work properly [#994](https://github.com/bigcommerce/cornerstone/pull/994) ## 1.6.3 (2017-03-28) - `stencil.conf.js` was refactored to support webpack2 builds [961](https://github.com/bigcommerce/cornerstone/pull/961) diff --git a/config.json b/config.json index 65a58684fe..ffeb45d518 100644 --- a/config.json +++ b/config.json @@ -252,7 +252,7 @@ "swatch_option_size": "22x22", "social_icon_placement_top": false, "social_icon_placement_bottom": "bottom_none", - "show_geotrust_ssl_seal": false, + "geotrust_ssl_common_name": "", "geotrust_ssl_seal_size": "M", "navigation_design": "simple" }, diff --git a/schema.json b/schema.json index 6d1d80e78d..7767f6081d 100644 --- a/schema.json +++ b/schema.json @@ -2273,10 +2273,14 @@ "content": "GeoTrust SSL" }, { - "type": "checkbox", - "label": "Show Seal", + "type": "paragraph", + "content": "If you've purchased a GeoTrust SSL from BigCommerce, check your BigCommerce Account Dashboard for the correct Common Name to use here." + }, + { + "type": "text", + "label": "SSL Common Name", "force_reload": true, - "id": "show_geotrust_ssl_seal" + "id": "geotrust_ssl_common_name" }, { "type": "select", diff --git a/templates/components/common/footer.html b/templates/components/common/footer.html index 6245d2abf8..73d13087a0 100644 --- a/templates/components/common/footer.html +++ b/templates/components/common/footer.html @@ -71,7 +71,7 @@ {{> components/common/payment-icons}} - {{#if theme_settings.show_geotrust_ssl_seal}} + {{#if theme_settings.geotrust_ssl_common_name}} diff --git a/templates/components/common/geotrust-ssl-seal.html b/templates/components/common/geotrust-ssl-seal.html index a3b0cec398..088dfc7064 100644 --- a/templates/components/common/geotrust-ssl-seal.html +++ b/templates/components/common/geotrust-ssl-seal.html @@ -1,7 +1,7 @@
-
+