We have a snippet that’s used to define a few variables that are used throughout our store.
Currently, we use include to make those variables available to other liquid files. It’s worked great for years, but I’m now reading that include has been replaced with render… but render works completely differently for this purpose: variables defined within the included/rendered snipped are not shared with the parent liquid file.
What is our best option here? Our variable snippet is a bit complex, containing some logic, so moving things to the JSON settings file may not work.