The script below can infer values from query params, Shopify globals, and product URLs.
Try:
?shop=your-shop.myshopify.com&handle=product-handle
?shop=your-shop.myshopify.com&handle=product-handle