For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
I upgraded the checkout page to a Checkout Extensibility.
Is there a way to default check the "Save this information for next time" checkbox? In the checkout.liquid before upgrading to Checkout Extensibility, I could write JavaScript code to achieve this. However, it seems that with the Checkout Extensibility, it's not possible to manipulate the checkout UI from external.
Solved! Go to the solution
This is an accepted solution.
Hi JH11,
Currently, there is no way to have the "Save this information for next time" option checked by default using Checkout Extensibility. This is a built-in feature of Shopify's checkout and cannot be modified through the extensibility API.
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
This is an accepted solution.
Hi JH11,
Currently, there is no way to have the "Save this information for next time" option checked by default using Checkout Extensibility. This is a built-in feature of Shopify's checkout and cannot be modified through the extensibility API.
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
Thank you, @Liam.
I understand the expected behavior.
The issue I'm currently facing is that when upgrading to the Checkout Extensibility, there is a problem where the email and address are not consistently retained with dynamic checkout.
Previously, when "Save this information for next time" was checked, visiting the checkout page through dynamic checkout would pre-fill the email and address. However, "Save this information for next time" is not checked by default. If I leave the checkout page and try to proceed with dynamic checkout for another item, the email and address are not pre-filled in checkout page.
I would like to resolve this issue. Do you have any good ideas, or is there any development planned to address this problem?
Thank you.
I see what you mean, if you move from a checkout to a dynamic checkout, the info entered in the first checkout is not being retained. Is this happening even if the "Save this information for next time" box is checked by the customer?
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
No, if the "Save this information for next time" box is checked, this doesn't happen. Therefore, I thought that if the "Save this information for next time" could be checked by default, it might potentially resolve this problem.
There is however no way currently to have the box ticked by default - so unfortunately that's not an option.
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