How to handle multi-currency conversion in Liquid for Theme App Extension?

How to handle multi-currency conversion in Liquid for Theme App Extension?

Description: I’m developing a Shopify app with a theme app extension and need to handle multi-currency properly.

The store has multi-currency enabled with USD as the default. When a customer switches to another currency (e.g., PKR), I need to display converted prices within my theme app extension.

Questions:

  • Is there a built-in Shopify Liquid filter or method to access the customer’s selected currency?

  • How can I convert and display prices dynamically in my theme app extension when the currency changes?

  • What’s the recommended approach for handling currency conversion in theme app extensions?

Any guidance on best practices for multi-currency support in theme app extensions would be helpful.