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

Move Mini cart total from H2 tag?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-23-2011, 09:44 AM
  believein's Avatar 
believein believein is offline
 

Advanced Member
  
Join Date: May 2011
Posts: 33
 

Default Move Mini cart total from H2 tag?

Hi,

Im not sure why it is there - but my cart total is nested inside the title-bar div and H2 tag.

Why is it here? Can it be moved?

Shouldn't it be within the content div?

HTML Code:
<div class="menu-dialog menu-minicart ajax-minicart full"> <div class="title-bar "> <h2> <div class="minicart"> <div class="valign-middle full"> TOTAL IS HERE</div> </div> </h2> </div> <div class="content"> SHOULDN'T IT BE HERE? <div class="cart-checkout-links"> <hr class="minicart" /> <ul> <li><a href="cart.php">View cart</a></li> <li><a href="cart.php?mode=checkout">Checkout</a></li> </ul> </div>
__________________
Latest X-Cart project: www.rawlisa.co.uk ≈ Designed & developed by Believe in╝
X-Cart Gold v4.4.3
Reply With Quote
  #2  
Old 06-27-2011, 07:03 AM
  believein's Avatar 
believein believein is offline
 

Advanced Member
  
Join Date: May 2011
Posts: 33
 

Default Re: Move Mini cart total from H2 tag?

Am I the only person who thinks this?
__________________
Latest X-Cart project: www.rawlisa.co.uk ≈ Designed & developed by Believe in╝
X-Cart Gold v4.4.3
Reply With Quote
  #3  
Old 06-27-2011, 07:15 AM
 
balinor balinor is offline
 

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

Default Re: Move Mini cart total from H2 tag?

So move it
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #4  
Old 06-27-2011, 07:36 AM
  believein's Avatar 
believein believein is offline
 

Advanced Member
  
Join Date: May 2011
Posts: 33
 

Default Re: Move Mini cart total from H2 tag?

Hi balinor,

Thanks for responding.

Im a little puzzled as to which tpl I need to alter..

As far as I can see the structure is;

left_bar >
menu_cart.tpl >
ajax.minicart.tpl (just javascript) & cart_checkout_links.tpl (just the links)

Is the cart generated from the javascript?
__________________
Latest X-Cart project: www.rawlisa.co.uk ≈ Designed & developed by Believe in╝
X-Cart Gold v4.4.3
Reply With Quote
  #5  
Old 06-27-2011, 07:45 AM
 
balinor balinor is offline
 

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

Default Re: Move Mini cart total from H2 tag?

Use webmaster mode, it will tell you exactly what template is what.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #6  
Old 06-27-2011, 08:19 AM
  believein's Avatar 
believein believein is offline
 

Advanced Member
  
Join Date: May 2011
Posts: 33
 

Default Re: Move Mini cart total from H2 tag?

Well in case anyone is interested. You have to remove the total from the file called minicart_total.tpl as anything in there will be put in the H2 tag.

I basically moved the whole "<div class="minicart">" into its parent menu_cart.tpl

Not perfect but seems to work.
__________________
Latest X-Cart project: www.rawlisa.co.uk ≈ Designed & developed by Believe in╝
X-Cart Gold v4.4.3
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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:17 AM.

   

 
X-Cart forums © 2001-2020