From 045206e57e6654a3818450f7f7aaabd94703cbee Mon Sep 17 00:00:00 2001 From: Kevin Chu Date: Wed, 10 Apr 2019 14:00:50 -0700 Subject: [PATCH] MERC-4842 Add additional regions --- templates/pages/amp/category.html | 5 ----- templates/pages/brand.html | 2 ++ templates/pages/brands.html | 2 ++ templates/pages/category.html | 2 ++ templates/pages/home.html | 5 +++++ templates/pages/product.html | 2 ++ templates/pages/search.html | 3 ++- 7 files changed, 15 insertions(+), 6 deletions(-) diff --git a/templates/pages/amp/category.html b/templates/pages/amp/category.html index 6d391e6c2e..a259ae071b 100644 --- a/templates/pages/amp/category.html +++ b/templates/pages/amp/category.html @@ -27,11 +27,6 @@

{{category.name}}

- - {{!-- Category descriptions should include valid AMP markup. Read more about what are valid components: https://www.ampproject.org/docs/reference/components - - {{{category.description}}} - --}}
{{#if category.products}} diff --git a/templates/pages/brand.html b/templates/pages/brand.html index cc9fc31560..a49cf21b4a 100644 --- a/templates/pages/brand.html +++ b/templates/pages/brand.html @@ -21,6 +21,7 @@ {{/if}}

{{brand.name}}

+{{{region name="brand_below_header"}}}
diff --git a/templates/pages/brands.html b/templates/pages/brands.html index ef4546c654..6c3a1de87e 100644 --- a/templates/pages/brands.html +++ b/templates/pages/brands.html @@ -8,6 +8,7 @@

{{lang 'brand.label'}}

+ {{{region name="brands_below_header"}}} {{> components/common/paginator pagination.brands}} + {{{region name="brands_below_content"}}}
{{/partial}} {{> layout/base}} diff --git a/templates/pages/category.html b/templates/pages/category.html index 4c11c932a4..e5d63abf10 100644 --- a/templates/pages/category.html +++ b/templates/pages/category.html @@ -22,6 +22,7 @@ {{/if}} {{#unless theme_settings.hide_category_page_heading }}

{{category.name}}

+ {{{region name="category_below_header"}}} {{/unless}} {{{category.description}}}
@@ -47,6 +48,7 @@

{{category.name}}

{{else}}

{{lang 'categories.no_products'}}

{{/if}} + {{{region name="category_below_content"}}}
diff --git a/templates/pages/home.html b/templates/pages/home.html index 6930d7bd63..9036c20056 100644 --- a/templates/pages/home.html +++ b/templates/pages/home.html @@ -12,9 +12,11 @@ limit: {{theme_settings.homepage_blog_posts_count}} --- {{#partial "hero"}} + {{{region name="menu_bottom"}}} {{#if carousel}} {{> components/carousel arrows=theme_settings.homepage_show_carousel_arrows}} {{/if}} + {{{region name="home_below_carousel"}}} {{/partial}} {{#partial "page"}} @@ -27,14 +29,17 @@ {{#if products.featured}} {{> components/products/featured products=products.featured columns=theme_settings.homepage_featured_products_column_count}} {{/if}} + {{{region name="home_below_featured"}}} {{#if products.top_sellers}} {{> components/products/top products=products.top_sellers columns=theme_settings.homepage_top_products_column_count}} {{/if}} + {{{region name="home_below_top"}}} {{#if products.new}} {{> components/products/new products=products.new columns=theme_settings.homepage_new_products_column_count}} {{/if}} + {{{region name="home_below_new"}}} {{/partial}} {{> layout/base}} diff --git a/templates/pages/product.html b/templates/pages/product.html index 0eddc803db..a991082527 100644 --- a/templates/pages/product.html +++ b/templates/pages/product.html @@ -19,6 +19,8 @@
{{> components/products/product-view schema=true }} + {{{region name="product_below_content"}}} + {{#if product.videos.list.length}} {{> components/products/videos product.videos}} {{/if}} diff --git a/templates/pages/search.html b/templates/pages/search.html index 4508156463..0fa38ff0fc 100644 --- a/templates/pages/search.html +++ b/templates/pages/search.html @@ -137,12 +137,13 @@
{{lang 'forms.search.suggestions.title'}}
{{> components/common/paginator pagination.content_results reload=true}}
- {{/if}}
{{> components/search/product-listing}}
+ + {{{region name="search_below_content"}}}