Valid B2C-Commerce-Developer Dumps shared by ExamDiscuss.com for Helping Passing B2C-Commerce-Developer Exam! ExamDiscuss.com now offer the newest B2C-Commerce-Developer exam dumps, the ExamDiscuss.com B2C-Commerce-Developer exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com B2C-Commerce-Developer dumps with Test Engine here:
The developer has been given the following business requirement: The shipping method, Free Standard Ground Shipping' hasan exclusion for products *lth category equals or is child of electronics-televisions.' The marketing department has scheduled a sale offering a "Free Standard Ground Shipping" method for brand XyzTv televisions for the next 3 months. What method accomplishes this while following best practices?
Correct Answer: A
The most appropriate method to address this business requirement is to extend the existing shipping logic in the shippingMethod.js file within a custom cartridge. This approach involves utilizing the module super pattern to extend existing functionality rather than rewriting it entirely. The extension should include logic to check the category of the product and apply an exception for the specified brand (XyzTV) during the promotion period. By leveraging the module.superModule, developers can invoke the original method's functionality and seamlessly integrate custom logic, ensuring maintainability and adherence to best practices in customization within the Salesforce B2C Commerce environment. This is aligned with Salesforce's recommended approach to extending and customizing core functionalities in a scalable and upgrade-safe manner.