Update: the old Order Status Page scripting method is retired
This post describes the old Order Status Page. Shopify has retired the legacy checkout customization methods, including additional scripts on the Thank you and Order status pages. Don’t copy the CSS or JavaScript below into a current store.
For current stores, start with Shopify’s Thank you and Order status page customization guide. UI extensions can add supported content, but they don’t let you reach into Shopify’s page DOM and remove the map with the selectors used here. If hiding the map is essential, confirm that the current editor or app supports it before choosing a replacement.
Original article
For some stores the map on the Shopify Order status page can actually add confusion - especially if you don't ship products and are pickup only. There's a simple enough way to hide the map so let's peek at some code to do it.
CSS or JavaScript. Pick your poison.
You got two options here and both are going to require adding code into the additional content and scripts section found the Admin Checkout Settings.
The safest option is to use CSS but it comes with the drawback of leaving an partial remains of the container behind (see pic below). It bothers the hell out of me but you might not care or notice it. Here's the CSS in any case.
<style>.map {display:none }</style>
Now if you wanted to use JavaScript instead would could get of the container as well as the map, fixing that little UI quirk. If you want to stick with the jQuery version, here's the JavaScript for that method:
<script>
if(Checkout && Checkout.$ && Checkout.$.fn){ Checkout.$('.map[data-mapbox]').parent().remove(); }
</script>
Or you could use some vanilla JS for the same result.
<script>
document.getElementsByClassName('map')[0].parentNode.remove()
</script>
And that's that.