All Questions
3 questions
9
votes
4
answers
53k
views
Adding CSS and JS to <head> using a module layout.xml for block
Synopsis
I would like to add a block to my grouped product view and my simple product view. This block will have some nice tooltips for hover states, i'm using a small library with one jquery plugin ...
2
votes
1
answer
4k
views
Check If JQuery Is Already Included In Head
I want to check if jQuery is already included on the page. I have seen several methods and finally settled on the following:
if ( (typeof jQuery === 'undefined') || !window.jQuery ) {
document....
2
votes
1
answer
549
views
Injecting javascript in specific page
I am trying to inject a javascript file in specific page in my admin form. Currently I am overriding a community extension and so far the backend part of the code works as expected. But so far my ...