WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Bakery Shop => Topic started by: crnogorac081 on June 12, 2010, 09:52:38 AM

Title: AJAX fly items to cart
Post by: crnogorac081 on June 12, 2010, 09:52:38 AM
Hi,

upon Stefek's request, I am building an ajax based snippet, and this is an announcement for it..

Current progress and demo is available on: http://www.ivan.milicevic.me/bakery.php

I would like to hear some comments :)

cheers
Title: AJAX fly items to cart
Post by: freeSbee on June 12, 2010, 10:07:34 AM
Hi Ivan

What does this snippet aim to do?
Could not find any ajax on the demo.

Regards Christoph
Title: AJAX fly items to cart
Post by: crnogorac081 on June 12, 2010, 01:26:18 PM
maybe you didnt notice or maybe you have javascript turned off?

it makes fly-out effect to cart div block and populates the cart without refresh... also deletes item without refresh from cart..

try adding some staff to basket..

cheers
Title: AJAX fly items to cart
Post by: freeSbee on June 12, 2010, 02:26:41 PM
Hi Ivan

t makes fly-out effect to cart div block and populates the cart without refresh... also deletes item without refresh from cart..

Great effect! Thanks for implementing!

3 things I noticed:
If a customer re-adds an article to the mini-cart, the article in the cart disappears even it is still in the main cart. At the product's place there is a message displayed:
«This product is already added to your cart. You can change the quantity in the shopping cart.»
Whenever the customer adds the same product again, also the message is added again and again.

Calling Bakery for the first time on your site, there are already products added to the cart! If I delete the browser cookies and re-call Bakery, there are other products added... Very odd! Maybe you do not differentiate between your and other sessions? Use the order_id to do so.

And just one minute ago:
«Lost connection to MySQL server at 'reading initial communication packet', system error: 113»

Regards Christoph
Title: AJAX fly items to cart
Post by: Stefek on June 12, 2010, 03:25:54 PM
Hello Ivan,

your progress is quite awesome - I had a go with it some month ago but I didnt't get anything.
So thank you very much for your help.

Keep on the good work!

Kind regards,
Stefek
Title: Re: AJAX fly items to cart
Post by: crnogorac081 on June 12, 2010, 03:58:03 PM
Hi Christoph,

This is the second time I tried bakery (first was when I implemented drag n drop for backend..) so I need to get much deeper into your coding... (sessions, listing attributes for items etc...)

I am glad you like this flying effect, Stefek discovered it, and I hope you will be here to guide me when I become stacked with coding, as you know which part of code is what..

There are still a lot of work to do.. so far flying effect is working fine and adding and deleting items from cart Now I need to set sessions right and include all bakery options right..

cheer
Title: Re: AJAX fly items to cart
Post by: Stefek on June 12, 2010, 04:39:07 PM
Hello Christoph.

I really hope that this will work finally.

I assume that here are not to many people working with AJAX and as Ivan implemented the drag&drop into the backend and provided a working patch (and other Ajaxy gadgets for use with WB), I still think that he is the one who will get there with this, if he gets a little advice on the stuff he mentioned before.

So ist there a chance to help him with this great effect?

Best Regards,
Stefek

Title: Re: AJAX fly items to cart
Post by: crnogorac081 on June 18, 2010, 10:11:34 AM
just updated snippet, take a look: http://www.ivan.milicevic.me/bakery.php

try adding and removing items..

cheers
Title: Re: AJAX fly items to cart
Post by: a6smile on February 16, 2011, 07:32:35 PM
just updated snippet, take a look: http://www.ivan.milicevic.me/bakery.php

try adding and removing items..

cheers

where i can download it?
Title: Re: AJAX fly items to cart
Post by: crnogorac081 on February 16, 2011, 10:29:28 PM
Hi,

the development for this has stoped, as I encountered multiple issues.

You may contact Stefek to ask him if he continued to work on it, and if he agrees, I can give you the code to continue the developing..

cheers
Title: Re: AJAX fly items to cart
Post by: Stefek on February 17, 2011, 03:52:49 AM
Hi,

the development for this has stoped, as I encountered multiple issues.

You may contact Stefek to ask him if he continued to work on it, and if he agrees, I can give you the code to continue the developing..

cheers

Hello,

of course I agree to share this, if you like to, Ivan.

I also stoped my further developement on this for the moment and can't say when will have the appropriate time to pick it up again.
I think that sharing the code and skills will bring the most benefit to this feature.

All best,
Stefek