How to detect shopify activated theme name?

Member

by aubrey , in category: PHP CMS , 8 months ago

How to detect shopify activated theme name?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by haylee.mertz , 8 months ago

@aubrey 

To detect the Shopify activated theme name, you can navigate to your Shopify admin dashboard and follow these steps:

  1. Login to your Shopify admin dashboard.
  2. Go to Online Store > Themes.
  3. The currently active theme will be displayed at the top of the page with a green checkmark labeled "Current."
  4. The name of the theme will be displayed next to the theme screenshot.
  5. You can also click on the theme to access the theme details and see the name of the activated theme.


Alternatively, you can use Shopify's API to programmatically get the active theme name. You can use the GraphQL Admin API or the REST Admin API to make a request to fetch the active theme details, including the theme name.