Adobe AD0-E704 Exam - Topic 2 Question 37 Discussion
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?
A) Create a new shopping cart price rule with a condition based on the shipping address postcode and C) Create a new total collector which adds a negative price adjustment based on the postcode
B) Create a JavaScript mixin for the Magento_Checkout/ js /view /summary/,subtotal, change total there and Magento will submit the modified total when placing an order
D) Create an observer on the event sales_quote_collect_totals_after, get the quote object, check the postcode and set the modified grand total into it
Tawny
10 months agoChara
10 months agoGeorgeanna
10 months agoBernardo
10 months agoJulianna
11 months agoFernanda
11 months agoElfriede
11 months agoJudy
11 months agoKimbery
11 months agoTamekia
11 months agoCherrie
11 months agoPaola
11 months agoTerrilyn
11 months agoRobt
12 months agoVal
12 months agoArmanda
12 months ago