Zen Cart Logo
Forums / All Other Contributions/Addons / Cart Contents on Mouseover

Cart Contents on Mouseover

Locked

Views: 1,289

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
6 May 2008, 11:47 PM
#1
fbords avatar

fbords

New Zenner

Join Date:
Sep 2007
Posts:
60
Plugin Contributions:
0

Cart Contents on Mouseover

Hey guys, I was looking to possibly start a contribution but was having some trouble. My goal is to do the following:

  1. Have a link for the Shopping cart similar to "Shopping Cart | 1 Item(s): $1.00" either in the header or sidebox. This is easily done.

  2. Use Ajax/javascript to display the shopping cart sidebox on mouseover.

I was examining several premade solutions for ideas such as jTIP, but can't seem to get it to work. Anyone attempt anything similar?

7 May 2008, 6:52 AM
#2
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Cart Contents on Mouseover

How about trying Xajax? I got it working very nicely, there is a module in the download section for xajax, but i had some problem with that module tho.

Anyway, if you use xajax, all you have to do is to have your mouseover calls back a function, which is a php function, this in turn can of course get the cart content etc then put it where ever you want (by using replacing innerHTML or other methods supported by xajax)

7 May 2008, 7:04 PM
#3
fbords avatar

fbords

New Zenner

Join Date:
Sep 2007
Posts:
60
Plugin Contributions:
0

Re: Cart Contents on Mouseover

yellow1912:

How about trying Xajax? I got it working very nicely, there is a module in the download section for xajax, but i had some problem with that module tho.

What are you currently using it for? Also, I checked the downloads for a xajax contribution, but couldnt find one. Is it still available?

10 May 2008, 3:05 AM
#4
fbords avatar

fbords

New Zenner

Join Date:
Sep 2007
Posts:
60
Plugin Contributions:
0

Re: Cart Contents on Mouseover

To clarify, I'm looking to do something like this. Instead of showing an image and text, I want to show the contents of the cart. Would you know if I can accomplish this using PHP include, or would I have to achieve this by another means?

http://simplythebest.net/scripts/DHTML_scripts/dhtml_script_95.html

26 Nov 2008, 2:44 PM
#5
pricediscrimination avatar

pricediscrimination

Zen Follower

Join Date:
May 2008
Posts:
401
Plugin Contributions:
0

Re: Cart Contents on Mouseover

Is anyone still working on this? something like this site has would be ideal.