I tried to add javascript to my checkout page in the "additional scripts" field, but it wouldn't work. Even
console.log("Hello world");
wouldn't do anything. Anyone have any idea what the problem is?
@jimjams @Nick_H Shopify checkout additional script doesn't allow custom script
you can see Official document here- what you can do with addition script https://help.shopify.com/en/manual/orders/status-tracking/customize-order-status/order-status-javasc...
@gina-gregory did try to
<script> alert("Hello! I am an alert box!!");</script>
???
It works, but it's important to point out that the code in the "Additional scripts" field only gets added to the checkout thank you page. It's mostly intended to be a place to add conversion tracking code or a short bit of custom HTML/messaging.
User | Count |
---|---|
28 | |
17 | |
16 | |
12 | |
11 |