| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
show a single site alone without the "frames" around | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() Howdy Fellows
I'm customizing our store here and i've run into one problem: We want our product page to be stand-alone without the menus left or right, even without the banners on top. Picture 1 shows how it is now and picture 2 shows how i wished it to be. I need it to be this way because the product page is being opened with thickbox over the store so there is no need for the navigation and cart menus. First of all, thanks for reading this through ![]() Thanks in advance
__________________
Xcart version 4.1.10 |
|||||||||
#2
|
|||||||
|
|||||||
![]() You need to use {if} statements to surround the areas you don't want to show. The syntax would be:
{if $main ne "product"} show menus {/if}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||||
|
|||||||||
![]() It works perfectly!
Thank you so much balinor! I didn't even know that that statement existed... ne means not equal in that case, right? Thanks again
__________________
Xcart version 4.1.10 |
|||||||||
#4
|
|||||||
|
|||||||
![]() Correct. Good thread here on {if} statements.
http://forum.x-cart.com/showthread.php?t=8881 You can find most of the $main definitions in customer/home_main.tpl and common_templates.tpl
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|