Re: Need to add JS script in checkout page using app

Need to add JS script in checkout page using app

ashishgaur
Shopify Partner
2 0 0

I've developed an app and now I want to use it to inject a custom JavaScript script into the checkout page.

Please advice, thanks in advance.

Replies 2 (2)

Liam
Community Manager
3108 341 878

Hi Ashishgaur,

 

It's not possible to inject JS scripts onto checkout pages that are migrated to checkout extensibility. You'll have to create a Checkout UI extension that can be added to a checkout page via the checkout editor. 

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

ashishgaur
Shopify Partner
2 0 0

Thanks Liam,

 

I’m a Laravel developer and have built an app using Laravel. Can I use Laravel to create a Checkout UI extension for Shopify?

If that’s not possible, is there a way to programmatically set the "shipping method notice" text field via API or during the app installation process?