AD0-E716 practice question 10 of 15
An Adobe Commerce developer is asked to implement a 15% surcharge for all users from a 'Wholesale' customer group. Keeping best practices in mind, what is a correct to accomplish this?
Full set: 69 questionsCorrect Answer:
C. Create an Observer to the cataiog_product_get_final_price event. Check if the current customer is
in the 'Wholesale' group, and if so, retrieve the
product from the $observer->getEventC) data and Call $product->setData('final_price', $product-
>getData( 'final_price') * 1.15).
Explanation
The possible reason why the payment method is missing in the admin is that in the module config.xml, the node can_use_internal was not set to true. This node determines whether the payment method can be used in the admin area or not. If it is set to false or omitted, the payment method will not be available for admin orders. To enable the payment method for admin use only, the node can_use_internal should be set to true and the node can_use_checkout should be set to false. Verified Reference: [Magento 2.4 DevDocs] [Magento Stack Exchange]
Keep practicing
Take the free AD0-E716 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other AD0-E716 practice questions
- Question 1An Adobe Commerce developer is being tasked with creating a new cron job to run a method …
- Question 3A message queue currently has queue/consumer-wait-for-messages set to true, which allows …
- Question 4An Adobe Commerce Cloud developer wants to be sure that, even after transferring database…
- Question 5What are two features with Adobe Commerce Cloud that come out of the box? (Choose Two.)
- Question 7An international merchant is complaining that changes are taking too long to be reflected…
- Question 8A developer is working on an Adobe Commerce Cloud project and wants to get connection dat…
