cancel
Showing results for 
Search instead for 
Did you mean: 

Error adding products to basket

Error adding products to basket

Morning folks,

 

We have a magento 1.8 shop which has been running for some time. We have migrated servers and since that one of our products works fine with no issues however the rest when adding to basket the loading icon just spins and nothing happens.

 

Chrome console gives the following which I am unsure is related or not:

 

TypeError: Cannot read property 'id' of undefined
at checkOptions (addtobag.js:69)
at a.$scope.addProductToBag (addtobag.js:22)
at angular-1.2.0.min.js:160
at angular-1.2.0.min.js:176
at a.$eval (angular-1.2.0.min.js:100)
at a.$apply (angular-1.2.0.min.js:100)
at HTMLButtonElement.<anonymous> (angular-1.2.0.min.js:176)
at angular-1.2.0.min.js:26
at Array.forEach (<anonymous>)
at q (angular-1.2.0.min.js:7)

 

I am at a total loss as to what is causing this and could really do with some help.

 

Rich

1 REPLY 1

Re: Error adding products to basket

The error above appears on all products bar one which works fine and some customers have ordered

 

Rich