cancel
Showing results for 
Search instead for 
Did you mean: 

Product AddToCart Button not working on PDP & its working on PLP

Product AddToCart Button not working on PDP & its working on PLP

I can able to add product to AddToCart in PLP page. However, when i try to add AddToCart in PDP page i can't able to do that. Look like AddToCart button disable.

Err09.png

How to solve the issue?

5 REPLIES 5

Re: Product AddToCart Button not working on PDP & its working on PLP

Hi @jeevarathi8477 ,

I cant see the screenshot.

Could you please try to reupload.

Also in PDP page please open dev tools console and check if there is any error in console tab of dev tools.

 

I can see like below

Reply-to-Message-Magento-Forums.png

 

Thanks,

Ankit

Ankit Jasani

Re: Product AddToCart Button not working on PDP & its working on PLP

I always recommend following the documentation, i had the same for my website Desert Safari Dubai and the problem was sorted instantly, I love Magento, used for all of our store Smiley Happy

 

Re: Product AddToCart Button not working on PDP & its working on PLP

Yes, i am getting error in Console

knockout.js:3753 Uncaught ReferenceError: Unable to process binding "attr: function(){return {for:uid} }"
Message: uid is not defined
    at attr (eval at createBindingsStringEvaluator (knockout.js:3221:28), <anonymous>:3:69)
    at update (knockout.js:4429:59)
    at ko.dependentObservable.disposeWhenNodeIsRemoved (knockout.js:3745:45)
    at computedObservable.evaluateImmediate_CallReadThenEndDependencyDetection (knockout.js:2331:115)
    at computedObservable.evaluateImmediate_CallReadWithDependencyDetection (knockout.js:2288:41)
    at computedObservable.evaluateImmediate (knockout.js:2253:40)
    at ko.computed.ko.dependentObservable (knockout.js:2085:40)
    at knockout.js:3743:40
    at Object.arrayForEach (knockout.js:168:36)
    at applyBindingsToNodeInternal (knockout.js:3715:34)

Re: Product AddToCart Button not working on PDP & its working on PLP

However, i am doing anything with knockout.js.

Re: Product AddToCart Button not working on PDP & its working on PLP

Hi @jeevarathi8477 ,

Error is likely from a third-party module's improper Knockout binding

Disable modules one-by-one to isolate which extension triggers the error

Fix or patch the faulty module once identified

Ankit Jasani