Jump to content

JS on head don't load


Recommended Posts

Hello,

JS on head don't load

 <script type="text/javascript">
        var prestashop = ;
      </script>

It should be something like

<script type="text/javascript">
        var prestashop = {"currency":{"name":"Euro","iso_code":"EUR","iso_code_num":"978","sign":"\u20ac"},"customer":{"lastname":null,"firstname":null,"email":null,"last_passwd_gen":null,"birthday":null,"newsletter":null,"newsletter_date_add":null,"ip_registration_newsletter":null,"optin":null,"website":null,"company":null,"siret":null,"ape":null,"outstanding_allow_amount":0,"max_payment_days":0,"note":null,"is_guest":0,"id_shop":null,"id_shop_group":null,"id_default_group":3,"date_add":null,"date_upd":null,"reset_password_token":null,"reset_password_validity":null,"id":null,"is_logged":false,"gender":{"type":null,"name":null,"id":null},"risk":{"name":null,"color":null,"percent":null,"id":null},"addresses":[]},"language":{"name":"Nederlands (Dutch)","iso_code":"bg","locale":"bg-bg","language_code":"bg-bg","is_rtl":"0","date_format_lite":"d-m-Y","date_format_full":"d-m-Y H:i:s","id":2},"page":{"title":"","canonical":null,"meta":{"title":"PrestaShop 1.7","description":"Winkel gerund met behulp van PrestaShop","keywords":"shop, prestashop","robots":"index"},"page_name":"index","body_classes":{"lang-bg":true,"lang-rtl":false,"country-bg":true,"currency-EUR":true,"layout-full-width":true,"page-index":true,"tax-display-enabled":true},"admin_notifications":[]},"shop":{"name":"PrestaShop 1.7","email":"[email protected]","registration_number":false,"long":false,"lat":false,"logo":"\/img\/logo.png","stores_icon":"\/img\/logo_stores.png","favicon":"\/img\/favicon.ico","favicon_update_time":"1478559344","address":{"formatted":"PrestaShop 1.7<br>Nederland","address1":false,"address2":false,"postcode":false,"city":false,"state":null,"country":"Bulgaria"},"phone":false,"fax":false},"urls":{"base_url":"http:\/\/site.bg\/","current_url":"http:\/\/site.bg\/","shop_domain_url":"http:\/\/site.bg","img_ps_url":"http:\/\/site.bg\/img\/","img_cat_url":"http:\/\/site.bg\/img\/c\/","img_lang_url":"http:\/\/site.bg\/img\/l\/","img_prod_url":"http:\/\/site.bg\/img\/p\/","img_manu_url":"http:\/\/site.bg\/img\/m\/","img_sup_url":"http:\/\/site.bg\/img\/su\/","img_ship_url":"http:\/\/site.bg\/img\/s\/","img_store_url":"http:\/\/site.bg\/img\/st\/","img_col_url":"http:\/\/site.bg\/img\/co\/","img_url":"http:\/\/site.bg\/themes\/classic\/assets\/img\/","css_url":"http:\/\/site.bg\/themes\/classic\/assets\/css\/","js_url":"http:\/\/site.bg\/themes\/classic\/assets\/js\/","pic_url":"http:\/\/site.bg\/upload\/","pages":{"address":"http:\/\/site.bg\/adres","addresses":"http:\/\/site.bg\/adressen","authentication":"http:\/\/site.bg\/login","cart":"http:\/\/site.bg\/winkelmandje","category":"http:\/\/site.bg\/index.php?controller=category","cms":"http:\/\/site.bg\/index.php?controller=cms","contact":"http:\/\/site.bg\/contact-opnemen","discount":"http:\/\/site.bg\/korting","guest_tracking":"http:\/\/site.bg\/bestelling-volgen-als-gast","history":"http:\/\/site.bg\/besteloverzicht","identity":"http:\/\/site.bg\/identiteit","index":"http:\/\/site.bg\/","my_account":"http:\/\/site.bg\/mijn-account","order_confirmation":"http:\/\/site.bg\/order-bevestiging","order_detail":"http:\/\/site.bg\/index.php?controller=order-detail","order_follow":"http:\/\/site.bg\/bestelling-volgen","order":"http:\/\/site.bg\/bestelling","order_return":"http:\/\/site.bg\/index.php?controller=order-return","order_slip":"http:\/\/site.bg\/bestel-bon","pagenotfound":"http:\/\/site.bg\/pagina-niet-gevonden","password":"http:\/\/site.bg\/wachtwoord-opvragen","pdf_invoice":"http:\/\/site.bg\/index.php?controller=pdf-invoice","pdf_order_return":"http:\/\/site.bg\/index.php?controller=pdf-order-return","pdf_order_slip":"http:\/\/site.bg\/index.php?controller=pdf-order-slip","prices_drop":"http:\/\/site.bg\/aanbiedingen","product":"http:\/\/site.bg\/index.php?controller=product","search":"http:\/\/site.bg\/zoeken","sitemap":"http:\/\/site.bg\/sitemap","stores":"http:\/\/site.bg\/winkels","supplier":"http:\/\/site.bg\/leverancier","register":"http:\/\/site.bg\/login?create_account=1","order_login":"http:\/\/site.bg\/bestelling?login=1"},"theme_assets":"\/themes\/classic\/assets\/","actions":{"logout":"http:\/\/site.bg\/?mylogout="[spam-filter],"configuration":{"display_taxes_label":true,"low_quantity_threshold":3,"is_b2b":false,"is_catalog":false,"show_prices":true,"opt_in":{"partner":true},"quantity_discount":{"type":"discount","label":"Discount"},"voucher_enabled":0,"return_enabled":0,"number_of_days_for_return":14},"field_required":[],"breadcrumb":{"links":[{"title":"Home","url":"http:\/\/site.bg\/"}],"count":1},"link":{"protocol_link":"http:\/\/","protocol_content":"http:\/\/"},"time":1480772736,"static_token":"b6f21fb2483e734bebd4715dfde6bf89","token":"9664a0c9a42a44b4029f93d59919b968"};
      </script>
Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...