Expandir la barra de logros de la comunidad.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.

RESUELTAS

Adobe AEM - Hybris product price information

Avatar

Level 3

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?

1 solución aceptada

Avatar

Respuesta correcta de
Level 10

Yes it will query hybris server. Please note the method you are looking is deprecated.

Ver la solución en mensaje original publicado

1 Respuesta

Avatar

Respuesta correcta de
Level 10

Yes it will query hybris server. Please note the method you are looking is deprecated.