From dbee312b3e276cd2899987f5b8d2a40569f59e46 Mon Sep 17 00:00:00 2001 From: Chris Hallberg <crhallberg@gmail.com> Date: Fri, 24 Oct 2014 10:55:41 -0400 Subject: [PATCH] Added cart control to blueprint combined. --- .../templates/combined/results.phtml | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/themes/blueprint/templates/combined/results.phtml b/themes/blueprint/templates/combined/results.phtml index 750911d0878..4e462851178 100644 --- a/themes/blueprint/templates/combined/results.phtml +++ b/themes/blueprint/templates/combined/results.phtml @@ -52,15 +52,20 @@ </div> <? endif; ?> <?=$this->flashmessages()?> - <? - $viewParams = array( - 'searchClassId' => $searchClassId, - 'combinedResults' => $this->combinedResults, - 'supportsCartOptions' => $this->supportsCartOptions, - 'showCartControls' => $this->showCartControls - ); - ?> - <?=$this->context($this)->renderInContext('combined/stack-'.$placement.'.phtml', $viewParams)?> + <form method="post" name="bulkActionForm" action="<?=$this->url('cart-home')?>"> + <? if ($this->supportsCart && $this->cart()->isActive()): ?> + <?=$this->context($this)->renderInContext('search/bulk-action-buttons.phtml', array('idPrefix' => ''))?> + <? endif; ?> + <? + $viewParams = array( + 'searchClassId' => $searchClassId, + 'combinedResults' => $this->combinedResults, + 'supportsCartOptions' => $this->supportsCartOptions, + 'showCartControls' => $this->showCartControls + ); + ?> + <?=$this->context($this)->renderInContext('combined/stack-'.$placement.'.phtml', $viewParams)?> + </form> </div> <? /* End Main Listing */ ?> -- GitLab