Custom method to calculate delivery price