From c5a6eeee181513afae9bb89f8bd9a3836e77a8ca Mon Sep 17 00:00:00 2001 From: Tolu Abayomi Date: Wed, 14 Jun 2017 16:45:28 -0700 Subject: [PATCH] Add content regions to cornerstone --- templates/components/common/header.html | 5 +++-- templates/components/products/product-view.html | 1 + templates/pages/cart.html | 4 ++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/templates/components/common/header.html b/templates/components/common/header.html index dcacff22f7..9e9e879883 100644 --- a/templates/components/common/header.html +++ b/templates/components/common/header.html @@ -16,13 +16,14 @@

{{> components/common/store-logo}}

+ + {{{region name="homepage_banner"}}} {{else}} {{/if}} - - + diff --git a/templates/components/products/product-view.html b/templates/components/products/product-view.html index cec232ab5b..36ac4629ee 100644 --- a/templates/components/products/product-view.html +++ b/templates/components/products/product-view.html @@ -27,6 +27,7 @@

components/common/login-for-pricing}} {{/or}} + {{{region name="product_below_price"}}}
{{#if settings.show_product_rating}} {{#if product.num_reviews '>' 0}} diff --git a/templates/pages/cart.html b/templates/pages/cart.html index 2269e261b6..99cb389391 100644 --- a/templates/pages/cart.html +++ b/templates/pages/cart.html @@ -1,3 +1,7 @@ +{{#partial "header"}} + {{{region name="header_bottom"}}} +{{/partial}} + {{#partial "page"}}