Jump to content

[solved] how to put right column on product page


Recommended Posts

Hi,

 

I deleted from de footer.tpl this code:

 

<!-- Right -->
<div id="right_column" class="column grid_2 omega">
 {$HOOK_RIGHT_COLUMN}
</div>
  </div>

 

because II do not want the right bar appears on home page. but i want appears on product page.

 

How i do this?

 

My PrestaShop is 1.5.4.1.

 

Thanks.

Edited by vekia (see edit history)
Link to comment
Share on other sites

Carolina Custom Designs thanks for the help.

 

But I just want the product page. What is the file I write this code?

And how do I change the dimensions of center_column only on product page?

Because the homepage center_column occupies the entire page and the product page I have to change to fit right_column.

Link to comment
Share on other sites

use this code:

{if $page_name == product}
		<div id="right_column" class="column grid_2 omega">
			 {$HOOK_RIGHT_COLUMN}
		</div>
{/if}

 

 

to change the size of the center column use the same if condition, use the different grid values. (class definition for center column)

 

{if $page_name == product}
grid_5
{else}
grid_7
{/if}

Link to comment
Share on other sites

×
×
  • Create New...