Hi Mojtaba,
This depends on what is your method of calculating the price. The most common solution for changing the product unit price for shopping cart evaluation is implementing a Custom Info Provider for SKUInfoProvider, and overriding all three overloads of GetSKUPrice method.