To insert code use <code>...</code>.
Cart 66 Javascript error-Begginer
  • Hello,
    I'm not an expert, so if any one has any suggestions, please go slow. I'm trying to integrate cart 66 into my Striking wordpress site and everything seems to be working ok, but I am getting a javascript error on all the pages I add shopping cart items to. I downloaded a web developer tool in Mozilla to identify the error and this is the error it finds;

    Timestamp: 4/12/12 2:12:44 PM
    Error: syntax error
    Source File: http://www.napervillekayak.com/book-paddle/
    Line: 125, Column: 15
    Source Code:
    /* <![CDATA[ */</p>

    Below is the code from the actual page. Does anyone have an idea of how to fix this or if I can get Striking to work with Cart 66?


    Inventory tracking will not work because your site has javascript errors.

    Possible solutions


    /* <![CDATA[ */</p>

    (function($){
    $(document).ready(function(){
    $('.Cart66AjaxWarning').hide();
    $('#addToCart_6').click(function() {
    $('#task_6').val('ajax');
    inventoryCheck('6', 'http://www.napervillekayak.com/?cart66AjaxCartRequests', 'yes', 'Friday Night Paddle 2/15', 'http://www.napervillekayak.com/book-paddle/', 'Adding...');
    return false;
    });
    })
    })(jQuery);


    /* ]]> */


     




    Thank your help.