Snippet that returns total amount and order id

Can I write at snippet which returns the total amount (including delivery) and order id of an order just created in the checkout form but not yet finished?

Hi @GitteOlsen! You can use the scGetCart snippet to display totals, though I actually don’t think that’ll show the totals from the delivery method yet. The order ID isn’t available until the order is actually created, so the first place that’s available is on the thank you page.