I was checking out the cart system in the adobe store and when something is added to the cart it doesnt refresh the page but does some effect on the cart block to let the user clearly know something was added to the cart. The only thing preventing me from using this module is confusing the customer and thinking the site is broke because they clicked add to cart and nothing happened.
Also there is a module that does this for messages, maybe you can migrate some of the code?
http://drupal.org/project/messagefx
Cheers
Comments
Comment #1
erik seifert commentedYes i think you are right. Next version will have an option "Display customer notification". This should be easily integrated.
Comment #2
RikiB commentedThanks. Also I was checking out this module called Ajax Comments:
http://drupaldance.com/ajax_comments
Once you submit the comment it does a slight flashing of the comment and its extremely well done and would work perfectly with Ajax Cart. They have a demo you can see in action.
Comment #3
RikiB commentedJust a bump..I hope all is well. :)
Comment #4
erik seifert commentedI think about something like blockUI
http://malsup.com/jquery/block/
Comment #5
RikiB commentedYeah that could work great I think. :)
Comment #6
RikiB commentedJust a tiny bump, I hope to use this soon :)
Comment #7
hankpalan.com commentedHow come on the Demo site http://shaque.net/catalog the add to cart button actually works the way is supposed to? You click it and then the item shows up in the cart. I've been waiting for 6 months for my cart to work.
Comment #8
RikiB commentedThis thread is about added an effect with that happens. Which I hope will be in the near future :)
Comment #9
RikiB commentedTime is fleeting, I sent you an email through the drupal contact form. I hope you can respond :)
Comment #10
erik seifert commentedPlease have a look on 2.0 alpha
Comment #11
RikiB commentedI was just checking it out and I think this will work, however there is just 1 thing. Currently it says something that the end user wont understand, (Cart link product action: p87_q1_a1o1). Is there any way to have that just say Successfully added to cart?
Comment #12
hankpalan.com commentedThis works better than I imagined it would. Thank you soooooooo much!
Comment #13
erik seifert commentedAh thanks. I will add a support for product links. Also there will be a success message.
Comment #14
RikiB commentedThanks Erik
Comment #15
erik seifert commentedNew Alpha Release:
http://drupal.org/node/612702
Have fun ;- )
Comment #16
RikiB commentedIm not sure why but the add to cart ajax isnt working anymore. The remove from cart works with the popup and ajax, but when I add something to the cart it refreshes the page and no popup or ajax.
I tried disabling/enabling the module but it still does it.
On a good note, the remove from cart looks perfect :D
Comment #17
erik seifert commentedHmm, do you have more informations for me ? Or do you have a possibility for look on your test enviroment ?
Comment #18
RikiB commentedSure, I went ahead and made a fresh site to make sure real quick. It still doesnt work with a new install. You can see here that adding to the cart doesnt do ajax, but removing it does.
http://riki.us/dev/node/2
Comment #19
erik seifert commentedjquery.cookie.js is not loaded. Thats's the problem.
Comment #20
RikiB commentedoh cool, so is that an easy fix? Could I patch it on my end pretty easily?
Comment #21
erik seifert commentedYou got an 406 Status Code:
See here: http://www.checkupdown.com/status/E406.html
I doesnt know why you got this error. I think your apache/webserver installation block this script. You should should contact your hoster.
Comment #22
erik seifert commentedHere your response:
So jquery.cookie.js is missing.
Comment #23
RikiB commentedOH, well thats really strange. Im on a dedicated server, any ideas what I could change to get this working? Ill do some tests.
Comment #24
erik seifert commentedPlease have a look on your Server:
This file
Must exists.
Comment #25
RikiB commentedahh, well I double checked and the file is indeed there. I also tested this from 2 different sites on 2 different domains. The strange thing is it worked right before upgrading to the latest version. Ill do some more digging, sounds like the problem is on my end somehow if its working for you.
Comment #26
RikiB commentedAfter a bit of research it looks like mod security is blocking only that file because of the way its named.
More info here:
http://drupal.org/node/522646
http://drupal.org/node/271463
Could you point me to where I could hack this module to look for jquery_cookie.js instead of jquery.cookie.js? As soon as I change the name of that file it should work.
http://riki.us/dev/sites/all/modules/uc_ajax_cart/js/jquery_cookie.js
Comment #27
erik seifert commentedI was afraid of this. So you can rename this file and load it over template.php .
Or you ask your hoster to slacken the rules.
Comment #28
erik seifert commentedBut if there some problems anythere, i will rename this file in next release.
Comment #29
RikiB commentedI was able to work around it. Hopefully this thread will help others out there if they run across this. :)
Comment #30
RikiB commentedI hate to bring up tons of small requests but I think this is another good one and hopefully easy.
Currently it flashes the screen twice when you hit add to cart. The first time is very fast and its hard to even read what it says but its saying
Please Wait
Add Product to Cart
It would be much better to just skip that altogether and go straight to the 2nd message, is there an elegant way to do this? Currently its just a bit too jarring.
Thanks again for the hard work on this!!
Comment #31
erik seifert commentedFirst Message is because , sometime Request could be a little lame . So first Message is "Cart Update: Please wait". It could be configurable , for better expierence.
Comment #32
RikiB commentedCool, yeah if there was an option to remove the first one that would rule!
Comment #33
RikiB commentedHi again, just wondering if its possible to only have 1 notification display instead of 2, its still very jarring.
Comment #34
tunicLast release solves the double message flickering. The two messages are displayes, but there's no flickering becasue no fader effect is used to dispaly second message.
The first messge can't be removed because it gives information to user (hey, your request is being processed), the same for the second (ok, your request has been processed). If server si slow first message wuold be much apreciated.
I hope that without flickering behavior is ok.