Jump to content

[Solved] How to remove cart, products etc from home page


Recommended Posts

Below is link to my homepage template. At bottom of site there is product list cart etc i want to remove it and keep on homepage everything except things that i've marked with circle on screenshot.

I know how to remove columns from homepage but then "product carousel" is damaged because it is displayed on left center and right column so when i remove on of columns then part of "product carousel" is removed also..

how to do it properly ?

http://s1.img.pl/v/1106/54163untitled+1.jpg

Link to comment
Share on other sites

on my homepage modules list i have only carousel module and images that are showing above carousel

below carousel there is specials module (which is showing by default) product list and cart on right side

i want to remove all of them, remove everything below products carousel

Link to comment
Share on other sites

yes its removing columns from index but also deintegrating products carousel, i removed left column and left side of products carousel disappeared

Hi
Also you can remove left side just by control {$HOOK_LEFT_COLUMN} code at header.tpl within an IF condition
ex:
index.php (root of prestashop)
after
 require(dirname(__FILE__).'/config/config.inc.php');


add two lines

global $smarty;
$smarty->assign(array('hook_left_show' => false));


And open prestashop/themes/yourtheme/header.tpl
Find {$HOOK_LEFT_COLUMN} and change as

{if $hook_left_show} {$HOOK_LEFT_COLUMN}{/if}


Thats all
Left side wont work for /index.php
Rigth side hook locates in footer.tpl and you can do for it too.

Link to comment
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
×
×
  • Create New...