diff --git a/app/code/community/Nexcessnet/Turpentine/Block/Product/Compared.php b/app/code/community/Nexcessnet/Turpentine/Block/Product/Compared.php new file mode 100644 index 000000000..12ec356c9 --- /dev/null +++ b/app/code/community/Nexcessnet/Turpentine/Block/Product/Compared.php @@ -0,0 +1,34 @@ +getCount()) { + return $this->renderView(); + } + + $this->setRecentlyComparedProducts($this->getItemsCollection()); + + return parent::_toHtml(); + } +} diff --git a/app/code/community/Nexcessnet/Turpentine/Block/Product/Viewed.php b/app/code/community/Nexcessnet/Turpentine/Block/Product/Viewed.php new file mode 100644 index 000000000..9561243e1 --- /dev/null +++ b/app/code/community/Nexcessnet/Turpentine/Block/Product/Viewed.php @@ -0,0 +1,32 @@ +getCount()) { + return $this->renderView(); + } + $this->setRecentlyViewedProducts($this->getItemsCollection()); + return parent::_toHtml(); + } +} diff --git a/app/code/community/Nexcessnet/Turpentine/etc/config.xml b/app/code/community/Nexcessnet/Turpentine/etc/config.xml index a74f63beb..3a638e1f7 100644 --- a/app/code/community/Nexcessnet/Turpentine/etc/config.xml +++ b/app/code/community/Nexcessnet/Turpentine/etc/config.xml @@ -131,6 +131,18 @@ Nexcessnet_Turpentine_Block_Poll_ActivePoll + + + + + Nexcessnet_Turpentine_Block_Product_Compared + Nexcessnet_Turpentine_Block_Product_Viewed + + + Nexcessnet_Turpentine_Block_Adminhtml_Cache_Grid diff --git a/app/design/frontend/base/default/layout/turpentine_esi.xml b/app/design/frontend/base/default/layout/turpentine_esi.xml index 1a78cfb39..f44357b68 100644 --- a/app/design/frontend/base/default/layout/turpentine_esi.xml +++ b/app/design/frontend/base/default/layout/turpentine_esi.xml @@ -88,6 +88,8 @@ private + +