{{terminalErrorHeading}}

An error has occurred

{{terminalError}}

const id = 'cart-template' if(!document.getElementById(id)) { const script = document.createElement('script') const isProduction = urlParams.url.includes('https://www.scmp.com') // const src = 'http://localhost:6016/dev/shoppingcart.js' // const src = 'https://product-web-scmp-pwa-dev.oss-cn-hongkong.aliyuncs.com/subscription-template/SCMPWEB-1055-moving-checkout-cart-to-template-builder-2/shoppingcart.js' // const src = 'https://product-web-scmp-pwa-dev.oss-cn-hongkong.aliyuncs.com/subscription-template/staging/shoppingcart.js' const src = 'https://assets.i-scmp.com/subscription-template/shoppingcart.js?ts=463185' script.id = id script.type = 'text/javascript' script.src = src script.defer = true document.body.appendChild(script) }