WordPress.org

Support

Support » Plugins and Hacks » WP eCommerce » [Plugin: WP e-Commerce] Ajax(add to cart) problem only in IE

[Plugin: WP e-Commerce] Ajax(add to cart) problem only in IE

  • This is a problem only in IE(tested in IE8 and IE9), in FF and Chrome works fine.
    When you are trying to add a product to the basket then it gives an error to the line eval(returned_data); and the loading wheel it keeps spinning.

    I assumed that the problem was the eval() and i tried something like that:

    function loadMyFuncModule() {
    var dj_global = this; // global scope reference
    if (window.execScript) {
    window.execScript(returned_data); // eval in global scope for IE
    return null; // execScript doesn’t return anything
    }
    return dj_global.eval ? dj_global.eval(returned_data) : eval(returned_data);
    }
    loadMyFuncModule();

    But nothing changed…, does anyone have any idea about whats wrong with explorer?
    The site is http://scs.tv/our-products/
    Thanks!

    http://wordpress.org/extend/plugins/wp-e-commerce/

  • The topic ‘[Plugin: WP e-Commerce] Ajax(add to cart) problem only in IE’ is closed to new replies.
Skip to toolbar