Events that connect you directly to leaders in commerce and Shopify
Join us starting Monday, July 22nd for an exclusive AMA for Shopify Partners. Our team of top engineers will answer questions related to Checkout Extensibility to help unblock your client’s upgrades by the August 13, 2024 deadline.
What to know:
This AMA is an opportunity to interact with the team who build Checkout Extensibility to get any questions answered on both the upgrade and newly released features.
The AMA will be open from July 22nd - 26th. Hit “Reply” below to ask your questions. We’ll aim to answer questions within a 24-hour window.
Rules of engagement:
We’ll do our best to follow up on every question during the event.
Solved! Go to the solution
This is an accepted solution.
AMA CLOSED
Thank you to all who participated in this Partner AMA for Checkout Extensibility! No new questions will be accepted moving forward.
Our team will continue to respond to questions already asked as they are able, but some questions might not be answered. If your question goes unanswered you're welcome to post on one of our Partner boards in the community.
Make sure you check out our Checkout Extensibility Upgrade board which has many FAQs and docs for you and your clients.
Hello, Why is there a 100 KB limit on Theme App Extension files? Is it possible to increase from 100kb to 500kb for the size of Liquid across all files?
https://shopify.dev/docs/apps/build/online-store/theme-app-extensions/configuration#file-and-content...
Hi there,
This AMA is for checkout extensibility such as checkout ui extensions. I think you'll want to post your question https://community.shopify.com/c/online-store-and-theme/bd-p/storedesign or https://community.shopify.com/c/shopify-apps/bd-p/shopify-apps.
is the Native Address Validation on Checkout extensibility coming on other countries like the US, for example Spain and Portugal? T.
Hi Juan,
You can find a full list of supported countries for Address validation here:
- https://help.shopify.com/en/manual/checkout-settings/address-collection-preferences
- https://help.shopify.com/en/manual/orders/manage-orders/shipping-address-validation
Please note that support for Portugal is already included.
Hello hope you are doing well,
Can we determine if a store has activated its Checkout extensibility through any API, specifically for the Checkout and Thank You pages for Plus stores, and the Thank You page for all other stores?
Thanks.
Alaz Ortaköy
Hi Alaz,
You can use the Admin Graphql API and query checkoutProfiles which will return a checkoutProfile node. If you use the 2024-07 version or later, it will have a typOspPagesActive field to denote if the Thank you page is on extensibility. If at least one checkoutProfile node is
Hello!
Thanks for doing this AMA. I have a few questions/notes:
Thank you!
Hi there,
We urgently need access to checkout metafields within the Checkout Validation function input. Is there a chance this could be added in the near future?
Here's our current situation:
Having access to checkout metafields in the Validation function would solve these issues and significantly improve both buyer and merchant experience. Any insights on when this might be implemented?
This has been raised on Github here and here.
Thank you!
Hi, the short answer is that for passing data from a UI extension to a function, we recommend using cart attributes for the time being. We do plan to expose cart metafields to function inputs, but we are not planning to expose "checkout" metafields to function inputs.
I'm a little bit unsure of if you are looking for "checkout" or cart metafields since the linked issues mention cart but the question includes "checkout", feel free to clarify and I can expand further.
Hey Steven!
Thank you for reply! That's what we do right now, although there are some problems:
1. There are rare cases where cart attributes are getting out of sync with metafield or not getting set at all
2. They are "cluttering" Order view in Admin and many merchants and agencies are complaining on that
3. They cannot be deleted from checkout extension
I'm unsure if the metafields I'm setting in checkout UI extension with "updateMetafield" type are called cart or checkout metafields. Naming is bit confusing 😅 That's how I set it, maybe you can help clarify? Thanks a ton!
Cart metafields are of type "updateCartMetafield" whereas "updateMetafield" is for "checkout" metafields.
I acknowledge the pain point you are seeing, and I think I think it mostly comes down to us needing to modernize our metafield APIs in checkout UI extensions. We built that API over 3 years ago and we have some work planned for next year to make it less confusing.
As a side note, we do plan to add removeAttribute sooner than that, we'll update our public roadmap when timing is confirmed.
Where abouts do we access the public roadmap? Is it this: https://shopify.dev/docs/apps/build/checkout
In the documentation it says that the Checkout scripts app will not expire till August 2025. Can we confirm that means the old checkout scripts will still work for another 12 months?
This would be useful as the new checkout functions are missing some vital features, like being able to target line items by properties (used by many apps for discounting)
Hi there,
The Shopify Script Editor will be officially sunset on August 28, 2025 and will continue to function until then but we recommend moving off as soon as you can per https://help.shopify.com/en/manual/checkout-settings/script-editor.
For line item discounts by properties, you should be able to accomplish this using a Product Discount on 2024-07 using the new CartLineTarget: https://shopify.dev/docs/api/functions/reference/product-discounts/graphql/common-objects/target and checking a specific attribute (property) on the CartLine: https://shopify.dev/docs/api/functions/reference/product-discounts/graphql/common-objects/cartline. Would this resolve your missing feature?
I would like to introduce a function that displays a checkbox that says 'I agree to the Terms of Use', and if the checkbox is ticked, I can click the 'Confirm Order' button, and if it is not ticked, I cannot click it.
We would also like to display different checkbox text for 'regular products' and 'subscription products'. Furthermore, we would like to display a text prompting the user to check the box if they click the 'confirm order button' when it is not ticked. Is this feasible with applications on the App Store?
Hi Liz! Have you taken a look at the Checkout Blocks app? It's by Shopify and free. You can conditionally show custom fields like an agree to terms and it can show for product based conditions. It will save to the order as either a metafield, note, or cart attribute (you decide).
If the user is not subscribed to the payment settings, I just want to hide my checkout extension from the theme customizer Add block section. Is it possible in any of the way, for now In checkout extension we can customize the functionality according to the subscription status, All I want to do is just Hide my checkout extension from the Add block section in Theme customizer.
Hi there,
While you can't hide app blocks within the checkout editor selection panel, you can save the subscription status for your app to a shop level metafield. You can then retrieve that within the checkout ui extension via the metafields section in the app config toml: https://shopify.dev/docs/api/checkout-ui-extensions/unstable/configuration#metafields.
Then inside the checkout ui extension code, you can look for the extension.editor.type and see if it's set to "checkout" which means the merchant is viewing your extension in the editor and conditionally show a message in the checkout editor when a merchant has not subscribed to your paid plan and return `null` when not in the editor (a normal checkout flow):
I appreciate the response @Gil_at_Shopify ,
This is What I exactly follow for now, I just want to know is there a plan to any improvement in the future updates.
Thank you in advance.
I am having problems with my query. I am trying to access the storefront API to query the customer's information in the checkout extensibility.
I know we can do useCustomer or buyerIdentity but that's if you're logged in. I want to be able to query the customer's information through email in case theyre not logged in. I specifically want to access the tags. I get an error "Field 'customer' is missing required arguments: customerAccessToken"
useEffect(() => {
query(
`query getCustomer ($first: Int!, $email: String!) {
customer(first: $first, query: $email) {
id
email
firstName
lastName
}
}`,
{
variables: { first: 1, email: `email:${customerEmail}` },
}
).then(({data, errors}) => {
console.log('data', data);
})
},[customerEmail, shippingAddress, customer, query])
Hi Cherrie,
It's important to note that the Storefront API in checkout ui extensions does not support customer queries in checkout: https://shopify.dev/docs/api/checkout-ui-extensions/2024-01/configuration#api-access. the data available to query is anything listed under "unauthenticated" scopes which is basically data any customer would have access to.
For customer account extensions on the order status page, I believe you can use the Customer Account API as detailed here: https://shopify.dev/docs/api/customer-account-ui-extensions/unstable/apis/customer-account-api.
First off, thanks for doing this AMA!
I have a few issues I'm dealing with in upgrading to checkout extensibility:
1) I am working on converting a Script into a Automatic Discount Function. I have created the discount app and it seems to be working fine, but the last piece is to prevent the automatic discount from being applied to product variants that have a compare at price higher than the price.
Using Shopify Scripts, we were able to access .compare_at_price, but I am not seeing anything similar in GraphQL ProductVariant object. Is there any way for me to access the compare at price in the extension?
2) Is there any way to hide line item properties in the checkout page using checkout extensions? Some of our custom products have a bunch of custom properties added to which are currently hidden via checkout.liquid but not sure how to do that with the new checkout. More details here: https://community.shopify.com/c/extensions/how-to-hide-item-properties-and-discount-in-checkout/td-p...
3) Is it possible to modify how the price is displayed on line items in the cart? For example, not showing the discounted cost or modify the wording of "No Charge"
Thanks in advance!
-Victor
This is an accepted solution.
AMA CLOSED
Thank you to all who participated in this Partner AMA for Checkout Extensibility! No new questions will be accepted moving forward.
Our team will continue to respond to questions already asked as they are able, but some questions might not be answered. If your question goes unanswered you're welcome to post on one of our Partner boards in the community.
Make sure you check out our Checkout Extensibility Upgrade board which has many FAQs and docs for you and your clients.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025