QuestionQ63

VerifiedCustomizing Sales Operations

An Adobe Commerce developer must implement a 15% surcharge for every user in the ‘Wholesale’ customer group.

Keeping best practices in mind, what is a correct way to accomplish this?

Explanation

A customer-group-specific surcharge should be implemented as a custom quote total collector that calculates and adds the fee during totals collection. Adobe Commerce registers custom quote totals in etc/sales.xml; presenting the resulting total in cart and checkout totals requires the corresponding layout/UI integration. This preserves the fee as a separate surcharge rather than misusing a discount rule or altering catalog product prices.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!