Exam4Training

What method accomplishes this while following best practices?

The developer has been given the following business requirement:

• The shipping method, Free Standard Ground Shipping’ has an 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?
A . Extend the code in cartridge/models/shipping/shippingMethod.js using module, super Module and add an exception for the specified brand.
B. Extend the CheckoutShippingservices controller using module.superModule and add an exception for the specified brand
C. Create an allow list for the existing shipping method by adding a product exclusion for ‘brand equals XyzTV" to the exclusion list for "Free Standard Ground Shipping."

Answer: C

Exit mobile version