OliverEggertsen Posted June 20, 2013 Share Posted June 20, 2013 Hi. I would like the left column to be removed in the product pages. Which code and where would i have to modify? My site is here: http://olivereggertsen.dk Thanks in advance Link to comment Share on other sites More sharing options...
yaniv14 Posted June 20, 2013 Share Posted June 20, 2013 In header.tpl you can do: {if $page_name == 'product'} ...... the part that hook the left column ...... {/if} Link to comment Share on other sites More sharing options...
OliverEggertsen Posted June 20, 2013 Author Share Posted June 20, 2013 In header.tpl you can do: {if $page_name == 'product'} ...... the part that hook the left column ...... {/if} It doesn't work :-S i already have that code in there with the page name 'index' so maybe it has something to do with it. When i put that code in there also, there will appear two left columns on my website :-S Link to comment Share on other sites More sharing options...
yaniv14 Posted June 20, 2013 Share Posted June 20, 2013 you have this is your header.tpl {if $page_name != 'index'} if you want to product page to be like index you can do {if $page_name != 'index' || $page_name != 'product'} or {if $page_name != 'index' && $page_name != 'product'} also you have this at the bottom <!-- Center --> <div id="center_column" class=" grid_5"> {/if} <div id="center_column" class="{if $page_name != 'index'}grid_7{else}grid_9{/if}"> what are you trying yo achive, you have duplicate center colum id and classes. try like this instead <!-- Center --> <div id="center_column" class="{if $page_name != 'index'}grid_7{else}grid_9{/if}"> {/if} Link to comment Share on other sites More sharing options...
OliverEggertsen Posted June 20, 2013 Author Share Posted June 20, 2013 Thanks, it worked! :-) 1 Link to comment Share on other sites More sharing options...
ZikmaSolutions Posted June 13, 2014 Share Posted June 13, 2014 Can someone help with this code....I want same just for right column...I want to remove right column only from product page! Link to comment Share on other sites More sharing options...
vekia Posted June 14, 2014 Share Posted June 14, 2014 and what ps version you use, also 1.5 ? Link to comment Share on other sites More sharing options...
ZikmaSolutions Posted June 14, 2014 Share Posted June 14, 2014 Its okay, i solved that problem.... You can help me with this: http://www.prestashop.com/forums/topic/337390-how-to-make-thumbs-list-vertical/?do=findComment&comment=1703307 Link to comment Share on other sites More sharing options...
ms_doe Posted September 7, 2015 Share Posted September 7, 2015 on product page showing blank space on left column how to remove that space ? Link to comment Share on other sites More sharing options...
yaniv14 Posted September 7, 2015 Share Posted September 7, 2015 In BO go to Preferences -> themes -> Advanced settings and uncheck the right & left columns from the desire page/pages. 1 Link to comment Share on other sites More sharing options...
Recommended Posts