I am getting the below error in console in Magento 2 for js and also due to that my details and review tabs overlap with each other. Can anyone knows how to debug this js.
-
Please click on vm1203:5 and share the error here.– MsquareCommented Sep 28, 2023 at 5:37
-
@Msquare, here is the error from that { "breadcrumbs": { "categoryUrlSuffix": ".html", "useCategoryPathInUrl": 0, "product": "Attic Tent AT-2 25"x54"x7"" } }– Mitul VadaliaCommented Sep 28, 2023 at 5:40
-
Please check this link: magento.stackexchange.com/questions/369972/…– MsquareCommented Sep 28, 2023 at 10:17
Add a comment
|
1 Answer
Your product name is wrong in your json format. The issue is given below:
"Attic Tent AT-2 25"x54"x7""
Here you can see double quote is mismatched with your json data that's why it's showing an error. Please update your product name and check it.
-
1Perfect, in the product name " is written has " , so this causes an issue Commented Sep 28, 2023 at 10:22