adobe / aem-cif-project-archetype

Maven template to create new CIF Project AEM projects that follow best practices
Apache License 2.0
20 stars 12 forks source link

CIF-1354 - Refactor searchresults and productlist components #107

Closed LSantha closed 4 years ago

LSantha commented 4 years ago

Description

The searchresult and productlist components are almost identical, except for the way they fetch products, and except for the extra title and image in the productlist component.

They should be refactored to minimise the duplication of code, also maybe for the Sling Models.

Related PR: https://github.com/adobe/aem-core-cif-components/pull/263

Related Issue

CIF-1354

How Has This Been Tested?

Manually.

Types of changes

Checklist: