Spac3 Posted October 19, 2013 Share Posted October 19, 2013 I am trying to move the user info block which includes the cart button from the header to the left column. I have prestashop 1.5.5. Link to comment Share on other sites More sharing options...
PascalVG Posted October 19, 2013 Share Posted October 19, 2013 Maybe this thread helps (There's a thread mentioned inside this thread as well, go all the way through): http://www.prestashop.com/forums/topic/266444-tutorial-move-blockcart-to-leftrightcolumn-15/ pascal Link to comment Share on other sites More sharing options...
vekia Posted October 19, 2013 Share Posted October 19, 2013 hello 0) open blockuserinfo.php file located in module directory. Before the last bracket } add this code: public function hookLeftColumn($params){ return $this->hookTop($params); } 1) go to modules > positions 2) click on transplant button (green button in "header") 3) from modules list select user info block 4) from hooks select displayLeft 5) save changes. Link to comment Share on other sites More sharing options...
Spac3 Posted October 19, 2013 Author Share Posted October 19, 2013 So I have the user info block now in the left column, but I have two issues: 1) The user info block still shows up in the header and I can't find the code to remove it 2) Because the user info block is not regular block the categories block over laps the user info Image attached: Link to comment Share on other sites More sharing options...
vekia Posted October 19, 2013 Share Posted October 19, 2013 1) modules > positions tab in back office. Search for displayTop and remove block user info from this modules list (warning! don't remove module from displayHeader modules list, it must be removed from displayTop!) 2) you need to define css styles for cart block: clear:both; display:block; Link to comment Share on other sites More sharing options...
Spac3 Posted October 20, 2013 Author Share Posted October 20, 2013 Thanks, okay, last question. The java animation that shows you the contents of the cart if you scroll your mouse over the cart button is gone. Also when you add an item to cart the animation of the item moving to the cart button is also gone; the page reloads and it updates the number of items in the cart. Is this easily fixable? Link to comment Share on other sites More sharing options...
vekia Posted October 20, 2013 Share Posted October 20, 2013 blockuserinfo module uses "blockcart" module to roll out products list and cart specification. You have to use also block cart module. can you share url to your website? i will inspect code then Link to comment Share on other sites More sharing options...
Spac3 Posted October 22, 2013 Author Share Posted October 22, 2013 www.vegasdesignertoys.com Link to comment Share on other sites More sharing options...
vekia Posted October 23, 2013 Share Posted October 23, 2013 thank you i checked it. i've got one question: you removed module block cart? 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