AD0-E716 · Question #42
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?
The correct answer is C. Create an Observer to the cataiog_product_get_final_price event. Check if the current customer is. 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…
Question
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?
Options
- ADeclare a new total collector class to calculate the modified total if the current user is in the group,
- BCreate a Cart Price Rule that applies only to the 'Wholesale' group. Specify no conditions for the
- CCreate an Observer to the cataiog_product_get_final_price event. Check if the current customer is
How the community answered
(41 responses)- A7% (3)
- B17% (7)
- C76% (31)
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]
Topics
Community Discussion
No community discussion yet for this question.