ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 1 - AD0-E718 discussion

Report
Export

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?

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

Explanation:

https://amasty.com/knowledge-base/how-to-configure-tax-calculation-in-magento-2.html

asked 02/10/2024
Renata Maria DA SILVA
46 questions
NextNext
User
Your answer:
0 comments
Sorted by

Leave a comment first