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