We already have Shipping price by weight calculation done in ShippingCalculator
Now if the total amount exceeds certain amount an insurance will be applied. I am thinking to make insurance as a product which will get added to the order if the total price exceeds. But not quitre sure which priocing calculator should be used.
If you need to add a new order line depending on the total amount of money - I think you need to use the NotificationCenter to listen for adding/removing and changing order lines. Then see the total amount and add or remove the product.
If you just need to calculate a new shipping price, then you need to integrate it into your weight based calculations and then also check the sub total of the order (which is the total of the order lines)
Shipping insurance based on the total price
We are trying to implement Shipping insurance based on the total price of items..
Can you please suggest what is the best place to do this http://documentation.teacommerce.net/net-api/
We already have Shipping price by weight calculation done in ShippingCalculator
Now if the total amount exceeds certain amount an insurance will be applied. I am thinking to make insurance as a product which will get added to the order if the total price exceeds. But not quitre sure which priocing calculator should be used.
If you need to add a new order line depending on the total amount of money - I think you need to use the NotificationCenter to listen for adding/removing and changing order lines. Then see the total amount and add or remove the product.
If you just need to calculate a new shipping price, then you need to integrate it into your weight based calculations and then also check the sub total of the order (which is the total of the order lines)
Kind regards
Anders
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.