ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 108 - Certified B2C Commerce Developer discussion

Report
Export

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
Answers
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
Answers
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
Answers
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
Answers
D.
Append Cart-Show controller route in the client cartridge and add dataLayer object to the viewData variable
Suggested answer: C
asked 23/09/2024
Aung Zin
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first