From 71ec787584fed363eee4b0ca4eaa44b6a9bbbdaa Mon Sep 17 00:00:00 2001 From: Nathan Booker Date: Thu, 13 Dec 2018 11:48:13 -0600 Subject: [PATCH] Remove deprecated features - Delivery/Event Date, Configurable Fields These fields were deprecated over 6 months ago; removing them from Cornerstone. Product Options can be used to do all of the same things. --- .../amp/products/product-options.html | 6 ----- templates/components/cart/item-options.html | 5 ---- .../cart/modals/configure-product.html | 3 --- .../products/customizations/checkbox.html | 9 ------- .../products/customizations/file.html | 13 ---------- .../products/customizations/select.html | 14 ----------- .../products/customizations/text.html | 9 ------- .../products/customizations/textarea.html | 9 ------- templates/components/products/event-date.html | 24 ------------------- .../components/products/product-view.html | 6 ----- 10 files changed, 98 deletions(-) delete mode 100644 templates/components/products/customizations/checkbox.html delete mode 100644 templates/components/products/customizations/file.html delete mode 100644 templates/components/products/customizations/select.html delete mode 100644 templates/components/products/customizations/text.html delete mode 100644 templates/components/products/customizations/textarea.html delete mode 100644 templates/components/products/event-date.html diff --git a/templates/components/amp/products/product-options.html b/templates/components/amp/products/product-options.html index eaf1d2c02a..372911a367 100644 --- a/templates/components/amp/products/product-options.html +++ b/templates/components/amp/products/product-options.html @@ -3,17 +3,11 @@
- {{#each product.customizations}} - {{{dynamicComponent 'components/products/customizations'}}} - {{/each}}
{{#each product.options}} {{{dynamicComponent 'components/products/options'}}} {{/each}}
- {{#if product.event_date}} - {{> components/products/event-date}} - {{/if}} {{#if product.can_purchase}} {{> components/products/add-to-cart}} {{/if}} diff --git a/templates/components/cart/item-options.html b/templates/components/cart/item-options.html index b8b904b2b2..bfd166df37 100644 --- a/templates/components/cart/item-options.html +++ b/templates/components/cart/item-options.html @@ -1,10 +1,5 @@ -

- {{#each product.customizations}} -

{{{dynamicComponent 'components/products/customizations'}}}
- {{/each}} -

Options {{#each product.options}}

{{{dynamicComponent 'components/products/options'}}}
diff --git a/templates/components/cart/modals/configure-product.html b/templates/components/cart/modals/configure-product.html index 7682d251be..93528262b8 100644 --- a/templates/components/cart/modals/configure-product.html +++ b/templates/components/cart/modals/configure-product.html @@ -9,9 +9,6 @@

- {{#each product.customizations}} - {{{dynamicComponent 'components/products/customizations'}}} - {{/each}}
{{#each product.options}} {{{dynamicComponent 'components/products/options'}}} {{/each}}
- {{#if product.event_date}} - {{> components/products/event-date}} - {{/if}}