Alex Smith
Alex Smith

Reputation: 19

TypeError: Cannot read property 'submit' of undefined Magento 'Add to cart'

When clicking the 'Add to cart' button on magento view.phtml page, I am getting the following error :

TypeError: Cannot read property 'submit' of undefined 

I am aware that this is potentially jQuery conflict however I am not sure where the conflict is as I am using jQuery no conflict.

Site URL:

http://www.envirouk.com/index.php/lighting/led/led-flat-panel.html#

Upvotes: 0

Views: 5786

Answers (1)

Sunil Patel
Sunil Patel

Reputation: 536

This is not a proper way to include jQuery.

You need to add jQuery first then conflict then prototype.

Try with above order.

Upvotes: 2

Related Questions