X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Move Minicart to head.tpl (https://forum.x-cart.com/showthread.php?t=12370)

dManager 02-23-2005 10:29 AM

Move Minicart to head.tpl
 
Dear X-Cart Friends.

I am trying to relocate the minicart from home.tpl to the header portion of the page (head.tpl) and no matter what I do I can not get anything to visual appear .

Can someone help with what I am missing here - or provide a few pointers.

Thanks,
Rich

balinor 02-23-2005 10:49 AM

Just put this code where you want it to appear in head.tpl:

Code:

{ include file="customer/menu_cart.tpl" }

Just make sure the top_menu.tpl (speed bar) isn't interfering with it.

dManager 02-23-2005 11:53 AM

THANKS Balinor!

Key word: "interfering" Had the balance of the package right.

Rich

balinor 02-23-2005 11:56 AM

Be sure and test that thing out as both a logged in user and a user with tons of stuff in the cart. That has a way of breaking your layout when it is in the header :)

daniel.milosevic 02-23-2005 08:42 PM

Quote:

Originally Posted by balinor
Be sure and test that thing out as both a logged in user and a user with tons of stuff in the cart. That has a way of breaking your layout when it is in the header :)


If this is the case then, what would be the simplest way to stop it.
For the sake of discussion. :)

balinor 02-24-2005 03:31 AM

Just make sure you have enough room for it when it is full :)


All times are GMT -8. The time now is 10:02 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.