Liquid Template Variables - cookies: Difference between revisions
From Spiffy Stores Knowledge Base
New page: The liquid template variable ''cookies'' has the following attributes: == <code>cookies.''key''</code> == You can access any cookie by name. For example, if you have created a cookie ca... |
|||
| Line 1: | Line 1: | ||
The liquid template variable ''cookies'' has the following attributes: | The liquid template variable ''cookies'' has the following attributes: | ||
== <code>cookies.'' | == <code>cookies.''name''</code> == | ||
You can access any cookie by name. | You can access any cookie by name. | ||
Revision as of 17:53, 16 September 2008
The liquid template variable cookies has the following attributes:
cookies.name
You can access any cookie by name.
For example, if you have created a cookie called theme, then its value can be accessed by
cookies.theme