ScriptTag - Javascript only to run on last page of Checkout

Orders_Admin
Shopify Partner
4 0 1

This question relates to adding a form field / submit to the last page of checkout via your ScriptTag feature.
How will my Javascript know to only run on the Last page of checkout and NOT run on product pages or any other frontend pages.

 

0 Likes
Rob_Curry
Shopify Partner
53 0 10

In order to add javascript to just the final page of the checkout - after the payment has been made, there is an option within the "checkout" section of the shopify admin which allows you to add additional script.

0 Likes
Orders_Admin
Shopify Partner
4 0 1

Lets say I am developing an APP and i dont want Shop owners to have to go in and Add / Modify anything in their store.

I want to use the Shopify SCRIPT TAG API. 

Will using Script Tag cause this Javascript to run on every page? is there a way that Javascript only runs on last Checkout page?

 

 

Hashir
Tourist
3 0 1

i am facing same problem which you were facing in 2015, how did you solved it ?

0 Likes