A user reports that customers cannot remove items from their shopping cart after adding them, suspecting the issue arose after uninstalling the PickEasy app (which provided local delivery functionality).
Technical diagnosis:
A helper identified problematic code in the theme.js file that’s causing the removal function to fail
The code snippet appears to be a validation function with formatting issues
Troubleshooting steps taken:
Uninstalling the PickEasy app did not resolve the issue
This suggests the app left behind code modifications in the theme files
Recommended solution:
Contact the PickEasy app support team to remove leftover code
Alternatively, reach out to the Icon Theme developers for assistance
Current status:
Issue remains unresolved
Another user has encountered the identical problem and is also seeking a solution
Summarized with AI on October 28.
AI used: claude-sonnet-4-5-20250929.
Have you edit code in your theme.js to customize something? This code in your theme.js file causes the issue
function key(key) {
if (typeof key !== 'string' || key.split(':').length !== 2) {
throw new TypeError(
'Theme Cart: Provided key value is not a string with the format xxx:xxx'
);
}
}
I did not edit any code in my theme.js, however, I did recently uninstall the PickEasy app which enabled a local delivery function in my cart. Could this be what is causing the issue?
Try to uninstall that app for checking if it solve the issue. If the issue caused by the app then you can contact support of that app so they can fix it for you.
Thank you, I uninstalled the app and am still having this issue. I will contact them for support.
just to confirm, you think it’s an issue caused by a change in my theme.liquid or theme.js ? Apologies if these are stupid questions, I am not very familiar with the backend of things. Thank you!
Hi, Mec720. I am facing this problem right now and I have contacted Shopify support, and still no fix. Can you please let me know if you got the issue fixed ? and if Yes, how was it fixed?