ekheddy Posted August 12, 2010 Share Posted August 12, 2010 Dear All,how can i move cart to leftcolumn top position?Thank youI already modify blockcart.php file but no effect public function install() { if ( parent::install() == false OR $this->registerHook('leftColumn') == false OR Configuration::updateValue('PS_BLOCK_CART_AJAX', 1) == false ) return false; return true; } public function hookLeftColumn($params) { global $smarty, $page_name; $smarty->assign('order_page', $page_name == 'order'); $this->smartyAssigns($smarty, $params); return $this->display(__FILE__, 'blockcart.tpl'); } public function hookRightColumn($params) { return $this->hookLeftColumn($params); } Link to comment Share on other sites More sharing options...
tomerg3 Posted August 12, 2010 Share Posted August 12, 2010 You don't need to modify anything in the files.In the backoffice, go to the Modules tab -> Positions -> Click "Transplant a module", choose Block Cart and Left Column.You will need to remove it from the Right column (in the Positions page), you can also control the order it will appear on the left column on that page. Link to comment Share on other sites More sharing options...
ekheddy Posted August 12, 2010 Author Share Posted August 12, 2010 its work thank you Link to comment Share on other sites More sharing options...
rocky Posted August 13, 2010 Share Posted August 13, 2010 Please edit your first post and add [sOLVED] to the front of the title. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now