Auto save theme after redirecting via deep link

Hi all,

I was trying to migarte my app to app extension. I am currently redirecting the store using deep links to the theme editor where the UI can be viewed. Is there a way to disable all the other blocks on the page and enable my app block and to automatically save it ? So that the user can just click on preview and the app has been embedded.

Hi Somen-1001,

Ideally merchants should be able to preview how your app works and appears before saving, in the case where there might be changes they want to make, or the app block not appearing as expected. This is why we’d recommend keeping to the current pattern of allowing the merchant to save manually following preview. RE: disabling all other blocks on the page - I’m not 100% sure what this would look like, could you describe this more?

Hope this helps!

@Liam - Thanks for replying. By disabling all other blocks on the page I meant that I want to disable all the templates which are present by default on the page (eg- main-collection template on the collections page) and only want to enable my app block to display information. Can this be achieved without the use of assets api as they are going to be deprecated ?