Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Move Minicart to head.tpl

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-23-2005, 10:29 AM
 
dManager dManager is offline
 

Advanced Member
  
Join Date: Jan 2005
Location: Erie, Pennsylvania
Posts: 63
 

Default 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
__________________
Rich
___________________________
X-Cart version 4.2.2 Gold
Reply With Quote
  #2  
Old 02-23-2005, 10:49 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 02-23-2005, 11:53 AM
 
dManager dManager is offline
 

Advanced Member
  
Join Date: Jan 2005
Location: Erie, Pennsylvania
Posts: 63
 

Default

THANKS Balinor!

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

Rich
__________________
Rich
___________________________
X-Cart version 4.2.2 Gold
Reply With Quote
  #4  
Old 02-23-2005, 11:56 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

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
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 02-23-2005, 08:42 PM
 
daniel.milosevic daniel.milosevic is offline
 

Member
  
Join Date: Jan 2005
Posts: 16
 

Default

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.
__________________
Daniel Milosevic

X-Cart Gold 4.0.11
Reply With Quote
  #6  
Old 02-24-2005, 03:31 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Just make sure you have enough room for it when it is full
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:48 PM.

   

 
X-Cart forums © 2001-2020