Skip to content

Main Wire Element Could Not Be Found

When using the Hyvä checkout with the fallback module, the following errors may occur if set up incorrectly:

  • Main wire element could not be found
  • ReferenceError: Magewire is not defined

The primary symptom of this issue is that the Luma theme is displayed instead of the Hyvä checkout. This happens because the checkout/index page is still defined in the Theme Fallback settings.

Steps to Resolve

  1. Navigate to Stores > Configuration > Hyvä Themes > Theme Fallback.
  2. Locate and remove checkout/index from the fallback list.
  3. Save the configuration.