How to Judge Merchant’s Subscription Plan in Checkout UI Extension Without API Calls?

How to Judge Merchant’s Subscription Plan in Checkout UI Extension Without API Calls?

Hey fellow developers! :waving_hand:
I’m building a Checkout UI Extension using purchase.checkout.block.render to add a custom field during checkout. I need to display this field only for paid-plan merchants and hide it for free-plan users.
As per Shopify’s behavior, direct API calls in Checkout UI Extensions aren’t ideal for performance. Does anyone have a scalable way to judge the merchant’s subscription plan without calling APIs on every checkout?

Any tips or best practices would be greatly appreciated!

Thanks in advance~

Hi @Na_Proxy, please see the solution provided here: