1999 Posts in 531 Topics by 434 members
E-Commerce Modules
SilverStripe Forums » E-Commerce Modules » AJAX drag n drop shopping cart Feature
Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.
Moderators: martimiz, Nicolaas, Howard, Sean, Ryan M., biapar, Willr, Ingo, Jedateach, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 6242 Views |
-
AJAX drag n drop shopping cart Feature

18 February 2009 at 11:18pm Last edited: 31 March 2009 1:30am
Greetings
I am looking to develop an ajax drag n drop cart functionality with the existing e-commerce Module
I have been playing with the script.aculo.us drag n drop code as seen at
http://demo.script.aculo.us/ at http://design.theguigirl.com/cart.php (an entertaining cart
) and was looking to see if any extension of the E-commerce module may have been already started on a drag n drop cart
Also good documentation at http://wiki.github.com/madrobby/scriptaculous/If anyone has tried implementing an ajax drag n drop with Silverstripe - please submit your ideas ? Or if you are keen to provide assistance with developing one.
I will start by modifying in E-Commerce Module /code/ShoppingCart.php but have limited php / AJAX knowledge so any advice will be glady accepted
i.e Should this be a widget or just additional functionality of the E-Commerce Module
Ta
-
Re: AJAX drag n drop shopping cart Feature

31 March 2009 at 2:17am
Greetings - I have made some good progress on the drag n drop shopping cart Functionality
I have integrated a draggable and droppable items into a drop zone
Items have the ability to have the value (price or size) and quantity addedSee the example at http://superiorstorage.smpmedia.co.nz/lounge/
What I am looking is getting the cart items and total into the Shopping cart Session Object - so can anyone assist??
Essentially integrating the cart - check out cart items with the SS php controller ShoppingCart.php but this needs someone with more knowledge of OO php than meThe developed Code is attached
Code files used are### Files in SS used for Drag n Drop Storage Cart ###
Directories -> files
ecommerce > code >
-> ProductGroup.php
-> Product.phpecommerce > templates > layout
-> ProductGroup.ss
-> Product.ssecommerce > templates > includes
-> ProductGroupItem.ss
-> Cart.ss
-> Draggable.ss (Javascript Include at bottom of page)jsparty > jquery
-> jquery-1.2.6.js
-> jquery-ui-personalized-1.6rc4.min.js
Note: Prototype.js not used
| 6242 Views | ||
|
Page:
1
|
Go to Top |

