Why can't customers remove items from their cart in Icon Theme?

Topic summary

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'
      );
    }
  }