Release Notes / Version 10.2107
Table Of ContentsLC3 used to have an InventoryService that pulled inventory data via REST API from the commerce system. Because it was causing a performance drop in rendering as top frequent invalidations have occured it was never available for Commerce Hub. Please switch to an approach that is handled in the corresponding commerce system so the data does not need to be pulled from the commerce system by the CAE.
The following methods of
com.coremedia.livecontext.ecommerce.catalog.Product
are now deprecated and will be removed in the next AEP:
isAvailable
getTotalStockCount
getAvailabilityMap
The following classes are now deprecated and will be removed in the next AEP:
com.coremedia.livecontext.product.ProductAvailabilityHandler
com.coremedia.livecontext.product.ProductAvailabilityDynamicIncludePredicate
The following properties of product related types in
schema.graphql
and
commerce-schema.graphql
are now deprecated and will be removed in the next AEP:
available
totalStockCount
The following templates contained in example brick "fragment-scenario" are now deprecated and will be removed in the next AEP:
Product.availabilityFragment.ftl
ProductVariant.availabilityFragment.ftl
For Freemarker Templates we added a new macro to the global library livecontext.ftl (exposed via "lc"):
availability
This macro shows a possible approach on how to handle conditional rendering even though the data is not available on template site. Please check the Frontend Developer Manual for instructions on how to use this macro.
(CMS-17697)