Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I am having trouble finding some code to try to see if I can edit it, but I tried every solution that I can think of and cannot find any part of this code that is showing up in the developer section or F12, under the element part i try to find the word "country" and it shows 4 times, however I can't find it in my Shopify code, can anyone help me understand why I am not able to find any part of this code anywhere in my Shopify code? Thank you.
Hi @JapanFoodGrocer 👋 It's probably auto inserted by either content_for_header as part of another process/app, or part of the theme in theme.liquid or relevant section/snippet file using the country object or similar localization objects and features
https://shopify.dev/docs/api/liquid/objects/country#country-referencing-the-country-object-directly
https://shopify.dev/docs/api/liquid/objects/localization
https://shopify.dev/docs/storefronts/themes/markets/multiple-currencies-languages
Of course your not actually explaining what the GOAL is, so make sure this isn't an xy problem https://xyproblem.info/
If you need debugging or theme customization then contact me for services.
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Thanks for replying however I am not looking a probably type answer, I would like to know exactly where the problem is at
Hi JapanFoodGrocer
The code you are looking for might be rendered from a third-party app or the theme's JS files. It will load when you access the store, so you might not find it in the theme code. You can contact the theme support to help you locate that code file more easily.
Best,
LizHoang
Hi @JapanFoodGrocer ,
The code they are looking for might come from a third-party app, so it may not be present in the theme code. You should check with the theme developer to find out where the code is located.
Best,
Daisy
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025