ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 39 - AD0-E718 discussion

Report
Export

An Architect needs to review a custom product feed export module that a developer created for a merchant. During final testing before the solution is deployed, the product feed output is verified as correct. All unit and integration tests for code pass.

However, once the solution is deployed to production, the product price values in the feed are incorrect for several products. The products with incorrect data are all currently part of a content staging campaign where their prices have been reduced.

What did the developer do incorrectly that caused the feed output to be incorrect for products in the content staging campaign?

A.
The developer forgot to use the getContentStagingValue() method to retrieve the active campaign value of the product data
Answers
A.
The developer forgot to use the getContentStagingValue() method to retrieve the active campaign value of the product data
B.
The developer retrieved product data directly from the database using the entity_id column rather than a collection or repository.
Answers
B.
The developer retrieved product data directly from the database using the entity_id column rather than a collection or repository.
C.
The developer did not check for an active content staging campaign and emulates the campaign state when retrieving product data.
Answers
C.
The developer did not check for an active content staging campaign and emulates the campaign state when retrieving product data.
Suggested answer: A

Explanation:

According to the Adobe Commerce documentation, when retrieving product data, developers must use the getContentStagingValue() method to ensure that the active campaign value for the product is retrieved. This method takes into account any content staging campaigns that might be active, and returns the appropriate value from the content staging campaign rather than the default value from the database. Failing to use this method can result in incorrect data being returned in the product feed.

asked 02/10/2024
Azfar khan
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first