php - Adding to shopping cart [Drag and Drop] -


i trying create virtual shopping basket.

  1. there items [from database]
  2. there virtual basket
  3. users can drag items , put inside basket. [like buying in shopping mall].
  4. after user clicked save button, shopping cart saved.

is there anyway this?

yes.

you’ll need couple technologies.

  1. html5/css3 position , style items , cart

  2. jquery ui drag , drop effects: http://jqueryui.com/draggable/

  3. ajax send dragged/dropped items php handler

  4. php store items in session , process transaction


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -