Hello,
My site isn’t loading the jquery library on the head of the website as it was supposed to with this code in the head.phtml file:
Code:
<?php if(!defined('JM_ADD_JQUERY')): ?> <?php $jquery_url= $this->getSkinUrl('js/jquery/jquery.js');?> <?php if (@fopen($jquery_url,"r")==true):?> <script type="text/javascript" src="<?php echo $jquery_url ?>"></script> <?php define('JM_ADD_JQUERY', true); ?> <?php endif; ?>
I didn’t know how to make it work, so I added the jQuery library manually from Google on the head.phtml file:
Code:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
Now jQuery seems to be working and I don’t have any errors on the console window of my browser, but the "quickview" and "add to cart" buttons on the product sliders aren’t showing at all. Can you help me with this?