cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

bootstrap.min.js missing after upgrade from 6.5 to 6.6

Former Member
0 Likes
314

Hi colleagues,

we currently face an issue with missing bootstrap.min.js after upgrading from 6.5 to .6.6 When we call the shop in 6.5 like https://something:9002/yacceleratorstorefront/en/?site=apparel-uk and we do inspect the page, we see the following:

...

 <script type="text/javascript" src="/yacceleratorstorefront/_ui/responsive/common/bootstrap/dist/js/bootstrap.min.js"></script>

...

Doing the same with 6.6 the bootstrap.min. js is not getting loaded.

This leads to errors in one of our extensions, where the bootstrap.min.js is needed.

Any hint, why the js file is not loaded with 6.6 and what needs to be done, to get it back?

Just for testing, I just called the above mentionend <script ...> tag directly in our jsp. Then everything works fine. But I think, this cannot be the solution.

Thanks and kind regards, Elmar

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Elmar,

The bootstrap dependency was removed in 6.6. https://help.hybris.com/6.6.0/hcd/8f961e1607c845568e0f50beaff1f279.html

While the actual javascript is still included in the release the script directive is no longer in the javaScript.tag

Regards, Mark

Former Member
0 Likes

Hi Mark, thanks for your quick response to my question. On help.hybris.com one can read that interactive functionality, such as accordions and drop-downs, were re-written to use standard JavaScript and jQuery libraries. If we want to re-write our functionality too in order to get rid of the bootstrap.js, is there a place where we can find yCommerce coding examples which replaces the usage of the bootstrap.js?