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
5 months agoYuette
5 months agoBettina
4 months agoAlida
4 months agoNelida
4 months agoVeronique
4 months agoStefany
4 months agoDonte
4 months agoPrecious
5 months agoKina
5 months agoNelida
5 months agoAbel
5 months agoReita
4 months agoHubert
4 months agoAntione
4 months agoIluminada
5 months agoMari
4 months agoBettye
4 months agoJoye
4 months agoEdna
5 months agoMaynard
5 months agoSimona
5 months ago