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.

Replacement for deprecated theme object in Liquid

diegovogel
Shopify Partner
14 0 3

We often use the `theme` object in Liquid to determine when a theme is running locally or get other info about the theme. Now that it's deprecated, what's the best way to do this?

Replies 0 (0)