Post by MWB-02 » Wed Aug 28, 2013 10:18 pm

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
Last edited by MWB-02 on Thu Aug 29, 2013 1:14 pm, edited 1 time in total.

Active Member

Posts

Joined
Wed Feb 20, 2013 1:35 pm

Post by ogun » Wed Aug 28, 2013 10:43 pm

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.

Active Member

Posts

Joined
Tue Aug 14, 2007 6:04 am

Post by MWB-02 » Thu Aug 29, 2013 12:12 am

Still nothing bootstrap 3 jquery file has conflict with open cart on 1.5.5.1 and 1.5.6

slider not working header shopping cart will not work and checkout function not work.

Active Member

Posts

Joined
Wed Feb 20, 2013 1:35 pm

Post by artcore » Thu Aug 29, 2013 1:10 am

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>

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 } ?>
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:)

Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+ ;D

Thanks!


User avatar
Active Member

Posts

Joined
Tue Jul 09, 2013 4:13 am
Location - The Netherlands
Who is online

Users browsing this forum: No registered users and 20 guests