Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

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 (?) , you can switch to a simple comment.
Switch to a voting comment New
arierave
1 month 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
3 months, 1 week 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
3 months, 2 weeks 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
5 months, 3 weeks ago
From my point of view, the correct answer is A because the cost set is 10$
upvoted 1 times
Starosta_VR
5 months, 1 week 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 ...