cancel
Showing results for 
Search instead for 
Did you mean: 

If client login some features don't work

If client login some features don't work

Hey,

 

I don't even know how to explain this.

But the case is, in some pages if the user is logged in some of the features don't work.

For example in cart we have a tab that opens a closes with the form to apply discount code, but if the user is logged in it just does not work. Same goes to the other tabs, a block and the button that should redirect to the checkout itself.

Idk what even to look for.

 

Edit:

Well I think is that the JQuery don't load when user is logged in, in some pages it gives live datepicker is not a function and only appears if user is logged, so I bet on that, but what can cause the JQuery not to load (or load in time, the JQuery appears loaded in page) only if the user is logged in?

 

If user legged in

<div class="block discount" id="block-discount" data-mage-init="{&quot;collapsible&quot;:{&quot;openedState&quot;: &quot;active&quot;, &quot;saveState&quot;: false}}">

 

If not logged in

<div class="block discount" id="block-discount" data-collapsible="true" role="tablist">

Thanks Smiley Very Happy