assistedserviceyprofileaddon Extension

The assistedserviceyprofileaddon AddOn is responsible for introducing the fragments necessary to display the affinity information.

About the AddOn

Name Directory Related Module
assistedserviceyprofileaddon AddOn hybris/bin/assisted-services-integrations Assisted Service Module

Dependencies



UI Enhancements

The assistedserviceyprofileaddon works on the same storefronts as the assistedservicestorefrontaddon. For more information, see the assistedservicestorefront AddOn document.

Configuration

In the assistedserviceyprofileaddon-spring.xml file, you can find the definitions of the sections and fragments visible in the Customer 360° View modal window.

By modifying the properties of the productAffinityFragment and categoriesAndBrandsAffinityFragment, you can influence how many recent products are displayed. You can find the bean definitions in the assistedserviceyprofileaddon\resources\assistedserviceyprofileaddon-spring.xml file.

Providers take the listSize parameter to create the fragment responsible for displaying the recent products, categories and brands, and searches sections. If the list size is not an integer number, then an IllegalArgumentException is thrown. The properties map can be populated in two ways, using the following:
  • Spring fragment configuration
  • Request parameters overriding the fragment configuration
After validation, a new affinity parameter object is created. It is then up to the implementation of the YProfileAffinityFacade interface to return the actual products from Intelligent Selling Services Foundation.

For more information about the recent products functionality, see Enhanced Overview Tab and assistedserviceyprofilefacades Extension.