1

Is their a way to open bootstrap modal popup in Magento 1.x. Like: https://www.w3schools.com/bootstrap/bootstrap_modal.asp

I also had a look by ctrl+u but didn't find any bootstrap.min.js (or) bootstrap.min.css.

Do Magento 1.x uses bootstrap ?

So is it possible to show a bootstrap modal popup in Magento by default.

Thanks

1

You have to add these two files using your local.xml file.

<action method="addItem"><type>skin_js</type><name>js/bootstrap.min.js</name></action>

<action method="addItem"><type>skin_css</type><name>css/bootstrap.min.css</name></action>

make sure these two files exist in your skin location.

Then after you can copy the code from the w3school and use in your frontend template.

  • Thanks a lot for answering, got that and also I did that. But my concern was that I was expecting that Magento itself provided bootstrap in 1.x. So it means bootstrap is not included in magento by default. Right ? – Narendra Vyas Jun 18 '18 at 7:34
  • default magento 1 not giving the functionality for popup modal.So you need to add the custom JS and css file and implement it.FYI default magento 2 giving the functionality for popup modal. – Sunny Rahevar Jun 18 '18 at 7:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.