Zen Cart Logo
Forums / Addon Sideboxes / Changing Sidebox Shopping cart layout

Changing Sidebox Shopping cart layout

Locked

Views: 4,946

Results 1 to 20 of 24
This thread is locked. New replies are disabled.
10 Feb 2010, 5:37 PM
#1
robertg avatar

robertg

Zen Follower

Join Date:
Nov 2009
Posts:
341
Plugin Contributions:
0

Changing Sidebox Shopping cart layout

I presently have a shopping cart image and when something is added to the cart I have an image of the item plus a description that appears under the shopping cart image.

What I would like is to have the shopping cart image on a white background and under the image the following text 0 item(s) in cart, with the zero changing as items are added. I don't want anything else other than the go to checkout box that appears when your still shopping.
Can I do this from within the zenCart module or do I have to download and install another Mod.

You can visit my test site @ http://30408.vws.magma.ca/TTEZENCART

Thanks in advance of your help.
P.S.I've read several threads for the past 3/4 of an hour and can't find anything similar.

11 Feb 2010, 7:45 PM
#2
robertg avatar

robertg

Zen Follower

Join Date:
Nov 2009
Posts:
341
Plugin Contributions:
0

Re: Changing Sidebox Shopping cart layout

There must be someone able to help or suggest something I could do to get the look that I'm looking for.

I'm very close to going live just a couple of minor items to fix. Any help is appreciated

12 Feb 2010, 11:25 AM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Changing Sidebox Shopping cart layout

Sorry, I'm not sure exactly what you're asking.

Right now, when I add something to the cart on your site, I see the product image (turnoffable in Admin - Configuration - Images), the quantity, the product name and, below a line, the price, followed by the Checkout button.

How much of that don't you want in there?

12 Feb 2010, 1:41 PM
#4
robertg avatar

robertg

Zen Follower

Join Date:
Nov 2009
Posts:
341
Plugin Contributions:
0

Re: Changing Sidebox Shopping cart layout

Thanks for replying.
What I would like, or I should say what the store owner would like, is where the Cart image is, under the image would be
0 item(s) in your cart. I don't want any of the other information to appear, only the Go To Checkout Button once item(s) are added to cart

I will change the Background color on that particular box heading to white as well.

12 Feb 2010, 3:33 PM
#6
robertg avatar

robertg

Zen Follower

Join Date:
Nov 2009
Posts:
341
Plugin Contributions:
0

Re: Changing Sidebox Shopping cart layout

Thanks I'll try that as soon as I can figure out how to download the Product id numbers to the product_extra_description_extra for the Extra Description Module.
Bob

13 Feb 2010, 4:45 PM
#7
robertg avatar

robertg

Zen Follower

Join Date:
Nov 2009
Posts:
341
Plugin Contributions:
0

Re: Changing Sidebox Shopping cart layout

I've just installed the Shopping Cart Summary Sidebox module. The only file I altered as per installation guide is the cart_summary_sidebox.php file. I removed the "weight" and "Amount. also in the : define('BOX_HEADING_CART_CONTENTS', '0 ITEM(S) IN YOUR CART:');.

See my temp site @ http://30408.vws.magma.ca/TTEZENCART

The item image and description still appear in the sidebox. Do I have to alter another file.
Thanks,
Bob

13 Feb 2010, 7:35 PM
#8
robertg avatar

robertg

Zen Follower

Join Date:
Nov 2009
Posts:
341
Plugin Contributions:
0

Re: Changing Sidebox Shopping cart layout

Stevesh!

I have turned off image in admin/configuration as well as in other admin/configuration files. but the Item image and description still appear.

Help Please

14 Feb 2010, 2:52 PM
#9
robertg avatar

robertg

Zen Follower

Join Date:
Nov 2009
Posts:
341
Plugin Contributions:
0

Re: Changing Sidebox Shopping cart layout

I've installed the Module Shopping Cart Summary Sidebox.
I've gotten the Style I want in My Sidebox header see: http://30408.vws.magma.ca/TTEZENCART

The problem is that when I add an item to cart I stll get the image and description plus the number of items displaying under the header.

This is what I don't want. I want that when you add something to the cart that the 0 in the header changes to 1.

**I've read all the threads related to sidebox and shopping carts. but can't find anything similar.
**
I was getting help on my Thread of last Friday but am not receiving any more replies or help.

I know that it must just be changing some code but I don't know which files and the Module instructions don't go far enough with their information.

I'm so close that I can taste it, Any help is appreciated.

14 Feb 2010, 3:47 PM
#10
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Changing Sidebox Shopping cart layout

That cart box isn't the cart summary box - it's the standard cart sidebox. You'll have to turn that off in Admin - Tools - Layout Boxes Controller, then activate the cart summary sidebox. Then we can see if your file edits worked.

14 Feb 2010, 6:53 PM
#11
robertg avatar

robertg

Zen Follower

Join Date:
Nov 2009
Posts:
341
Plugin Contributions:
0

Re: Changing Sidebox Shopping cart layout

Now all that shows is Your Cart Contents:

So what file(s) do I have alter.

Thanks for your help
Bob

14 Feb 2010, 7:30 PM
#12
robertg avatar

robertg

Zen Follower

Join Date:
Nov 2009
Posts:
341
Plugin Contributions:
0

Re: Changing Sidebox Shopping cart layout

stevesh:

That cart box isn't the cart summary box - it's the standard cart sidebox. You'll have to turn that off in Admin - Tools - Layout Boxes Controller, then activate the cart summary sidebox. Then we can see if your file edits worked.

I was able to change the text to the Cart + text as shown on site.
Now when I add something to cart Nothing happens. The 0 item(s) remain at zero. we are getting there.
Thansk,
Bob

15 Feb 2010, 1:55 PM
#13
robertg avatar

robertg

Zen Follower

Join Date:
Nov 2009
Posts:
341
Plugin Contributions:
0

Re: Changing Sidebox Shopping cart layout

RobertG:

I was able to change the text to the Cart + text as shown on site.
Now when I add something to cart Nothing happens. The 0 item(s) remain at zero. we are getting there.
Thansk,
Bob

Good Morning Stevesh, Can you suggest what I can do next please.
Thanks again,
Bob

15 Feb 2010, 2:12 PM
#14
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Changing Sidebox Shopping cart layout

I don't know what you've done to edit the Cart Summary sidebox files, so I would suggest you replace all the mod files with the originals, see if it works then, and then we can start removing stuff.

15 Feb 2010, 2:37 PM
#15
robertg avatar

robertg

Zen Follower

Join Date:
Nov 2009
Posts:
341
Plugin Contributions:
0

Re: Changing Sidebox Shopping cart layout

stevesh:

I don't know what you've done to edit the Cart Summary sidebox files, so I would suggest you replace all the mod files with the originals, see if it works then, and then we can start removing stuff.

All I've done is alter the cart_summary_sidebox.php box with the following

define('BOX_HEADING_CART_CONTENTS', '<img src="http://30408.vws.magma.ca/TTEZENCART/images/whitecart.gif">0 item(s) in cart');
define('TEXT_TOTAL_ITEMS', ' Items Amount: ');

?>

15 Feb 2010, 2:59 PM
#16
robertg avatar

robertg

Zen Follower

Join Date:
Nov 2009
Posts:
341
Plugin Contributions:
0

Re: Changing Sidebox Shopping cart layout

This particular file mentioned above was uploaded in the includes/languages/english/extra_definitions/

15 Feb 2010, 3:51 PM
#17
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Changing Sidebox Shopping cart layout

You've hard-coded the '0 items in cart' into the header, so that will always be there, even if the rest starts working.

If you look here, htttp ://www.stevesh.org/zentest, you'll see I have that sidebox working (if not well styled) so it shows just the number of items.

I recommend you re-install the mod, overwriting what's there, and don't modify any files. Once it's working, then I'll let you know how I removed the image and description and price.

15 Feb 2010, 5:43 PM
#18
robertg avatar

robertg

Zen Follower

Join Date:
Nov 2009
Posts:
341
Plugin Contributions:
0

Re: Changing Sidebox Shopping cart layout

stevesh:

You've hard-coded the '0 items in cart' into the header, so that will always be there, even if the rest starts working.

If you look here, htttp ://www.stevesh.org/zentest, you'll see I have that sidebox working (if not well styled) so it shows just the number of items.

I recommend you re-install the mod, overwriting what's there, and don't modify any files. Once it's working, then I'll let you know how I removed the image and description and price.

Ok I did as you suggested. now all that is in the sidebox is Your Cart Contents Text.

16 Feb 2010, 11:16 AM
#19
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Changing Sidebox Shopping cart layout

And the add-to-cart still doesn't work, suggesting that you still have files from the mod which you have edited installed.

16 Feb 2010, 2:42 PM
#20
robertg avatar

robertg

Zen Follower

Join Date:
Nov 2009
Posts:
341
Plugin Contributions:
0

Re: Changing Sidebox Shopping cart layout

stevesh:

And the add-to-cart still doesn't work, suggesting that you still have files from the mod which you have edited installed.

I removed All the files associated with the module. and re-started from scratch. The only thing I added was this morning where I put the actual shopping cart image back. Everything else is the files associated with the Cart Summary Sidebox Module.

The only file I haven't returned is 5) If you want this to display in your site header,
a) Add this to your custom tpl_header.php, wherever you desire the content to be displayed:

    <div id="navMainCartSummary"><?php require(DIR_WS_MODULES . 'sideboxes/cart_summary.php'); ?></div>

Should I remove this as well.
Really appreciate your help.
Bob