| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Removing minicart from home page | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello,
I'm sure this has been answered before, but I couldn't find any information. I'd like to remove the minicart from my home page. Is that possible? If so, how would I do it? Thanks in advance. I REALLY appreciate everyone's willingness to help others on this forum. I hope I learn enough to return the favor some day! Jennifer
__________________
Jennifer Kirkpatrick X-Cart Pro Version 4.4.1 AND X-Cart Gold Version 4.1.9 |
|||||||
#2
|
|||||||
|
|||||||
![]() Open up customer/home.tpl and comment out this bit:
{include file="customer/menu_cart.tpl" }
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Thanks for the quick response.
That removed it from every page. I only wanted to remove it from the home page. Sorry for not being clear. Thanks, Jennifer
__________________
Jennifer Kirkpatrick X-Cart Pro Version 4.4.1 AND X-Cart Gold Version 4.1.9 |
|||||||
#4
|
|||||||
|
|||||||
![]() Oh sorry, in that case:
{if $main eq "catalog" and $current.category eq ""} {else} {include file="customer/menu_cart.tpl" } {/if}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() Thanks, this is close.
But it still doesn't show the minicart on the category pages... Thanks, Jennifer
__________________
Jennifer Kirkpatrick X-Cart Pro Version 4.4.1 AND X-Cart Gold Version 4.1.9 |
|||||||
#6
|
|||||||
|
|||||||
![]() Sorry...typing too fast and not paying attention
![]() {if $main eq "catalog" and $current_category.category eq ""} {else} {include file="customer/menu_cart.tpl" } {/if}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||
|
|||||||
![]() Perfect! Thank you!
Now if I can just figure out why I keep getting a big gap between my header and the main part of the page. Grrrr. http://www.bellaphotojewelry.com - any ideas why this is happening on the home page? Thanks, Jennifer
__________________
Jennifer Kirkpatrick X-Cart Pro Version 4.4.1 AND X-Cart Gold Version 4.1.9 |
|||||||
#8
|
|||||||||
|
|||||||||
![]() Quote:
You spoil file "skin1/customer/home.tpl" Part of the code of your page: no tags <tr> <td> after tag <table> and etc. PHP Code:
|
|||||||||
#9
|
|||||||
|
|||||||
![]() You know what really helped, viewing the code in an HTML editor.
I couldn't see all the line breaks in the X-Cart Editor. Problem fixed! Thanks, Jennifer
__________________
Jennifer Kirkpatrick X-Cart Pro Version 4.4.1 AND X-Cart Gold Version 4.1.9 |
|||||||
|
|||
X-Cart forums © 2001-2020
|