How to load catalogs using groovy script in hybris

We can use groovy script to check the output at runtime rather than running the application We can run groovy script in HAC We can also use the similar code in our application Let’s see below groovy script to get all the catalogs import de.hybris.platform.catalog.CatalogService; import de.hybris.platform.core.Registry; import de.hybris.platform.catalog.model.CatalogModel; CatalogService catalogService = (CatalogService) Registry.getApplicationContext().getBean(’catalogService’); println(“ […]

Share this article on