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)
-   -   Checkout Header if Cart is not empty (https://forum.x-cart.com/showthread.php?t=46376)

Xel 03-19-2009 05:26 AM

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!

balinor 03-19-2009 05:34 AM

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! :)

Xel 03-19-2009 05:41 AM

Re: Checkout Header if Cart is not empty
 
Sorry about that!

Fixed =D

balinor 03-19-2009 05:46 AM

Re: Checkout Header if Cart is not empty
 
Not seeing that issue?

Xel 03-19-2009 06:15 AM

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.

Xel 03-19-2009 06:17 AM

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!

balinor 03-19-2009 06:22 AM

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}

Xel 03-19-2009 06:30 AM

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!

Victor D 03-19-2009 07:51 AM

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.

Xel 03-19-2009 07:55 AM

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.


All times are GMT -8. The time now is 07:38 AM.

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