make sure we can handle the shopify JSON order

and various other fixes including endless loop issues