In what way can this requirement be satisfied?

A user wants the pricing to reflect the price values stored in an external ERP during the checkoutflow.

In what way can this requirement be satisfied?
A . Override the computePricingCart method in ccrz.cc_api_PriceAdjustoment and make the callout in this method.
B . None of the above
C . Override the computePricingReview method in ccrz.cc_CartExtension and make the callout in this method.
D . Override the computePricingCart methos in ccrz.cc_api_CartExtension and make the callout in this method.

Answer: D

Explanation:

To reflect the price values stored in an external ERP during the checkout flow, the requirement can be satisfied by overriding the computePricingCart method in ccrz.cc_api_CartExtension and making the callout in this method. This method is responsible for computing the pricing for the cart and its line items. By overriding this method, the user can make a callout to the external ERP and update the pricing information accordingly.

Salesforce Reference: B2B Commerce and D2C Commerce Developer Guide, Logic Classes, ccLogicCart Class

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments