// add new hook on product comparator
This commit is contained in:
1 parent
a7f20fd986
commit
90f5560cb3
2 files changed
+4
-13
No files matched your search
@@ -138,9 +138,10 @@ class CompareControllerCore extends FrontController
|
|||||||
'product_features' => $listFeatures,
|
'product_features' => $listFeatures,
|
||||||
'products' => $listProducts,
|
'products' => $listProducts,
|
||||||
'width' => $width,
|
'width' => $width,
|
||||||
|
'HOOK_COMPARE_EXTRA_INFORMATION' => Hook::exec('displayCompareExtraInformation', array('list_ids_product' => $ids)),
|
||||||
|
'HOOK_EXTRA_PRODUCT_COMPARISON' => Hook::exec('displayProductComparison', array('list_ids_product' => $ids)),
|
||||||
'homeSize' => Image::getSize(ImageType::getFormatedName('home'))
|
'homeSize' => Image::getSize(ImageType::getFormatedName('home'))
|
||||||
));
|
));
|
||||||
$this->context->smarty->assign('HOOK_EXTRA_PRODUCT_COMPARISON', Hook::exec('displayProductComparison', array('list_ids_product' => $ids)));
|
|
||||||
}
|
}
|
||||||
elseif (isset($this->context->cookie->id_compare))
|
elseif (isset($this->context->cookie->id_compare))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -37,18 +37,8 @@
|
|||||||
<div class="products_block table-responsive">
|
<div class="products_block table-responsive">
|
||||||
<table id="product_comparison" class="table table-bordered">
|
<table id="product_comparison" class="table table-bordered">
|
||||||
<tr>
|
<tr>
|
||||||
<td width="20%" class="td_empty">
|
<td width="20%" class="td_empty compare_extra_information">
|
||||||
<div class="share">
|
{$HOOK_COMPARE_EXTRA_INFORMATION}
|
||||||
<strong class="dark">{l s='Share this comparison whith your friends:'}</strong>
|
|
||||||
{literal}
|
|
||||||
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
|
|
||||||
<script type="text/javascript">stLight.options({publisher: "064cc95a-8054-4d07-966a-693ce7b9fd4b",nativeCount:false, doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>
|
|
||||||
{/literal}
|
|
||||||
<div class='st_twitter_hcount' displayText='Tweet'></div>
|
|
||||||
<div class='st_googleplus_hcount' displayText='Google +'></div>
|
|
||||||
<div class='st_pinterest_hcount' displayText='Pinterest'></div>
|
|
||||||
<div class='st_facebook_hcount' displayText='Facebook'></div>
|
|
||||||
</div>
|
|
||||||
<span>{l s='Features:'}</span>
|
<span>{l s='Features:'}</span>
|
||||||
</td>
|
</td>
|
||||||
{assign var='taxes_behavior' value=false}
|
{assign var='taxes_behavior' value=false}
|
||||||
|
|||||||
Reference in new issue
Block a user