View Single Post
  #4  
Old 04-27-2009, 01:27 AM
  ElegantXMods.com's Avatar 
ElegantXMods.com ElegantXMods.com is offline
 

Advanced Member
  
Join Date: Apr 2009
Location: Stirling, UK
Posts: 94
 

Default Re: Hide Left & Right Columns On Specific Page Product.php

Open skin1/customer/home.tpl and find the line

Code:
<div id="center-main">

ABOVE this line, insert this code

Code:
{if $main eq "pages" or ($main eq "product" and $product["productid"] eq 111)} {include file="customer/home_main.tpl"} {else}

and replace 111 with your chosen product ID (or you could use the SKU / product code instead: use $product["productcode"] ).

now scroll down and find

Code:
{include file="poweredby.tpl" }

and ABOVE this insert this line:

Code:
{/if}
__________________
John
ElegantXMods.com

QuickOrder AJAX-based search and ordering system now available
giving you complete control over how customers browse and search for your products. Click here for details.
PriceSlider - easily filter categories by price range - only $9.99 - details here

X-Cart 4.1, X-Cart 4.2 on Windows/IIS and Linux/Apache.
Reply With Quote