U.S. Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Adobe AD0-E704 Exam - Topic 12 Question 76 Discussion

You have a requirement to customize the Product Detail Page so users can enter their ID in a custom field and get a personalized price. The user has to see the lower of the personalized and the Magento price.Which two actions do you take to enable the personalized price on the Product Detail Page and the checkout?
B) Create an observer for the event catalog_product_load_after, access the $product object and set a new price using the setFinalPrice method and C) Create a plugin for the Magento\Catalog\Model\Product::getFinalPrice method
A) Add a price class to the prices parameter of the Magento\Catalog\Pricing\Price\Pool class and implement the getvalue method
D) Modify the indexer so all possible prices are listed in the price index table

Adobe AD0-E704 Exam - Topic 12 Question 76 Discussion

Actual exam question for Adobe's AD0-E704 exam
Question #: 76
Topic #: 12
[All AD0-E704 Questions]

You have a requirement to customize the Product Detail Page so users can enter their ID in a custom field and get a personalized price. The user has to see the lower of the personalized and the Magento price.

Which two actions do you take to enable the personalized price on the Product Detail Page and the checkout?

Show Suggested Answer Hide Answer
Suggested Answer: B, C

Contribute your Thoughts:

0/2000 characters
Sharee
1 month ago
I think we might need to create an observer for the catalog_product_load_after event to set the personalized price, but I'm not completely sure.
upvoted 0 times
...

Save Cancel