Jump to content

how to move shopping cart from right column to left column


ekheddy
 Share

Recommended Posts

Dear All,

how can i move cart to leftcolumn top position?
Thank you

I 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);
}

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More