BlackFriday 2024! 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 4 Question 47 Discussion

Actual exam question for Adobe's AD0-E704 exam
Question #: 47
Topic #: 4
[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:

Lang
23 days ago
Option A seems overly complicated. Why bother with a plugin when you can just add the field directly in the XML? B or D are the way to go.
upvoted 0 times
Elli
7 hours ago
D) You add a field to product_form.xml as a child of the stock_data fieldset
upvoted 0 times
...
Cherilyn
12 days ago
B) You add a plugin on Magento\CatalogInventory\Ui\DataProvider\Product\Form\Modifier\AdvancedInventory to modify the Section metadata
upvoted 0 times
...
...
Hildegarde
29 days ago
Haha, option C is a classic 'throw a random block in the layout' approach. Wouldn't recommend that one unless you really know what you're doing!
upvoted 0 times
Mollie
7 hours ago
Haha, option C is a classic 'throw a random block in the layout' approach. Wouldn't recommend that one unless you really know what you're doing!
upvoted 0 times
...
Eva
1 days ago
B) YOU add a plugin on Magento\CatalogInventory\Ui\DataProvider\Product\Form\Modifier\AdvancedInventory to modify the Section metadata
upvoted 0 times
...
Lorriane
10 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
...
...
Elouise
1 months ago
I'd go with option D. Adding a new field to the product_form.xml file is a nice clean way to extend the admin UI without having to mess with data providers.
upvoted 0 times
Alease
5 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
...
...
Reuben
2 months ago
Option B looks good to me. Modifying the AdvancedInventory data provider seems like the most straightforward way to add a custom notice to that section.
upvoted 0 times
Antonio
10 days ago
Yeah, I think modifying the AdvancedInventory data provider is the best way to add a custom notice to the section.
upvoted 0 times
...
Kanisha
11 days ago
I agree, it seems like the most direct approach to achieve the desired result.
upvoted 0 times
...
Ty
12 days ago
I think option B is the way to go. Modifying the AdvancedInventory data provider seems like the most straightforward way to add a custom notice to that section.
upvoted 0 times
...
...
Rosalyn
2 months ago
That's a good point, Vashti. Option B does seem like a better choice for this task.
upvoted 0 times
...
Vashti
2 months ago
I disagree, I believe option B is more suitable as we need to modify the Section metadata for the notice text.
upvoted 0 times
...
Rosalyn
2 months ago
I think option A is the best approach because we need to add a field in the Advanced Inventory section.
upvoted 0 times
...

Save Cancel