trigger calculate price