List of questions
Related questions
Question 108 - Certified B2C Commerce Developer discussion
A developer customized the Cart-Show controller route with a LINK cartridge that adds social media data. There is a new requirement to add a dataLayer object to the Cart-Show controller route.
How should the developer achieve this to ensure that no code change will be needed if the client decides to remove the LINK cartridge?
A.
Replace the existing viewData variable with the dataLayer object in the Cart-Show controller route
B.
Replace the Cart-Show controller route in client cartridge and add dataLayer object to the viewData variable
C.
Replace the Cart-Show controller route in client cartridge and add dataLayer object to the viewData variable. Ensure that the client cartridge is on the left of the LINK cartridge in cartridge path
D.
Append Cart-Show controller route in the client cartridge and add dataLayer object to the viewData variable
Your answer:
0 comments
Sorted by
Leave a comment first