We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc17545 commit beb97fdCopy full SHA for beb97fd
1 file changed
ps_googleanalytics.php
@@ -397,7 +397,8 @@ public function hookdisplayFooter()
397
$ga_scripts = '';
398
$this->js_state = 0;
399
$gacarts = $this->_manageData("", "R");
400
- if (count($gacarts)>0) {
+ $controller_name = Tools::getValue('controller');
401
+ if (count($gacarts)>0 && $controller_name!='product') {
402
$this->filterable = 0;
403
404
foreach ($gacarts as $gacart) {
@@ -416,7 +417,6 @@ public function hookdisplayFooter()
416
417
$gacarts = $this->_manageData("", "D");
418
}
419
- $controller_name = Tools::getValue('controller');
420
$listing = $this->context->smarty->getTemplateVars('listing');
421
$products = $this->wrapProducts($listing['products'], array(), true);
422
0 commit comments