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

Checkout Header if Cart is not empty

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-19-2009, 05:26 AM
 
Xel Xel is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 82
 

Default Checkout Header if Cart is not empty

Ok guys, I've tryed finding this answer elsewhere, but have had no luck. If there is a thread on this, please just direct me there and I won't waste anymore of your time =D

This is my site (it isn't open or finished):

www.speartech.net/shop/home.php?shopkey=testing

I notice that when a user adds at least one item to their cart, every page at the top displays a (Checkout or Google Checkout) header.

I've been struggling to remove this without success =/

Any ideas?

Also, I have it set for anonymous checkout to be disabled, which might work for the regular checkout (I plan to use google checkout only, at least to start) but it definitely doesn't work with google checkout...

Just a side issue if you know a thread on it, I'd appreciate it!
__________________
Dustin Spears

www.SpearTech.net
X-Cart Gold
Version: 4.2.0
Add Ons: Product Configurator,X-RMA, X-AOM
Third Party Mods: None (Yet )
Reply With Quote
  #2  
Old 03-19-2009, 05:34 AM
 
balinor balinor is offline
 

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

Default Re: Checkout Header if Cart is not empty

Welcome to the X-Cart forums! Please start by reading the following thread, which will help you get started and hopefully make your experience here a positive one:

http://forum.x-cart.com/showthread.php?t=23970

Please note that this link is not an answer to your question, but we need you to update your signature with your X-Cart version so that we can answer your questions correctly. Thanks!
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 03-19-2009, 05:41 AM
 
Xel Xel is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 82
 

Default Re: Checkout Header if Cart is not empty

Sorry about that!

Fixed =D
__________________
Dustin Spears

www.SpearTech.net
X-Cart Gold
Version: 4.2.0
Add Ons: Product Configurator,X-RMA, X-AOM
Third Party Mods: None (Yet )
Reply With Quote
  #4  
Old 03-19-2009, 05:46 AM
 
balinor balinor is offline
 

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

Default Re: Checkout Header if Cart is not empty

Not seeing that issue?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 03-19-2009, 06:15 AM
 
Xel Xel is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 82
 

Default Re: Checkout Header if Cart is not empty

Have you added a product to the cart? This requires you building a home pc, clicking add to cart. Then it pops up in the main content area of every page.
__________________
Dustin Spears

www.SpearTech.net
X-Cart Gold
Version: 4.2.0
Add Ons: Product Configurator,X-RMA, X-AOM
Third Party Mods: None (Yet )
Reply With Quote
  #6  
Old 03-19-2009, 06:17 AM
 
Xel Xel is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 82
 

Default Re: Checkout Header if Cart is not empty

I'm sure this was by design, but I don't like it. I wish they had a checkbox to disable this behavior. There is already a minicart in the header, a cart on the side panel, I don't feel it is necessary to bombard them with a header on every page at the top of the content as well =/

Thanks for helping!
__________________
Dustin Spears

www.SpearTech.net
X-Cart Gold
Version: 4.2.0
Add Ons: Product Configurator,X-RMA, X-AOM
Third Party Mods: None (Yet )
Reply With Quote
  #7  
Old 03-19-2009, 06:22 AM
 
balinor balinor is offline
 

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

Default Re: Checkout Header if Cart is not empty

I did, and didn't see it. Probably this line of code in customer/home.tpl though:

{if $gcheckout_enabled && $main ne "cart" && $main ne "checkout" && $main ne "anonymous_checkout" && $main ne "order_message"}
{include file="modules/Google_Checkout/gcheckout_top_button.tpl"}
{/if}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote

The following user thanks balinor for this useful post:
Xel (03-19-2009)
  #8  
Old 03-19-2009, 06:30 AM
 
Xel Xel is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 82
 

Default Re: Checkout Header if Cart is not empty

That's it! Thank you so much. Commented it out and it no longer pops up. Of course, now I'm wondering if it only showed because I was also logged in as admin?

Hmmm..

Tryed it without being logged in as admin on backend, still pops up for me? Oh, well, problem solved I guess I'll just ignore it's cause =D

Thanks again!
__________________
Dustin Spears

www.SpearTech.net
X-Cart Gold
Version: 4.2.0
Add Ons: Product Configurator,X-RMA, X-AOM
Third Party Mods: None (Yet )
Reply With Quote
  #9  
Old 03-19-2009, 07:51 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Checkout Header if Cart is not empty

It was shown not admins only, I saw it too.
But it was not easy to notice.
I like your site design.
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote

The following user thanks Victor D for this useful post:
Xel (03-19-2009)
  #10  
Old 03-19-2009, 07:55 AM
 
Xel Xel is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 82
 

Default Re: Checkout Header if Cart is not empty

Thank you very much =D
It's based off a template, but I've been trying to pep it up without bogging it down.
__________________
Dustin Spears

www.SpearTech.net
X-Cart Gold
Version: 4.2.0
Add Ons: Product Configurator,X-RMA, X-AOM
Third Party Mods: None (Yet )
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:43 AM.

   

 
X-Cart forums © 2001-2020