Would it be possible to support custom Liquid logic for states, rather than relying solely on the fixed 'show if' logic currently available in Replo? This would open up a lot of possibilities in customising state display logic. For example, we currently use conditions like {% if current_market_id == X %} to control content visibility based on the market. This allows us to avoid duplicating and publishing multiple Replo sections across different markets, and having native support for this would make things a lot easier (not necessarily a market 'show if' state, but just a general option to use custom liquid).
Hm this is pretty interesting. What’s the use case for showing different sections based on market? Translations?
You could probably hack this together using a custom liquid component, data-attribute on the section, and custom css. Just wondering what the best integration would look like for your use case
Currently using it for local optimisations like the below Noah G. Example logic: {% if current_market_id == [market ID] %} {% assign icon_url = "[image link]" %} {% assign brand_text = "100% Irish Brand" %} {% else %} {% assign icon_url = "[image link]" %} {% assign brand_text = "EU-Based Brand" %} {% endif %} {% if current_market_id == [market ID] %} <p class="market-shipping-message"> Free Irish Shipping, Arrives in 1–2 Days </p> {% else %} <p class="market-shipping-message"> Fast Shipping to {{ country_name }} </p> {% endif %} Was wondering if the logic code, e.g. '{% if current_market_id == [market ID] %}' could be added to 'Show if' in Replo, so there would be an option for custom logic where you could paste {% if current_market_id == [market ID] %}. I think your solution would work though, if I'm right we would use a liquid block on the page, data attribute the section, and then implement this logic using CSS? So if it was for a full section, we could build 2 in Replo and use the logic {% if current_market_id == [market ID] %} to conditionally show / hide sections?
Another useful feature here for localisations would to be allow tags like [localization.country.name] to be added text blocks in Replo
Yep, that workaround is what I meant! I have a question though, why not use the “editable in Shopify” setting to make the text editable in the theme customizer, then use the theme customizer to add in different text and images for every market? https://support.replo.app/articles/1838255243-how-can-i-translate-my-replo-pages-into-different-languages has a bit more info on this approach

