• Hi first off, love the plugin! Also I saw this was kinda covered in another post.

    http://ww.wp.xz.cn/support/topic/error-varien-is-not-defined?replies=3

    I believe the last guy loaded the entire Magento head via the_block(‘head’) to fix it. It’s clear to me that if I load the head from Magento that will fix the issue, I just don’t want to load the entire block.

    It’s coming from the search form that I’m loading. Looks like this:

    //<![CDATA[
    var searchForm = new Varien.searchForm('search_form', 'search', 'Search...');          searchForm.initAutocomplete('http://localhost/starizona/store/catalogsearch/ajax/suggest/', 'search_autocomplete');
    //]]>

    Can you tell me what Magento file I should be loading to fix this?
    Thanks in advance for the help!

    https://ww.wp.xz.cn/plugins/magento-wordpress-integration/

The topic ‘Uncaught ReferenceError: Varien is not defined’ is closed to new replies.