For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
When I reinstall the app, the old app blocks still get rendered in the theme editor.
However, in the storefront, I encounter the error "Failed to render app block "id": app block path "shopify://apps/{app_name}/blocks/{file}/{uuid}" does not exist.'" The only workaround is to make any changes to the theme and save it.
Can someone help me with this? As per my investigation, I noticed that the information for my extension does not appear in the 'cdn.shopify.com/extensions' source tab, even though the app has been installed.
Hi Ace,
That does sound pretty strange, here's a few things you could try for troubleshooting this:
Try the above and let us know if you're still seeing issues,
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 so much, Liam, for the feedback.
I'm quite confident that I've done everything correctly. The issue might be related to caching because when using an incognito tab, the blocks work fine.
However, about 3-4 hours later, the main tab automatically updates (and my extension reappears in cdn.shopify.com/extensions).
This is impacting my customers as the blocks are displayed in the theme editor but not appearing on the storefront.
Additionally, I've noticed that the app blocks that were added, along with the configurations of the app embed in the setting_data.json, remain unaffected even after I have uninstalled the app. Is this still in accordance with the standard procedure?
Hi again - no the app blocks should be removed automatically when the app is uninstalled. Is this also happening in incognito?
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
The app block is still rendering in the theme editor and incognito tab but not appearing in the main tab. You can view the screenshot I've attached for reference
main tab:
incogtito tab: