Drag and drop cart
3 posts
• Page 1 of 1
Drag and drop cart
Hello all, i'm trying to modify Opencart that allow the user can drag and drop Product to basket ( cart module zone ) (see demo: http://www.dragdropcart.com/demo/ )
but i got stuck when trying to find where to send product's data for processing, and how to receive response
example: i drag'n drop a product to basket and send product_id using ajax, so product_id should be send to index?controller=product page?
it seem that i have to create a new controller to handle this situation, right?
how is the data flow before adding item to cart then processing it?
see http://www.ajaxlessons.com/2006/02/19/ajax-workshop-3-shopping-cart-using-scriptaculous/ for more info
anyone can help?

but i got stuck when trying to find where to send product's data for processing, and how to receive response
example: i drag'n drop a product to basket and send product_id using ajax, so product_id should be send to index?controller=product page?
it seem that i have to create a new controller to handle this situation, right?
how is the data flow before adding item to cart then processing it?
see http://www.ajaxlessons.com/2006/02/19/ajax-workshop-3-shopping-cart-using-scriptaculous/ for more info

anyone can help?

- mr_raik
- Posts: 1
- Joined: Sun Dec 28, 2008 5:53 am
Re: Drag and drop cart
opencart already uses jQuery so why not use that to create the drag n drop:
http://www.highoncoding.com/Articles/38 ... Query.aspx
http://www.highoncoding.com/Articles/38 ... Query.aspx

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18213
- Joined: Mon Jul 21, 2008 7:02 pm

Re: Drag and drop cart
mr_raik wrote:Hello all, i'm trying to modify Opencart that allow the user can drag and drop Product to basket ( cart module zone ) (see demo: http://www.dragdropcart.com/demo/ )
but i got stuck when trying to find where to send product's data for processing, and how to receive response
example: i drag'n drop a product to basket and send product_id using ajax, so product_id should be send to index?controller=product page?
it seem that i have to create a new controller to handle this situation, right?
how is the data flow before adding item to cart then processing it?
see http://www.ajaxlessons.com/2006/02/19/ajax-workshop-3-shopping-cart-using-scriptaculous/ for more info
anyone can help?![]()
![]()
nice.. that http://www.dragdropcart.com/demo/ has a pretty straight forward front end and the products in admin side is optimized for inventory control and the product categories are like "tabbed" for better product control. which gives us the idea

- psionics
- Posts: 22
- Joined: Tue Apr 01, 2008 8:49 am
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest













