Modifying Tag File

When storefront.wro4j.enabled property is set to true, to support cross origin domains, you need to modify the javaScript.tag file.

  1. Open the javaScript.tag file.

    • For B2B case, the javaScript.tag file is in <$HYBRIS_BIN_DIR>/custom/yb2bacceleratorstorefront/web/webroot/WEB-INF/tags/responsive/template/.

    • For B2C case, the javaScript.tag file is in <$HYBRIS_BIN_DIR>/modules/base-accelerator/yacceleratorstorefront/web/webroot/WEB-INF/tags/responsive/template/.

  2. Modify the javaScript.tag file as the following: