For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
Hi! I would like to ask for help from those who have experience with Shopify admin block extensions.
Currently, I am in the process of creating a Admin block to be displayed on the order details page (target set to
admin.order-details.block.render
).
The block functions correctly when the order details page is initially loaded or when the browser is refreshed.
However, when navigated to the previous or next order detail page by clicking the < or > button on the top right corner, the block does not execute new processing, and it retains the content from the previous screen.
If anyone knows how to ensure the BlockExtension processes execute upon each navigation to the order details pages, any comment or reaction would be helpful.
Thanks in advance!
Solved! Go to the solution
This is an accepted solution.
Hi Impletus, as you may already know, the issue now is fixed and I confirmed that it works as expected now 🙂
Did you manage to find an answer to this? I was wondering the same thing.
The useApi returns the same data when you move through orders with > and < buttons in the order detail page. Why doesn't the data reload?
Apparently, this is a shopify admin extensions bug
Hi Impetus, thank you for your message. I missed that issue. Thank you and let us hope it gets fixed soon.
This is an accepted solution.
Hi Impletus, as you may already know, the issue now is fixed and I confirmed that it works as expected now 🙂
I though this is fixed, but now in my testing store it skips showing and hiding for each navigation.
Initial load -> show
navigate -> hide (expected: show)
navigate -> show (expected: show)
navigate -> hide (expected: show)
Is anyone experiencing the same behavior?
Yes, we face this issue too.
Every other page load (using < and > keys) does not load the app block entirely.