Developer forum
E-mail notifications
How to update fees
I would like to use FeeProvider.
Any solutions available ?
Replies
The FindFee method of the FeeProvider accepts the current order as argument. The Order class has PaymentFee and ShippingFee attributes, however, I think these are read-only. The FeeProvider only affects shipping fee, so for payment fee you could add an additional order line with the amount of Order.PaymentFee*0,05*-1.
The pageid or areaid you'll find in Dynamicweb.Frontend.PageView.Current().ID or Dynamicweb.Frontend.PageView.Current().AreaID depending on whici you want to use.
BR.
Lars
The customer was not happy for this solution. Adding a new orderline is very confusing for the customer.
Is there other ways of handling this problem ?
The solutions includes two shops. One shop does not have any VAT at all and the second one needs these calculations:
Payment Fee (PF) and Shipping Fee (SF). VAT fees are 5% for danish customers and 0% for all others.
PF without VAT = 10
PF with VAT = 10,50
SF without VAT = 15
SF With VAT = 15,75
Additional should orders below 80 kr. for danish customers should have 0% VAT on products and 5% VAT on products for orders above 80 kr.
with the internationalization module, you can create countries and languages. If you create a country and a corresponding language (just for admin purposes), you can specify fees for each country. Then based on the customers country selection in the checkout, the corresponding fee is calculated.
I can set a fee value with int. module, not vat for the fees as far as i know.
Can i set VAT on fees only in the second shop ? If not, i would like this as an feature request. Just
You must be logged in to post in the forum