exam questions

Exam AD0-E716 All Questions

View all questions & answers for the AD0-E716 exam

Exam AD0-E716 topic 1 question 1 discussion

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

An Adobe Commerce developer has created a new shipping carrier. Everything has been implemented and the collectRates() and getAllowedMethods() functions can be seen below:


Given the above code, what would be the displayed cost of the shipping method and final amount charged to the customer?

  • A. The shipping method would display $0 but customers would pay a $10 handling fee for their order.
  • B. The shipping method would display $0 and customers would pay $0 for using the new shipping method.
  • C. The shipping method would display $10 and customers would pay $10 for using the new shipping method.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
lokeshurfriend
7 months, 2 weeks ago
Tested Option - B is correct If you want code to test it then below is the link to git repo https://github.com/lokeshyourfriend/E716/tree/main/CustomShippingMethodScenarioOne
upvoted 1 times
...
sprajapat770
8 months, 2 weeks ago
Selected Answer: B
Practically Tested Option B correct
upvoted 1 times
...
sprajapat770
8 months, 2 weeks ago
Practically Tested Option B correct
upvoted 1 times
...
arierave
11 months, 3 weeks ago
Selected Answer: A
Scanned via OCR the image, and checked with copilot and claude.ai agrees: A While the setPrice(0) line sets the displayed price of the shipping method to $0, the setCost(10) line sets the actual cost of the shipping method to $10. This cost will be added to the order total and charged to the customer during the checkout process.
upvoted 1 times
...
kuldeeptest
1 year, 1 month ago
The shipping method would display $10 and customers would pay $10 for using the new shipping method. This is because the collectRates method sets the price and cost of the shipping method to 10 in the result object. The price is what is shown to the customer on the frontend and the cost is what is charged to the customer when they place the order. The handling fee is not used in this case because it is set to zero in the config.xml file. Correct answer is C
upvoted 1 times
...
some_gyy
1 year, 1 month ago
Selected Answer: B
The customer pays & sees the price. The cost is intended for internal usage only (e.g. analytics)
upvoted 1 times
...
LoganTa
1 year, 4 months ago
From my point of view, the correct answer is A because the cost set is 10$
upvoted 1 times
Starosta_VR
1 year, 3 months ago
No, customers only pay the price, the store pays the cost. Correct answer is B
upvoted 2 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