Object: dw.system.Request

Because you are working in a template, and templates use request as a top-level variable, you can immediately call methods of this object.

Note: Top-level variables include pdict, out, request and session.

The following are some frequently used methods. See the Salesforce B2C Commerce Script API documentation for the complete documentation.

Method Description
getHttpCookies() : Cookies Returns the Cookies object, which can be used to manipulate the client-side cookies.
getHttpHeaders() : Map Returns a map containing all HTTP header values.
isHttpSecure() : Boolean Identifies if the request is secure.

Example:

<td class="price merchandizetotal"><isprint value="${request.custom.Container.adjustedMerchandiseTotalNetPrice}"></td>
X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. By continuing to use this site you are giving us your consent to do this.