| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Change Template on Details Page (product.tpl) | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
I have a 2 column layout, I would like to remove the left side nav from the product detail page.
Which template do I need to edit? I can't seem to figure out which template calls the product.tbl. Thanks -------- Version 4.1.12
__________________
X-Cart v4.1.11 (Unix) |
|||||||
|
#2
|
|||||||
|
|||||||
|
Ok, I figured it out. In case anyone needs to know. It's called on "product.php"
Guess in hindsight pretty obvious....
__________________
X-Cart v4.1.11 (Unix) |
|||||||
|
#3
|
|||||||||
|
|||||||||
|
How did you remove the menu editing product.php?
__________________
xcart 5.1.2 |
|||||||||
|
#4
|
|||||||||
|
|||||||||
|
You just need to edit home.tpl and surround the left side with an if statement
{if $main ne "product"} show left side {/if}
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
![]() |
|
| Thread Tools | Search this Thread |
|
|
|
|
|||
|
X-Cart forums © 2001-2020
|
|||