Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - 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
Hershel
8 hours ago
Definitely B and C for this!
upvoted 0 times
...
Becky
6 days ago
I feel like adding a price class could work, but I can't recall the exact implementation details for that method.
upvoted 0 times
...
Val
11 days ago
I'm a bit confused about the indexer part. Do we really need to modify it for this requirement?
upvoted 0 times
...
Samira
16 days ago
I remember practicing a similar question where we had to modify the final price, so maybe option C is also a good choice?
upvoted 0 times
...
Sharee
2 months 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