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 Exam AD0-E704 Topic 6 Question 55 Discussion

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

You need to build a custom module to add a notice to the Advanced Inventory section on the product form. The notice text can be specified in the system configuration. How do you implement this?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Nadine
1 months ago
I personally think option D is the best choice. Adding a field to product_form.xml seems like the most straightforward method.
upvoted 0 times
...
Denny
1 months ago
Hah, I bet the correct answer is a trick question. It's obviously option C - inject a custom block. Who doesn't love a good old-fashioned layout hack?
upvoted 0 times
Lyda
2 days ago
User 3: I agree with Lyda, option B seems like the right choice.
upvoted 0 times
...
Wilda
3 days ago
User 2: No way, it's definitely option B.
upvoted 0 times
...
Janella
8 days ago
User 1: I think option A is the way to go.
upvoted 0 times
...
...
Dorthy
1 months ago
I disagree, I believe option B is the correct approach. Modifying the Section metadata seems more appropriate.
upvoted 0 times
...
Fausto
1 months ago
Option A could work, but I think it's overkill. Why add a plugin to the entire ProductDataProvider when we just need to modify the AdvancedInventory section?
upvoted 0 times
...
Yen
1 months ago
I think option A is the way to go. Adding a field in the Advanced Inventory section makes sense.
upvoted 0 times
...
Reid
1 months ago
I'm not sure about that. Wouldn't it be better to use the product_form.xml approach in option D? That seems more flexible and maintainable to me.
upvoted 0 times
...
Dudley
2 months ago
Option B seems like the way to go. Modifying the AdvancedInventory data provider is the most direct approach to adding the notice field.
upvoted 0 times
Troy
7 days ago
A) You add a plugin on the form \Magento\Cataiog\Ui\DataProvidr\Product\Form\ProductDataProvider to add a field in the Advanced Inventory section
upvoted 0 times
...
Ronny
9 days ago
I think option B is better because it specifically targets the AdvancedInventory section for the notice field.
upvoted 0 times
...
Pete
21 days ago
C) You inject a custom block into the reference container in the catalog_product_index layout
upvoted 0 times
...
Patti
23 days ago
That makes sense, directly modifying the AdvancedInventory data provider would be the most efficient way to add the notice field.
upvoted 0 times
...
Renato
1 months ago
B) You add a plugin on Magento\CatalogInventory\Ui\DataProvider\Product\Form\Modifier\AdvancedInventory to modify the Section metadata
upvoted 0 times
...
...

Save Cancel