diff --git a/themes/blueprint/templates/search/list-grid.phtml b/themes/blueprint/templates/search/list-grid.phtml index 72bda891182b20bd171489f45d3db39238d88892..0161c432ba29244ca959d51e08032d338ad277be 100644 --- a/themes/blueprint/templates/search/list-grid.phtml +++ b/themes/blueprint/templates/search/list-grid.phtml @@ -2,7 +2,7 @@ <tr> <? $i = 0; foreach ($this->results->getResults() as $current): ?> <td id="result<?=$i ?>" class="gridCell gridCellHover"> - <span class="recordNumber"><?=$this->results->getStartRecord()+(++$i)-1?><? if ($this->cart()->isActive()): ?><?=$this->record($current)->getCheckbox()?><? endif; ?></span> + <span class="recordNumber"><?=$this->results->getStartRecord()+(++$i)-1?><? if (!isset($this->hideCartControls) && $this->cart()->isActive()): ?><?=$this->record($current)->getCheckbox()?><? endif; ?></span> <?=$this->record($current)->getSearchResult('grid')?> </td> <?=($i%4==0)?'</tr><tr>':''?> diff --git a/themes/blueprint/templates/search/list-list.phtml b/themes/blueprint/templates/search/list-list.phtml index 7886e5fd32b40a8b7ce7c087cad4d71782b8b4bf..a404dc52992a6248e41610eb93fec418f233d9bb 100644 --- a/themes/blueprint/templates/search/list-list.phtml +++ b/themes/blueprint/templates/search/list-list.phtml @@ -3,7 +3,7 @@ <? $i = $this->indexStart; foreach ($this->results->getResults() as $current): $recordNumber = $this->results->getStartRecord()+$i-$this->indexStart; ?> <li id="result<?=$i ?>" class="result<?=(++$i % 2 == 0) ? ' alt' : ''?>"> - <span class="recordNumber"><?=$recordNumber?><? if ($this->cart()->isActive()): ?><?=$this->record($current)->getCheckbox()?><? endif; ?></span> + <span class="recordNumber"><?=$recordNumber?><? if (!isset($this->hideCartControls) && $this->cart()->isActive()): ?><?=$this->record($current)->getCheckbox()?><? endif; ?></span> <?=$this->record($current)->getSearchResult('list')?> </li> <? endforeach; ?> diff --git a/themes/bootprint/templates/search/list-list.phtml b/themes/bootprint/templates/search/list-list.phtml index db3370df3f4bd47021f297b22938e4c7a7fd728f..2e417b420da5b60ba3b841578a60b76291024f90 100644 --- a/themes/bootprint/templates/search/list-list.phtml +++ b/themes/bootprint/templates/search/list-list.phtml @@ -2,7 +2,7 @@ <? $i = $this->indexStart; foreach ($this->results->getResults() as $current): $recordNumber = $this->results->getStartRecord()+$i-$this->indexStart; ?> <div id="result<?=$i++ ?>" class="result row-fluid clearfix"> - <label class="checkbox pull-left"><? if ($this->cart()->isActive()): ?><?=$this->record($current)->getCheckbox()?><? endif; ?><?=$recordNumber?></label> + <label class="checkbox pull-left"><? if (!isset($this->hideCartControls) && $this->cart()->isActive()): ?><?=$this->record($current)->getCheckbox()?><? endif; ?><?=$recordNumber?></label> <?=$this->record($current)->getSearchResult('list')?> </div> <? endforeach; ?> \ No newline at end of file diff --git a/themes/bootstrap/templates/search/list-list.phtml b/themes/bootstrap/templates/search/list-list.phtml index 714a826c166c5e7ce0c8ae2929ce58bb1225c6dc..306e479b8cc2d71f2d0f728e78fff264ee0114a2 100644 --- a/themes/bootstrap/templates/search/list-list.phtml +++ b/themes/bootstrap/templates/search/list-list.phtml @@ -3,7 +3,7 @@ $recordNumber = $this->results->getStartRecord()+$i-$this->indexStart; ?> <hr/> <div id="result<?=$i++ ?>" class="row-fluid clearfix"> - <label class="checkbox pull-left small"><? if ($this->cart()->isActive()): ?><?=$this->record($current)->getCheckbox()?><? endif; ?><?=$recordNumber?></label> + <label class="checkbox pull-left small"><? if (!isset($this->hideCartControls) && $this->cart()->isActive()): ?><?=$this->record($current)->getCheckbox()?><? endif; ?><?=$recordNumber?></label> <?=$this->record($current)->getSearchResult('list')?> </div> <? endforeach; ?> \ No newline at end of file