The above code is written in catalog_product_view.xml in module-catalog.
For this block, customer info in the 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 on this block it works well. Any solution for this?
Thank You
Best Answer
Sounds like you just have to add
Right after
Don't forget to flush Magento cache with the usual command :
Source : Reviews in magento 2