Can anyone know, how to add bootstrap modal popup into the application.
As I can’t found bootstrap related css and js in application.
Thanks
Can anyone know, how to add bootstrap modal popup into the application.
As I can’t found bootstrap related css and js in application.
Thanks
Hi @chaitanya, Bootstrap is not used in the application and can’t hence be found. I can not recommend adding it as currently the styles are not namespaced and style class name collisions might occur with the introduction of Bootstrap to the project.
Other modals in the application have been implemented using a library called lightbox_me. Here you can find an example on how it’s been used to render the transaction agreement modal.
If you insist on using Bootstrap, I’d start by adding the sources under vendor/assets
and requiring them in app/assets/javascripts/application.js
and app/assets/stylesheets/application.scss
.
Thanks I will try Lightbox
I found this bootstrap product discount modal
Yes Its possible, we can add bootstrap popup window