In the tutorial http://docs.adobe.com/docs/en/cq/current/ecommerce/eCommerce-hybris.html#Data%20Synchronization we can read the following:
Highly volatile data, such as price information, is retrieved from the commerce engine for each page request.
Does it mean that on each product details request adobe aem queries hybris server for price?
in product.jsp we have the following:
CommerceService commerceService = resource.adaptTo(CommerceService.class); CommerceSession session = commerceService.login(slingRequest, slingResponse); String productPrice = session.getProductPrice(baseProduct).replaceAll("[^0-9\\.]", "");
Is it correct that session.getProductPrice will query hybris server?
Solved! Go to Solution.
Views
Replies
Total Likes
Yes it will query hybris server. Please note the method you are looking is deprecated.
Views
Replies
Total Likes
Yes it will query hybris server. Please note the method you are looking is deprecated.
Views
Replies
Total Likes