When using third party processors like the ones I linked, you don't have to worry about that. You set the price in dollars as usual, and then whenever someone buys something, the payment processors automatically calculates the correct sum in bitcoin for the invoice, and then if you want...