Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

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
Shopify Staff
2677 288 734

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?