diff --git a/themes/bootstrap3/templates/combined/results.phtml b/themes/bootstrap3/templates/combined/results.phtml index 68f85321dfe5b876a025d3f9f069e40478669b42..484a045ace974f4316a8cbc8868cb863cbac0fcb 100644 --- a/themes/bootstrap3/templates/combined/results.phtml +++ b/themes/bootstrap3/templates/combined/results.phtml @@ -34,7 +34,7 @@ $this->escapeHtml($lookfor) . '</li>'; } - // Disable cart if appropriate: + // Enable cart if appropriate: $this->showCartControls = $this->supportsCart && $this->cart()->isActive(); // Load Javascript dependencies into header: diff --git a/themes/bootstrap3/templates/combined/stack-distributed.phtml b/themes/bootstrap3/templates/combined/stack-distributed.phtml index d0634162e16e57517ac4de3094e8833e26bfb98b..91cb37ec0dd289b76d73188b81256e15f281c726 100644 --- a/themes/bootstrap3/templates/combined/stack-distributed.phtml +++ b/themes/bootstrap3/templates/combined/stack-distributed.phtml @@ -16,7 +16,7 @@ <? if ((!isset($currentSearch['ajax']) || !$currentSearch['ajax']) && isset($currentSearch['hide_if_empty']) && $currentSearch['hide_if_empty'] && $currentSearch['view']->results->getResultTotal() == 0) { $columnIndex += $columns; continue; } ?> <? $viewParams = array('searchClassId' => $searchClassId, 'currentSearch' => $currentSearch); - // Disable cart if appropriate: + // Enable cart if appropriate: $viewParams['showCartControls'] = $this->supportsCartOptions[$columnIndex] && $this->showCartControls; ?> <div id="combined_<?=$this->escapeHtmlAttr($searchClassId)?>"> diff --git a/themes/bootstrap3/templates/combined/stack-left.phtml b/themes/bootstrap3/templates/combined/stack-left.phtml index 803cd3fc9fc380a819072e6fc3d77e5def676708..d7dfd261d49a698aa78d84387310c5c935d5e874 100644 --- a/themes/bootstrap3/templates/combined/stack-left.phtml +++ b/themes/bootstrap3/templates/combined/stack-left.phtml @@ -9,8 +9,8 @@ <? endif; ?> <? $viewParams = array('searchClassId' => $searchClassId, 'currentSearch' => $currentSearch); - // Disable cart if appropriate: - $viewParams['showCartControls'] = $this->showCartControls; + // Enable cart if appropriate: + $viewParams['showCartControls'] = $this->supportsCartOptions[$columnIndex] && $this->showCartControls; ?> <div id="combined_<?=$this->escapeHtmlAttr($searchClassId)?>"> <? $templateSuffix = (isset($currentSearch['ajax']) && $currentSearch['ajax']) ? 'ajax' : 'list'; ?> diff --git a/themes/bootstrap3/templates/combined/stack-right.phtml b/themes/bootstrap3/templates/combined/stack-right.phtml index adeb4ee29e800512d7a3107aeea6ba3481c14f38..d7c30c40ef577f4e66f34a80cfa68ec7714d56d1 100644 --- a/themes/bootstrap3/templates/combined/stack-right.phtml +++ b/themes/bootstrap3/templates/combined/stack-right.phtml @@ -9,8 +9,8 @@ <? endif; ?> <? $viewParams = array('searchClassId' => $searchClassId, 'currentSearch' => $currentSearch); - // Disable cart if appropriate: - $viewParams['showCartControls'] = $this->showCartControls; + // Enable cart if appropriate: + $viewParams['showCartControls'] = $this->supportsCartOptions[$columnIndex] && $this->showCartControls; ?> <div id="combined_<?=$this->escapeHtmlAttr($searchClassId)?>"> <? $templateSuffix = (isset($currentSearch['ajax']) && $currentSearch['ajax']) ? 'ajax' : 'list'; ?> diff --git a/themes/bootstrap3/templates/search/results.phtml b/themes/bootstrap3/templates/search/results.phtml index 318cee8337114760e3f58cf1dd245259fdf2f9e2..7454bdeda5f7fa4fc12323a7e67d04bb649e00c9 100644 --- a/themes/bootstrap3/templates/search/results.phtml +++ b/themes/bootstrap3/templates/search/results.phtml @@ -30,7 +30,7 @@ $this->layout()->breadcrumbs .= '<li class="active">' . $this->transEsc('Search') . ': ' . $this->escapeHtml($lookfor) . '</li>'; } - // Disable cart if appropriate: + // Enable cart if appropriate: $this->showCartControls = $this->params->getOptions()->supportsCart() && $this->cart()->isActive(); // Load Javascript dependencies into header: