-
5 Jul 2012 8:05 PM #1
Simple shopping cart for Sencha Touch 2
Simple shopping cart for Sencha Touch 2
Hi,
Just published first version of Simple shopping cart for Sencha Touch 2.
Find out more details here: https://github.com/kostysh/Simple-sh...Sencha-Touch-2
Example: http://mindsaur.com/demo/cart
Screenshot_2012-07-19-03-25-04.pngScreenshot_2012-07-19-03-25-46.pngScreenshot_2012-07-19-03-26-11.pngScreenshot_2012-07-19-03-26-21.png
Screenshot_2012-07-25-05-31-16.png
-
6 Jul 2012 1:20 AM #2
wow....looks fantastic. I'll have a closer look into it later on! Thanks a lot!
EDIT: Unfortunately I can't get it running. I dropped the src folder into my app folder. Additionally I have
But when I tryCode:Ext.Loader.setConfig({ enabled: true, paths: { CS: 'src' } });in the launch function it always says that CS is undefined. Did I miss anything important?Code:CS.Cart.setProductsStore('myStore');
-
6 Jul 2012 7:25 AM #3
-
6 Jul 2012 7:32 AM #4
Hey, thanks a lot. Just found it out myself. I was trying to integrate it in my project which I am currently doing in SenchaArchitect. Therefore I had to write the code by myself. Most of the code is "Read only" so you have to edit things in the config panel.
Thanks a lot again!
-
6 Jul 2012 7:37 AM #5
If you find any errors or you will be able to improve or add new features to cart - please let me know.
-
6 Jul 2012 8:15 AM #6
When you decrement an item past 1, you show an confirmation asking to remove it. If you select "no" the spinner's value is still set to 0 and the item remains in the list. I don't know if that is the proper behavior or not.
Also, I found an issue:
Steps:
1)Add an Apple to the cart.
2)Open the cart page
3)Decrement the Apple's count to 0.
4)Refresh the page and then go back into the Cart. (The apple will still be there)
5)Try to increment the count of the Apple to 1, but it gives an error: Cannot call method 'get' of null
-
6 Jul 2012 8:19 AM #7
-
10 Jul 2012 6:12 AM #8
Hi kostysh,
I found another possible bug.
-> add apple to cart
-> add cheese to cart
-> go to cart
-> decrease the amount of apple to 0
-> keep it in cart
-> decrease the amount of cheese to 0
-> keep it in cart
-> decrease the amount of apple to 0 (again)
-> remove from cart
-> decrease the amount of cheese to 0
==> now the apple should show up again in cart, although removed earlier.
-
10 Jul 2012 6:34 AM #9
-
10 Jul 2012 2:47 PM #10
Ultimate add-on?
Ultimate add-on?
I just thought of the ultimate add-on for this, have you seen this?
http://titouanvanbelle.fr/GitHub/Sen...hreeSixtyView/
Would be awesome to have products that could be rotated with your finger....I wonder how taxing on resources it would be though, especially for low-end devices and several images? Might not be too bad as that image is very detailed and large...
:-)


Reply With Quote
because it is wrong namespace.