How to add custom scripts on checkout using extension

Hi,

Could any one help me on this?

In my Shopify Plus store checkout.liquid file there is third party URLs and custom JS code is added. So the checkout.liquid file is going to deprecate. So where I can add these third party JS URLs and custom JS script code? I am trying to do this with Shopify Checkout UI extension but it didn’t work me. Also I tried the web pixels extension still didn’t work.

Here are the attachments URLs please check and let me know which extension or other method I use to add/move these code

https://prnt.sc/jm0rs5d0ovFJ
https://prnt.sc/8pbU8GKwQ3Xx

Thanks

1 Like

Hi @chandni-handa ,

Have you tried adding the snippets directly in the Checkout through a Custom Liquid block? You can add one from the Theme Customizer.

Hi @PurplePartner

Yes, But checkout.liquid is going to deprecate. So where I add/move this code?

With Checkout Extensibility, you should be able to use the Checkout Editor to add the code. It’s part of the update and not related to checkout.liquid at all.

Thanks @PurplePartner for reaching here on this

Could you please share any example to use the Checkout Editor to add the code? So that I can implement on the Checkout UI extension.

You need to reach out to a professional able to develop a custom app or use an app to add a block in the Checkout Editor. Using that custom block you can use your code.

Thanks!

Okay Thanks

You’re welcome! Make sure to like the reply or mark it as a solution if it helps.

Thanks, Chandni!

I am still looking solution for this.

Did you find a solution?