Additional costs in basket

Hey there,

i have got a question dealing with extending the oxbasket.

Following situation:

  • I have got a surcharge, which I add to oxdelivery costs
  • surcharge is displayed separated

The formatting methods for delivery costs are deprecated in OXID 5.1, so I have to find a new way to add additional costs to the basket.

Before I have done it by overwriting the formatting methods for delivery costs, I tried to add a new additional cost to the calculateBasket method, but then the validation for paying with credit card failed. :frowning:

Because of now displaying delivery costs with the help of an oxPrice smarty plugin, there is not a proper way to manipulate the delivery costs, if you do not want to do it into the view.

So anyone got an idea how to solve this problem?