REGISTER  


Drag and drop cart
This thread belongs to expert.forumgeeks.net


2008-12-30 21:15 GMT   |   #1
 
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?  ??? ??? ::)
2008-12-30 22:38 GMT   |   #2

opencart already uses jQuery so why not use that to create the drag n drop:

http://www.highoncoding.com/Articles/38 ... Query.aspx
2009-01-03 19:50 GMT   |   #3
 
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  ::)