The link enhancement is the way of link owners to make their link stand out in catalog. How exactly enhancement happens can be configured by adding new "Listing Type" in In-Link:
One of the supported features is "adding to a category" while link is enhanced. For example it can be "Featured Links" category that is shown on homepage. Unfortunately it doesn't work at all right now because the "EnhanceLink" and "ResetLink" methods doesn't use listing type record of currently processed link, but rather the default empty listing type record.
In the "ListingsEventHandler" class do the following:
- make "UpdateLink" method return objects "link" and "listing type" that were used
- make the "EnhanceLink" and "ResetLink" methods use returned "link" and "listing type" objects instead of retrieving own broken copies