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

adding simple cart to header

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-11-2010, 11:34 PM
 
BBM_ BBM_ is offline
 

X-Adept
  
Join Date: May 2010
Location: Australia
Posts: 595
 

Default adding simple cart to header

Hi All,

I'm scratching my head over this as I thought it would be pretty simple. I just want only the mini cart in the header to have a minimal look for a website.

I have edited customer/head.tpl and tried adding in the below,
Code:
{include file="customer/minicart.tpl"}

yet it refuses to appear.

Can anyone suggest where I am going wrong?
__________________
Multiple instances of X-cart
Reply With Quote
  #2  
Old 09-21-2010, 12:20 AM
 
BBM_ BBM_ is offline
 

X-Adept
  
Join Date: May 2010
Location: Australia
Posts: 595
 

Default Re: adding simple cart to header

Any suggestions on the above as I'm still unable to resolve this one,

Your assistance is appreciated.
__________________
Multiple instances of X-cart
Reply With Quote
  #3  
Old 09-21-2010, 12:43 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default Re: adding simple cart to header

it's pretty much impossible to say with so little information, and absolutely no idea what your skin is, try providing more details, or even better a link so people can have a look.
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote
  #4  
Old 09-21-2010, 12:57 AM
 
BBM_ BBM_ is offline
 

X-Adept
  
Join Date: May 2010
Location: Australia
Posts: 595
 

Default Re: adding simple cart to header

Hi Amy,

Thanks for the support, unfortunately my site is hosted on a VM at the moment so it is not publicly available.

I'm running with the standard skin installed (Light & Lucid 3 columns) and would like the cart to look something kind of like (http://www.ergofurniture.com.au/) as it is in the upper right hand side of the header.

Any suggestions would be appreciated.
__________________
Multiple instances of X-cart
Reply With Quote
  #5  
Old 09-21-2010, 03:05 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: adding simple cart to header

It is possible of course. You may be adding the wrong file or editing wrong contents
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #6  
Old 09-21-2010, 09:09 PM
 
BBM_ BBM_ is offline
 

X-Adept
  
Join Date: May 2010
Location: Australia
Posts: 595
 

Default Re: adding simple cart to header

Quote:
Originally Posted by cflsystems
It is possible of course. You may be adding the wrong file or editing wrong contents

This is true, however I'm simply moving the minicart file up into the head.tpl which I assume would allow it.

However if this is wrong I'm happy to be pointed in the right direction?
__________________
Multiple instances of X-cart
Reply With Quote
  #7  
Old 09-21-2010, 11:18 PM
 
BBM_ BBM_ is offline
 

X-Adept
  
Join Date: May 2010
Location: Australia
Posts: 595
 

Default Re: adding simple cart to header

OK I have fixed the issue.

I have moved it up into line 1 of the header and floated it right.
__________________
Multiple instances of X-cart
Reply With Quote
  #8  
Old 11-19-2010, 06:02 PM
  earlgreg's Avatar 
earlgreg earlgreg is offline
 

Newbie
  
Join Date: Aug 2005
Location: Minneapolis, MN
Posts: 8
 

Wink Re: adding simple cart to header

Could you please explain how you did it, e.g., which template you edited and which attributes? Did you have to modify the skin css? I am trying to do the same thing, obviously, and would like to know how you made it work, if you wouldn't mind sharing.
__________________
Greg
X-Cart 4.4.4 Gold
X-Cart customer since 2004
Reply With Quote
  #9  
Old 11-25-2010, 05:39 AM
 
BBM_ BBM_ is offline
 

X-Adept
  
Join Date: May 2010
Location: Australia
Posts: 595
 

Default Re: adding simple cart to header

Quote:
Originally Posted by earlgreg
Could you please explain how you did it

I will, I'll dig through my notes and post the solution shortly.
__________________
Multiple instances of X-cart
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 11:32 PM.

   

 
X-Cart forums © 2001-2020