You have a task to modify the grand total on the checkout page with a negative price adjustment which depends on the shipping address postcode. What are two approaches to be used in this case?
I like option B! Modifying the JavaScript code in the checkout summary is a great way to keep the logic isolated and avoid cluttering the server-side code.
Option C seems like the most straightforward approach. Adding a custom total collector to handle the postcode-based price adjustment is a clean and modular way to implement this feature.
Ceola
9 months agoYuette
9 months agoBettina
8 months agoAlida
8 months agoNelida
8 months agoVeronique
8 months agoStefany
8 months agoDonte
8 months agoPrecious
9 months agoKina
9 months agoNelida
9 months agoAbel
9 months agoReita
8 months agoHubert
8 months agoAntione
8 months agoIluminada
9 months agoMari
8 months agoBettye
8 months agoJoye
8 months agoEdna
8 months agoMaynard
9 months agoSimona
9 months ago