cancel
Showing results for 
Search instead for 
Did you mean: 

Minified JavaScript causes Visual Merchandizer to Break

SOLVED

Minified JavaScript causes Visual Merchandizer to Break

I enabled the "merge javascript files" on the admin panel and visual merchandiser breaks with error Uncaught TypeError: merchandiserJS is not a constructor in the console. Any help is appreciated. 

2 REPLIES

Re: Minified JavaScript causes Visual Merchandizer to Break

Hi @kwenn,

 

Go to your configuration and change the scope from Default to your website level. Something like:

Área de trabajo 1_001.png

 

 

 

Then uncheck:

Área de trabajo 1_002.png

 

 

And now set the value to Yes.

Área de trabajo 1_003.png

 

 

Now you backen dwill work with unmerged files but the frontend will use those merged files that you want.

Sometimes, on backend, the merged and minified files can fail (it will depend on several things... like which modules are you using)

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"

Re: Minified JavaScript causes Visual Merchandizer to Break

Worked like a charm. Thanks!