ExamGecko
Home / Adobe / AD0-E718 / Practice Test 1
Ask Question

Adobe AD0-E718 Practice Test 1

Add to Whishlist
00:00:00
Show Answer
Report Issue   Restart test

Question 1 / 40

A company wants to build an Adobe Commerce website to sell their products to customers in their country. The taxes in their country are highly complex and require customization to Adobe Commerce. An Architect is trying to solve this problem by creating a custom tax calculator that will handle the calculation of taxes for all orders in Adobe Commerce.

How should the Architect add the taxes for all orders?

Write a before plugin to \Magento\Quote\Model\QuoteManagement::placeOrder() and add the custom tax to the quote
Write a before plugin to \Magento\Quote\Model\QuoteManagement::placeOrder() and add the custom tax to the quote
Declare a new total collector in "etc/sales.xml" in a custom module
Declare a new total collector in "etc/sales.xml" in a custom module
Add a new observer to the event 'sales_quote_collect_totals_before" and add the custom tax to the quote
Add a new observer to the event 'sales_quote_collect_totals_before" and add the custom tax to the quote