How should the developer follow SFRA best practices to expose this data for rendering?

A client wants to differentiate their monobrand stores with a special icon when shown in the store locator. The information is saved in a true/false custom attribute for each Store object in Merchant tools.

How should the developer follow SFRA best practices to expose this data for rendering?
A . Extend the existing Stores_Find controller with a new middleware function that performs the query
B. Pass the Store system object to the template, so that custom propierties are available
C. Ad dan <isscript> to the template, and call StoreMgr.searchStoresByCoordinates();
D. Use the module.superModule functionality and the call method to add a new property to the Store Model.

Answer: D

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments