A developer working on a multi-country site is asked to store country-specific data that drives the creation of a country selector. Examples of the data stored are:
• Pricebook to be used
• Image URL for country flag
The data used in staging also applies in production, but only for this site.
Which approach should the developer take to implement these requirements?
Which action should a developer take to resolve the problem of not seeing attributes when creating a custom object?
Multiple shoppers report slow performance on the Product Details Page.
Which tool can a developer use to view average response times for the Product-Detail controller route?
A developer working on a simple web service integration is asked to add appropriate logging to allow future troubleshooting.
According to logging best practices, which code should the developer write to log when an operation succeeds, but has an unexpected outcome that may produce side effects?
A new product has been added to the Storefront catalog that is assigned to a site.
Which configuration does a developer need to ensure to have a new product visible in the Storefront?
A developer needs to display a products list of their " Women Dresses " category in a new web application, independent of their main B2C Commerce site. This custom listing page needs to be styled differently from the existing one, as per marketing requirements. Which B2C Commerce tool should the developer use to collect the necessary information?
A client has a requirement to allow users on the Storefront to filter by a newly created attribute. Which is necessary to achieve this?
To ensure SFRA best practices and protect against request forgery, the developer introduced CSRF token generation in the customer address form.
< form ... action= " submit " >
< input name= " ${dw.web.CSRFProtection.getTokenName()} "
value= " ${dw.web.CSRFProtection.generateToken()} " >
...
< the rest of the Form Fields >
....
< /form >
To implement CSRF protection when the form is submitted, the developer needs to introduce the CSRF validation using one or both of these methods as applicable:
validateRequest
validateAjaxRequest
Where in the code does the developer need to add this CSRF validation check?