Open zeppaman opened 5 years ago
It looks like the documentation is incorrect here! I could have sworn there was a way to get the active theme more quickly, but it looks like the only way supported by the Shopify API is to list the store's themes and just find the one that has Role
set to "main"
. I'll get the documentation fixed.
Thanks @nozzlegear, for this info. It is exactly the way I found and implement to walkaround this issue. Moreover, I can confirm this is working:
var mainTheme = themes.FirstOrDefault(x => x.Role.Equals("main"));
Thank you so much for sharing this awesome library.
I see this in the documentation:
But into Shop entity got from ShopService there isn't any ThemeId field.
I'm misinterpreting the documentation?
Thank you