cancel
Showing results for 
Search instead for 
Did you mean: 

issue on category page cart not working

SOLVED

issue on category page cart not working

on the category page ON frontend with basic theme I get this error and the cart is also not working

 

knockout.js:3381 Uncaught ReferenceError: Unable to process binding "attr: function(){return {href:$parent.getFilePreview($file)} }"
Message: $parent is not defined
at attr (eval at createBindingsStringEvaluator (knockout.js:2982), <anonymous>:3:70)
at update (knockout.js:4033)
at ko.dependentObservable.disposeWhenNodeIsRemoved (knockout.js:3373)
at Function.evaluateImmediate_CallReadThenEndDependencyDetection (knockout.js:2173)
at Function.evaluateImmediate_CallReadWithDependencyDetection (knockout.js:2140)
at Function.evaluateImmediate (knockout.js:2101)
at Object.ko.computed.ko.dependentObservable (knockout.js:1954)
at knockout.js:3371
at Object.arrayForEach (knockout.js:159)
at applyBindingsToNodeInternal (knockout.js:3343)

1 ACCEPTED SOLUTION

Accepted Solutions

Re: issue on category page cart not working

I diged it too deep and finally I could solve it

there was no issue with the magento but there was an issue with the category description that the customer had uploaded some text and images that had some conflicts

I removed those and fixed the issue

View solution in original post

1 REPLY 1

Re: issue on category page cart not working

I diged it too deep and finally I could solve it

there was no issue with the magento but there was an issue with the category description that the customer had uploaded some text and images that had some conflicts

I removed those and fixed the issue