enter image description here

The above code written in catalog_product_view.xml in module-catalog. For this block, customer info in header after login not loading. In console I'm getting this error: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data.

If I comment this block it works well. Any solution for this?

Thank You

  • Instead of checking the xml can you please check the template code. May be something wrong in that. Try both the ways. – Kalyan Chakravarthi V Feb 26 '18 at 0:42
  • I am also facing the same issue if any one is having the solution then please, advice. I have added customer Review Tab in custom theme but success message for review posted is displaying in when I view other page. And when I try to add product it is not displaying success message for product. – LR Soni Oct 5 '18 at 15:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.