New Year Sale 2026! 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 7 Question 63 Discussion

Actual exam question for Adobe's AD0-E704 exam
Question #: 63
Topic #: 7
[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
Berry
2 months ago
A seems a bit complicated for this task.
upvoted 0 times
...
Flo
2 months ago
Definitely agree with C, plugins are super flexible.
upvoted 0 times
...
Merilyn
2 months ago
I think option B is the way to go!
upvoted 0 times
...
Venita
3 months ago
Wait, can we really modify the indexer like that? Sounds risky!
upvoted 0 times
...
Clare
3 months ago
I like the idea of using an observer, B feels right!
upvoted 0 times
...
Kattie
3 months ago
Option D seems a bit off to me; I don't recall needing to modify the indexer just to show a personalized price.
upvoted 0 times
...
Helene
3 months ago
I feel like option A might be too complex for this scenario. We usually don't add classes directly like that.
upvoted 0 times
...
Dalene
4 months ago
I'm not entirely sure, but I remember something about plugins being useful for altering methods like in option C.
upvoted 0 times
...
Vanesa
4 months ago
I think option B sounds familiar since we practiced using observers to modify product data after loading.
upvoted 0 times
...
Talia
4 months ago
The key here is to find a way to access the product object and update the price. I'll need to explore the different event observers and plugin options to see what works best.
upvoted 0 times
...
Lemuel
4 months ago
I'm feeling pretty confident about this one. I've worked on similar customizations before, so I think I know the right steps to take.
upvoted 0 times
...
Thurman
4 months ago
Okay, I think I've got a strategy here. I'll focus on creating a plugin for the getFinalPrice method to handle the personalized pricing logic.
upvoted 0 times
...
Maile
5 months ago
Hmm, I'm a bit confused by the wording of the question. I'll need to re-read it a few times to make sure I understand exactly what they're asking.
upvoted 0 times
...
Fernanda
5 months ago
This looks like a tricky one. I'll need to carefully review the options and think through the best approach.
upvoted 0 times
...
Jovita
7 months ago
D) Modifying the indexer seems a bit like a hack to me. I'd prefer a more elegant solution that doesn't touch the underlying price data.
upvoted 0 times
...
Alberta
7 months ago
Haha, I bet the client is going to love this personalized pricing feature. Let's hope they don't try to game the system!
upvoted 0 times
Micaela
5 months ago
D) Modify the indexer so all possible prices are listed in the price index table
upvoted 0 times
...
Ciara
5 months ago
C) Create a plugin for the Magento\Catalog\Model\Product::getFinalPrice method
upvoted 0 times
...
Valentine
6 months ago
B) Create an observer for the event catalog_product_load_after, access the $product object and set a new price using the setFinalPrice method
upvoted 0 times
...
Raul
6 months ago
A) Add a price class to the prices parameter of the Magento\Catalog\Pricing\Price\Pool class and implement the getvalue method
upvoted 0 times
...
...
Nathalie
7 months ago
A) Adding a custom price class and implementing the getvalue method could work, but it might be overkill for this specific use case.
upvoted 0 times
Salome
7 months ago
B) Modify the indexer so all possible prices are listed in the price index table
upvoted 0 times
...
Shawnee
7 months ago
A) Create an observer for the event catalog_product_load_after, access the $product object and set a new price using the setFinalPrice method
upvoted 0 times
...
...
Lawrence
7 months ago
I see your point, Apolonia. However, I think modifying the indexer, as mentioned in option D, could also be a valid solution to ensure all possible prices are listed.
upvoted 0 times
...
Nickolas
7 months ago
B) Modifying the product object directly in an event observer is a good idea, but I'm not sure if that's the most efficient way to handle this requirement.
upvoted 0 times
Alexis
5 months ago
C) Create a plugin for the Magento\Catalog\Model\Product::getFinalPrice method
upvoted 0 times
...
Lorriane
6 months ago
A) Add a price class to the prices parameter of the Magento\Catalog\Pricing\Price\Pool class and implement the getvalue method
upvoted 0 times
...
...
Apolonia
7 months ago
But wouldn't creating an observer for the event catalog_product_load_after, like option B suggests, be more practical in this scenario?
upvoted 0 times
...
Elroy
8 months ago
I disagree, I believe option C is better. Creating a plugin for the getFinalPrice method seems more efficient to me.
upvoted 0 times
...
Wilbert
8 months ago
C) Create a plugin for the Magento\Catalog\Model\Product::getFinalPrice method seems like the way to go. That's the most direct approach to override the final price calculation.
upvoted 0 times
Tamala
7 months ago
D) Modify the indexer so all possible prices are listed in the price index table
upvoted 0 times
...
Pamella
7 months ago
B) Create an observer for the event catalog_product_load_after, access the $product object and set a new price using the setFinalPrice method
upvoted 0 times
...
...
Apolonia
8 months ago
I think option A is the way to go. Adding a price class and implementing the getvalue method sounds like the right approach.
upvoted 0 times
...

Save Cancel