O'Reilly logo

Bootstrap for Rails by Syed Fazle Rahman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Creating a Shopping Cart Using Bootstrap Modals

This chapter is all about implementing what we have learned so far in Bootstrap. We won't be learning anything new here, but this chapter will definitely clear some of the core concepts such as using Bootstrap modal, typography, buttons, and responsive tables.

In this chapter, we will create a JavaScript modal that will serve as a shopping cart in our Shopping application. This cart will have all the features needed for any shopping website. For demo purposes, we will be displaying only static data in our shopping cart.

In a nutshell, we will cover the following topics:

  • Adding a shopping cart symbol
  • Creating a shopping cart using modals

Adding a shopping cart symbol

Before proceeding to create ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required