Re: Customer Account UI Extension - Old code is rendered on target

Customer Account UI Extension - Old code is rendered on target

najmiantariksa
Shopify Partner
7 1 1

Hi everyone,

 

I made an ui extension for the customer account page which includes a checkbox menu action. At first it was only showing the checkbox once on the target. After a few days it shows two checkboxes and the first one that is rendered is an old code from the same extension. I have tried uninstalling other apps using the same extension and made sure only this app is currently running. It currently looks like this:

Bildschirmfoto 2024-02-12 um 12.11.01.png

The one with the CURRENT is the one that uses the changes I made locally. I am also running the app with npm run dev. Has anyone encountered this problem before?

Replies 2 (2)

Liam
Community Manager
3106 339 870

Hi Najmiantariksa,

 

Is it possible some caching issue is happening here? If you install your app on a fresh dev store, do you see the same behaviour?

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

najmiantariksa
Shopify Partner
7 1 1

Hi Liam,

 

thank you for your answer. It could definitely be a caching issue. I tried installing the app on another dev store and the checkbox is only rendered once as expected. Is there a way to solve this if it happens on a live shop?