Post by mr_raik » Wed Dec 31, 2008 5:15 am

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/a ... ptaculous/  for more info  :-\
anyone can help?  ??? ??? ::)

Newbie

Posts

Joined
Sun Dec 28, 2008 1:53 pm

Post by Qphoria » Wed Dec 31, 2008 6:38 am

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

http://www.highoncoding.com/Articles/38 ... Query.aspx

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by psionics » Sun Jan 04, 2009 3:50 am

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/a ... ptaculous/  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  ::)

New member

Posts

Joined
Tue Apr 01, 2008 4:49 pm
Who is online

Users browsing this forum: No registered users and 9 guests