In Magento 1.9.1, I have added a size attribute and add a option to that size attribute as Large 9.5" Tall x 7.5" Diameter & Small 2" Tall x 5.75" Diameter. After adding this option with double quote (“) for inch the images not change after select the large or small option from dropdown. Please let me know how to fix this issue. Because we need double quote for display the inches.

Error in console :- Uncaught SyntaxError: Unexpected token t in JSON at position 28


Try this if it works (not tested just an idea)-

Large 9.5\" Tall x 7.5\" Diameter & Small 2\" Tall x 5.75\"
  • already tried this but not working – Narayan Oct 23 '18 at 9:06
  • whats the error in console ? – Shashank Kumrawat Oct 23 '18 at 9:08
  • I have update the console error in question please check – Narayan Oct 23 '18 at 9:13
  • yes .as expected it is giving error due to quotes – Shashank Kumrawat Oct 23 '18 at 9:17
  • can you try this one more Large 9.5" Tall x 7.5" Diameter & Small 2" Tall x 5.75" – Shashank Kumrawat Oct 23 '18 at 9:18

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.