Javascript error when using Action

Asked

Viewed 25 times

0

I’m trying to use a platform functionality that I use (Magento) only that I’m not getting, is being returned the following image error. I want to send newsletter on mobile, so I tried to copy the same action and everything, only I’m not getting.

inserir a descrição da imagem aqui

inserir a descrição da imagem aqui

1 answer

1


Solution:

Since Magento is a platform that uses controllers, blocks and helpers, it "makes the interaction of its modules much easier", what I was trying to do was to pull an action out of that module, where it was set in XML, so I put the code that is in the image inside the module, setting only another layout/css for mobile, but achieving the same functionality. My mistake was trying to use Action outside the module.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.