Ionic Firebase Shopping Cart: Part 2

This is my 2nd tutorial in the tutorial series, “Getting Started with Ionic Firebase“. This is a continuation of the Part 1, where i implemented Login, Register and Profile sections of FoodKart V0.3. If you find it useful, then please make sure to subscribe and follow me on Git for the latest updates and releases.

Donwload

I this tutorial i will discussing on how, i implemented Grid Menu, Cart and Orders sections. Feel free to contribute to this project to end up, having your name in the about section of our app.

So lets start cooking!

Menu :

Screenshot_2016-07-10-13-39-15

  menu2.html [The Food Menu Page] 

  controller.js [ menu2Ctrl ] 

  services.js [ sharedCartService ] 

In the Part 1 of this series, we have seen a cart icon on the navigation bar and also the Sliding Menu Drawer. We had created a additional controller ( indexCtrl ) for manipulating those sections. Now we will see the indexCtrl in detail.

Index :

index_html

  controller.js [ indexCtrl  ] 
:

Cart :

Screenshot_2016-07-10-13-39-25

  myCart.html [ Users Shopping Cart ] 

  controllers.js [The container] 

Check Out :

Screenshot_2016-07-10-13-39-35

  checkout.html [ User checkout page ] 

controller.js [ checkoutCtrl ] 

Now finally the last section, ie the Order Status.

Last Orders [ Keeps track of Order status and Past orders] :

Screenshot_2016-07-10-13-39-43

  lastOrders.html [ The order list ] 

  controllers.js [ lastOrdersCtrl ] 

This concludes the major section of FoodKart.

I have integrated crosswalk, improving the speed 3x. Will be discussing the technical tweaks in the next section.

Please make sure to subscribe and follow me on Git.