lat9 / ZCA-Bootstrap-Template

A Bootstrap-4 template for Zen Cart versions 1.5.8 through 2.1.0. Forked from https://github.com/zcadditions/ZCA-Bootstrap-Template-for-1.5.6-v2.0.0c. See the demo site, below, for additional information.
https://zc158.vinosdefrutastropicales.com/zc158/index.php?main_page=index
GNU General Public License v3.0
4 stars 14 forks source link

Child template prep: Split out CSS/JS loading #422

Closed lat9 closed 1 month ago

lat9 commented 2 months ago

As provided by this zc210 PR: https://github.com/zencart/zencart/pull/6604

lat9 commented 2 months ago

Noting that, as a side-effect, this will bring in this Zen Cart 'base' portion of the CSS loading:

https://github.com/zencart/zencart/blob/d7327c7c60c7e484274fcd0198d7274017c5a094/includes/templates/template_default/common/html_header_css_loader.php#L77-L83

... which will replace

https://github.com/lat9/ZCA-Bootstrap-Template/blob/24fb3d37942bcaf923594432d60a69b4e841895d/includes/templates/bootstrap/common/html_header.php#L185

stylesheet_zca_bootstrap_colors.php should still be towards the end of the CSS files' load, since those files are gathered in alphabetic order.