Jump to content

Why javascript variable page_name in category is index?


Recommended Posts

I upgrade with no problem prestashop 1.4 to 1.6 with official module

 

this variable is dynamically added to javascript variables in file global.tpl

 

And i note strange problem the variable page_name, which is forms from Controller should be name of controller. But some how in category page is also index, not category.

 

when i see the source i see this:

var page_name='index'

instead of this:

var page_name='category'

So how i can fix that? Why it can be wrong? Is it somewhere in database or in override or...?

Link to comment
Share on other sites

  • 1 month later...

 

 

Yes, and i don't have an option of cache activated, because web page its in process of development.

 

I just wonder if some one can point me how to forms this variable and where?...

 

Is it possible to override this variable in some module? Probably i have something from old version...

 

P.S. I hope its as always just something i cant see... its happen some times when you work to hard and its kind some blindness =)

Link to comment
Share on other sites

×
×
  • Create New...