A
A
AltaiR2017-02-23 15:08:44
opencart
AltaiR, 2017-02-23 15:08:44

How to properly connect your Bootstrap to Opencart?

Good day. I am learning to pull the layout on Opencart . I see that there is a built-in bootstrap that is included in the header.tpl file :

<link href="catalog/view/javascript/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen" />
<script src="catalog/view/javascript/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>

Will it be correct if I replace these files with my files compiled here getbootstrap.com/customize , and won't it all crash when updating opencart? Or it would be more correct if I put the files in my theme folder and change the paths already in the header.tpl file.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2017-12-12
@webinar

templates have nothing to do with updating. You do not edit the admin templates, but the front. If they depended, then with each update, all your work would crash. Nobody does that.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question