diff --git a/CHANGELOG.md b/CHANGELOG.md index 14797ea81e..d634c1d34c 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 +- Migrate Cornerstone to new "Hide Price From Guests" functionality [#2262](https://github.com/bigcommerce/cornerstone/pull/2262) - Add Accelerated buttons container into 'add to cart' popup on product details page [#2264](https://github.com/bigcommerce/cornerstone/pull/2264) ## 6.6.1 (09-14-2022) diff --git a/config.json b/config.json index dbd6681e5b..34b8155771 100644 --- a/config.json +++ b/config.json @@ -312,7 +312,6 @@ "color_hover_product_sold_out_badges": "#000000", "focusTooltip-textColor": "#ffffff", "focusTooltip-backgroundColor": "#313440", - "restrict_to_login": false, "swatch_option_size": "22x22", "social_icon_placement_top": false, "social_icon_placement_bottom": "bottom_none", diff --git a/lang/en.json b/lang/en.json index ab4fb741bb..43c5c4d630 100755 --- a/lang/en.json +++ b/lang/en.json @@ -39,6 +39,7 @@ "cart": { "nav_aria_label": "Cart with 0 items", "continue_shopping": "Click here to continue shopping", + "login_to_checkout": "Login to proceed to checkout", "items": "{NUM, plural, =0{(0 items)} one {(# item)} other {(# items)}}", "checkout": { "address": { diff --git a/schema.json b/schema.json index 1120470c02..225465c279 100644 --- a/schema.json +++ b/schema.json @@ -477,12 +477,6 @@ "type": "heading", "content": "i18n.PurchaseOptions" }, - { - "type": "checkbox", - "label": "i18n.HidePurchaseOptionsPriceAnd", - "force_reload": true, - "id": "restrict_to_login" - }, { "type": "heading", "content": "i18n.FormInputFields" diff --git a/schemaTranslations.json b/schemaTranslations.json index 957e6e0241..9f1b4788f6 100644 --- a/schemaTranslations.json +++ b/schemaTranslations.json @@ -1157,24 +1157,6 @@ "no": "Kjøpsalternativer", "ko": "구매 옵션" }, - "i18n.HidePurchaseOptionsPriceAnd": { - "default": "Hide purchase options (price and add to cart button) for customers who aren't logged in", - "fr": "Masquer les options dachat prix et bouton Ajouter au panier pour les clients qui ne sont pas connectés", - "it": "Nascondi le opzioni di acquisto prezzo e pulsante di aggiunta al carrello per i clienti che non hanno effettuato laccesso", - "uk": "Сховати параметри покупки (ціна та кнопка додавання у кошик) для клієнтів, які не ввійшли в систему", - "zh": "当客户未登录时,隐藏购买选项(价格和添加购物车按钮)在", - "de": "Kaufoptionen Preis und Schaltfläche „Zum Warenkorb hinzufügen“ für Kunden ausblenden die nicht angemeldet sind", - "es": "Ocultar opciones de compra precio y botón Añadir al carrito para clientes que no han iniciado sesión", - "nl": "Verberg aankoopopties knoppen Prijs en Toevoegen aan winkelmandje voor klanten die niet zijn ingelogd", - "pt": "Ocultar opções de compra botão de preço e de adicionar ao carrinho para clientes não conectados", - "sv": "Dölj köpalternativ pris och knappen Lägg i kundvagn för kunder som inte är inloggade", - "es-MX": "Ocultar opciones de compra (precio y botón Añadir al carrito) para clientes que no han iniciado sesión", - "pt-BR": "Ocultar opções de compra botão de preço e de adicionar ao carrinho para clientes não conectados", - "es-419": "Ocultar opciones de compra botón de precio y añadir al carrito para los clientes que no han iniciado sesión", - "da": "Skjul købsmuligheder pris og læg i kurv-knap for kunder der ikke er logget ind", - "no": "Skjul kjøpsalternativer pris og legg i handlekurv-knapp for kunder som ikke er pålogget", - "ko": "로그인하지 않은 고객을 위한 구매 옵션 숨기기가격 및 장바구니에 담기 버튼" - }, "i18n.FormInputFields": { "default": "Form Input fields", "fr": "Champs de saisie sur le formulaire", diff --git a/templates/components/amp/products/card.html b/templates/components/amp/products/card.html index b85c852dcf..5a797a84ce 100644 --- a/templates/components/amp/products/card.html +++ b/templates/components/amp/products/card.html @@ -27,7 +27,7 @@