Passing a variable from snippet

New Member
1 0 0


I've been searching for an answer for days now, but couldn't find anything.


Basically, what I would like to do is to pass a variable using the render tag to a snippet. Then edit the variable inside the snippet and pass it back. This used to work fine with the include tag.


Some more background information, to get more explicit:

I am using the Supply theme which includes a "image-logic" snippet. By default, this snippet is included in the "product-grid-item" with the include tag. However, I'm currently implementing a new feature that requires me to move it to the render tag. 

I hope someone can help me on this. 

Thanks in advance.