Jump to content

JQuery Problems : ReferenceError: isLogged is not defined


yv0ry

Recommended Posts

Hello everyone !

Allow me to write a small message on the forum because I meet some difficulties with my new shop,

Indeed, on my "command-fast" page (order-UCI) I have a javascript error ..

This error must be linked to the loading JQuery except I almost tried everything:

- Change Version

- Move the code to the end

- Move the code in different places

- Add jQuery (which is already loaded ...)

I do not really know how to do!

Here is my error on the console:

 

ReferenceError: isLogged is not defined


if (guestCheckoutEnabled &&! isLogged &&! isGuest)

And here also attached a screenshot of the DOM indicates that the files loaded in the order,

I also know that this error wonder worries about prestashop lot of features, such as being able to change the quantity of a product, or ticking the box "I accept the Terms" to display the HOOK payment modules,

Do you have a solution ?

I thank you in advance !! See you soon

Marc

post-786467-0-17864100-1465217718_thumb.png

Link to comment
Share on other sites

Can you give a screendump of the error? Now we are missing contextual information like what file it happened in. 

 

What you can try is disabling the CCC options for javascript (compression and moving to the bottom). They often cause trouble.

Link to comment
Share on other sites

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...