Pre-Winter Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Salesforce Certified B2C Commerce Developer Comm-Dev-101 Question # 16 Topic 2 Discussion

Salesforce Certified B2C Commerce Developer Comm-Dev-101 Question # 16 Topic 2 Discussion

Comm-Dev-101 Exam Topic 2 Question 16 Discussion:
Question #: 16
Topic #: 2

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 Cart-Show controller route in client cartridge and add dataLayer object to the viewData variable.


B.

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.


C.

Append Cart-Show controller route in the client cartridge and add dataLayer object to the viewData variable.


Get Premium Comm-Dev-101 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.