Hi.
When i update the jquery files in the header.tpl to
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
<link rel="stylesheet" type="text/css" href="catalog/view/javascript/jquery/ui/themes/ui-lightness/jquery-ui-1.8.16.custom.css" />
<script type="text/javascript" src="catalog/view/javascript/common.js"></script>
<?php foreach ($scripts as $script) { ?>
<script type="text/javascript" src="<?php echo $script; ?>"></script>
<?php } ?>
the shopping cart function & checkout function not working
Is it copying and pasting that's removed the 'http:' from the beginning of those links, or is it actually missing?
Also, you're probably better off hosting javascript locally - if JQuery introduce a big change (which they're wont to do fairly frequently), you may not even know it's happening until your site stops working.
Also, you're probably better off hosting javascript locally - if JQuery introduce a big change (which they're wont to do fairly frequently), you may not even know it's happening until your site stops working.
You can use jQuery 1.9 and higher if you add the migrate plugin after jQuery. This will make sure all javascript from OC remains functional.
Here's an exerpt from my <head>
I guess it's best to stick to version < v1.9 untill OC2 comes out. I'm using the latest so I don't learn the old ways as I just picked up programming:)
Here's an exerpt from my <head>
Code: Select all
<!-- JavaScripts -->
<script src='catalog/view/theme/farah_theme/scriptsheet/jquery/jquery-2.0.3.min.js'></script>
<script src='catalog/view/theme/farah_theme/scriptsheet/jquery/jquery-migrate-1.2.1.min.js'></script>
<script src='catalog/view/theme/farah_theme/scriptsheet/bootstrap/js/bootstrap.min.js'></script>
<?php foreach ($scripts as $script) { ?>
<script type='text/javascript' src='<?php echo $script; ?>'></script>
<?php } ?>
Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+
Thanks!
Who is online
Users browsing this forum: No registered users and 20 guests