Woocommerce javascript not loading
-
Hi fellow wordpressers, I have a problem, that are driving me nuts… :S
My website: https://www.secrid.dk/bagsiden does not load the woocommerce javascript correctly when changen the variations of the product to a different color.
I have testet in the standard wordpress theme and there it is working just fine, what have I done? :S
Look here and try to change the dropdown, the big image on the left is supposed to change when changing the variable from the dropdown…. But nothing is happening ??
Header code can be found here:
<?php /** * The Header for our theme. * * Displays all of the <head> section and everything up till <div id="main"> * * @package WordPress * @subpackage Secrid * @since Secrid 1.0 */ ?><!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <meta name="viewport" content="width=device-width" /> <title><?php /* * Print the <title> tag based on what is being viewed. */ global $page, $paged; wp_title( '|', true, 'right' ); // Add the blog name. bloginfo( 'name' ); // Add the blog description for the home/front page. $site_description = get_bloginfo( 'description', 'display' ); if ( $site_description && ( is_home() || is_front_page() ) ) echo " | $site_description"; // Add a page number if necessary: if ( $paged >= 2 || $page >= 2 ) echo ' | ' . sprintf( __( 'Page %s', 'twentyeleven' ), max( $paged, $page ) ); ?></title> <link rel="profile" href="https://gmpg.org/xfn/11" /> <!-- Bootstrap --> <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/css/bootstrap.css" media="screen" /> <!-- HENTER BOOTSTRAP.CSS --> <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" /> <!-- HENTER SECRID.CSS --> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/bootstrap.min.js"></script> <!-- HENTER BOOTSTRAP JAVASCRIPT --> <!-- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> --> <!-- HENTER AJAX SCRIPT --> <script src="https://code.jquery.com/jquery-latest.js"></script> <?php wp_head(); ?> </head> <body> <div class="wrapper"> <div class="container-fluid"> <div id="header"> <div id=logo> <a href="<?php echo get_option('home'); ?>"><img src="<?php bloginfo('template_url'); ?>/img/secrid_logo.jpg" /></a> </div> <!-- LOGO --> <div class="row"> <div class="span9"> <div id="menu"> <?php wp_nav_menu( array( 'theme_location' => 'primary-menu' ) ); ?> </div> <!-- MENU --> </div> <div class="span3 offset9"> <div id="kurv"><?php global $woocommerce; ?> <ul> <li><a class="cart-contents" href="<?php echo $woocommerce->cart->get_cart_url(); ?>" title="<?php _e('', 'woothemes'); ?>"><i class="icon-shopping-cart"></i><?php echo sprintf(_n('%d produkt valgt', '%d produkter valgt', $woocommerce->cart->cart_contents_count, 'woothemes'), $woocommerce->cart->cart_contents_count);?> - <?php echo $woocommerce->cart->get_cart_total(); ?></a></li> </ul> </div> <!-- KURV --> </div> </div> <div id="splitter"> </div> <!--SPLITTER --> </div> <!-- HEADER STOP -->
Thanks in advance! ??
- The topic ‘Woocommerce javascript not loading’ is closed to new replies.