From bf342b843cc3c972412185c00f124565c37ef799 Mon Sep 17 00:00:00 2001 From: Joshua Azemoh Date: Wed, 23 Sep 2020 09:49:37 -0400 Subject: [PATCH] Add section detection for pages --- .../view/frontend/layout/catalog_category_view.xml | 12 ++++++++++++ .../Fera/Ai/view/frontend/templates/footer.phtml | 1 + .../frontend/templates/footer/product/list.phtml | 4 ++++ .../frontend/templates/footer/product/view.phtml | 1 + 4 files changed, 18 insertions(+) create mode 100644 src/app/code/Fera/Ai/view/frontend/layout/catalog_category_view.xml create mode 100644 src/app/code/Fera/Ai/view/frontend/templates/footer/product/list.phtml diff --git a/src/app/code/Fera/Ai/view/frontend/layout/catalog_category_view.xml b/src/app/code/Fera/Ai/view/frontend/layout/catalog_category_view.xml new file mode 100644 index 0000000..efc72d1 --- /dev/null +++ b/src/app/code/Fera/Ai/view/frontend/layout/catalog_category_view.xml @@ -0,0 +1,12 @@ + + + + + + + + + diff --git a/src/app/code/Fera/Ai/view/frontend/templates/footer.phtml b/src/app/code/Fera/Ai/view/frontend/templates/footer.phtml index a8c8979..43fd790 100644 --- a/src/app/code/Fera/Ai/view/frontend/templates/footer.phtml +++ b/src/app/code/Fera/Ai/view/frontend/templates/footer.phtml @@ -17,6 +17,7 @@ window.fera.push('setCart', getCartJson(); ?>); + getChildHtml('fera_ai.footer.product.list'); ?> getChildHtml('fera_ai.footer.product.view'); ?> getChildHtml('fera_ai.footer.checkout.success'); ?> diff --git a/src/app/code/Fera/Ai/view/frontend/templates/footer/product/list.phtml b/src/app/code/Fera/Ai/view/frontend/templates/footer/product/list.phtml new file mode 100644 index 0000000..0504ac2 --- /dev/null +++ b/src/app/code/Fera/Ai/view/frontend/templates/footer/product/list.phtml @@ -0,0 +1,4 @@ + diff --git a/src/app/code/Fera/Ai/view/frontend/templates/footer/product/view.phtml b/src/app/code/Fera/Ai/view/frontend/templates/footer/product/view.phtml index d192479..5523e3d 100644 --- a/src/app/code/Fera/Ai/view/frontend/templates/footer/product/view.phtml +++ b/src/app/code/Fera/Ai/view/frontend/templates/footer/product/view.phtml @@ -1,4 +1,5 @@