Exactly. The usual pattern is to calculate shipping "during" the checkout phase, not before. i/f a customer demands to know it earlier, the site can always ask for shipping details separately and show the final price on the same product details page.