Zen Cart Logo
Forums / Basic Configuration / Cart & Images..

Cart & Images..

Locked

Views: 4,216

Results 1 to 20 of 20
This thread is locked. New replies are disabled.
1 Jun 2008, 4:21 AM
#1
ryanb4614 avatar

ryanb4614

Totally Zenned

Join Date:
Feb 2008
Posts:
556
Plugin Contributions:
0

Cart & Images..

  1. I have seen it before cannot find out how to do it... The mod that the total of the cart is on the top of the page (header) with a little cart image next to it...

  2. Verified Logo and hacker safer logo, can we put these on our website or is there a process, how does it work... If they are posted somewhere please list

  3. A way to put Promotion Code/ Coupon at the "Your Shopping Cart Contents" page with apply button?
    thanks again!

1 Jun 2008, 9:02 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Cart & Images..

  1. I have seen it before cannot find out how to do it... The mod that the total of the cart is on the top of the page (header) with a little cart image next to it...
    Not all that you want but a place to start and add the total code - See this template for what has been done
    http://(sorry, site offline)/138/index.php?main_page=index&template_dir=simple_zen
  2. Verified Logo and hacker safer logo, can we put these on our website or is there a process, how does it work... If they are posted somewhere please list
    Google = hacker safe
    http://www.hackersafe.com/us/
    You will need a host that complies
  3. A way to put Promotion Code/ Coupon at the "Your Shopping Cart Contents" page with apply button?
    Not sure what you want?
1 Jun 2008, 5:32 PM
#3
ryanb4614 avatar

ryanb4614

Totally Zenned

Join Date:
Feb 2008
Posts:
556
Plugin Contributions:
0

Re: Cart & Images..

I mean either when the customer goes to the shopping cart they are able to put in the coupon code with the apply button....

OR

At the checkout last page before the confirming the order (where zen-cart default checkout has the area to put the coupon, but if it isn't enter correctly the customer doesn't know) I would like an "Apply Coupon Button" at the screen

1 Jun 2008, 10:45 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Cart & Images..

One should receive an error message if the code is not valid

2 Jun 2008, 3:33 AM
#5
ryanb4614 avatar

ryanb4614

Totally Zenned

Join Date:
Feb 2008
Posts:
556
Plugin Contributions:
0

Re: Cart & Images..

Okay, what I am looking for I found on https://www.petsmart.com... Left top of page " Cart 0(Number of items) $0.00(total in cart) w/ sign in
..........
Tried Changing the delete button in the cart page, didn't change the button? "small_delete"

Thanks for taking out time to read my post and helping me appricate it alot!

4 Jun 2008, 3:51 AM
#7
ryanb4614 avatar

ryanb4614

Totally Zenned

Join Date:
Feb 2008
Posts:
556
Plugin Contributions:
0

Re: Cart & Images..

Kobra, Let me say first Thank You for answering all of my post, Im just trying to get the hang of how things work, for the shopping cart code:

<li>My Cart: <span class="style1"> <?php echo sizeof($_SESSION['cart']->get_products()); ?>  items   <?php $header_cart = $currencies->format($_SESSION['cart']->show_total()); echo $header_cart; ?> </span> <br class="clearBoth" /> </li>

What if I wanted it to show inside of an image, how would I go about that...

4 Jun 2008, 5:36 AM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Cart & Images..

You will have to explain what that is - What file and what you are trying to do

4 Jun 2008, 7:20 PM
#9
ryanb4614 avatar

ryanb4614

Totally Zenned

Join Date:
Feb 2008
Posts:
556
Plugin Contributions:
0

Re: Cart & Images..

I made an image with, that I would like the carts total to show in on the top of my page, I have the image have the cart total code, (you posted above) just don't know how to put the code so it shows inside of the image?

4 Jun 2008, 9:52 PM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Cart & Images..

Make the image part of the background image for your header area

Code can be in a div you define and be located to appear over your image

5 Jun 2008, 4:11 PM
#11
ryanb4614 avatar

ryanb4614

Totally Zenned

Join Date:
Feb 2008
Posts:
556
Plugin Contributions:
0

Re: Cart & Images..

Can y ou give me an example please I keep getting it after the image or in the middle.... sorry new to all of this

5 Jun 2008, 4:13 PM
#12
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Cart & Images..

Provide a link to what you have

5 Jun 2008, 7:35 PM
#14
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Cart & Images..

KoBra:

Make the image part of the background image for your header area
You inserted it as an image and Not as part of your header background image
KoBra:

Code can be in a div you define and be located to appear over your image
Your code is not in a div and can not be addressed for css adjustment

5 Jun 2008, 8:00 PM
#15
ryanb4614 avatar

ryanb4614

Totally Zenned

Join Date:
Feb 2008
Posts:
556
Plugin Contributions:
0

Re: Cart & Images..

Jobra Im sorry but how do i go about doing this, i am new to all of this... can you give me an example please or explaination?

5 Jun 2008, 8:08 PM
#16
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Cart & Images..

The code part

<div id="some_name">
<li>My Cart: <span class="style1">
<?php echo sizeof($_SESSION['cart']->get_products()); ?>  items  
<?php $header_cart = $currencies->format($_SESSION['cart']->show_total());
echo $header_cart;
?>
</span>
<br class="clearBoth" />
</li>
</div>

I can not explain the image other than to say you have a header background image already In your image editor place the block you want the info to be in into that image and save it. Your header background will now have that block as part of it

5 Jun 2008, 8:33 PM
#17
ryanb4614 avatar

ryanb4614

Totally Zenned

Join Date:
Feb 2008
Posts:
556
Plugin Contributions:
0

Re: Cart & Images..

Kobra, I got it thanks so much, It wasn't clear to me what you were saying but now I under stand thanks again!

5 Jun 2008, 9:20 PM
#18
ryanb4614 avatar

ryanb4614

Totally Zenned

Join Date:
Feb 2008
Posts:
556
Plugin Contributions:
0

Re: Cart & Images..

take a look at my site one more time please (your probly hating me alot) why is my dropdown behind my flash Any ideas to fix that ( the drop down was just a test needs minor sizing adjustments and more... thanks Kobra again

5 Jun 2008, 11:51 PM
#19
ryanb4614 avatar

ryanb4614

Totally Zenned

Join Date:
Feb 2008
Posts:
556
Plugin Contributions:
0

Re: Cart & Images..

got it for any other readers with the problem: need to go into the coding and change the following

<param value="high" name="quality" /> to <param name="wmode" value="transparent"/>
6 Jun 2008, 1:23 AM
#20
bigbadboy avatar

bigbadboy

Totally Zenned

Join Date:
Apr 2008
Location:
London
Posts:
557
Plugin Contributions:
0

Re: Cart & Images..

1 - Somebody else asked for this yesterday:

This code will give you -
'You have XX items in your basket' - will work out singular and plural and link to the basket.

Place it anywhere in your header:

You have <?php echo $_SESSION['cart']->count_contents(); ?> <?php echo $_SESSION['cart']->count_contents() == "1" ? "item " : "items " ; ?> in your <a href="shopping_cart.html" target="_top">basket</a>

You can see it live on the Ad Hom site (link in my sig).