exam questions

Exam AD0-E718 All Questions

View all questions & answers for the AD0-E718 exam

Exam AD0-E718 topic 1 question 1 discussion

Actual exam question from Adobe's AD0-E718
Question #: 1
Topic #: 1
[All AD0-E718 Questions]

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
  • 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
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
abhilash198
1 year, 7 months ago
B should be the correct answer
upvoted 1 times
abhilash198
1 year, 7 months ago
Check the Ava tax module https://github.com/avadev/Avalara-AvaTax-for-Magento2/tree/master
upvoted 1 times
...
...
Alexstep77
1 year, 7 months ago
Selected Answer: B
A and C option is not applicable because tax should be calculated after price and discount but before grand or discount totals.
upvoted 2 times
...
namluu
1 year, 8 months ago
Declare a new total collector in “etc/sales.xml” in a custom module
upvoted 2 times
...
Sanganagouda10
1 year, 9 months ago
Selected Answer: C
Create observer and then add custom tax
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago