Skip to content

{exp:stash:prepend_list}

Mark Croxton edited this page Jun 21, 2013 · 1 revision

Prepend an array of variables to a list.

{exp:channel:entries channel="products"}
	{exp:stash:prepend_list name="product_entries"}
 		{stash:item_title}{title}{/stash:item_title}
 		{stash:item_teaser}{product_teaser}{/stash:item_teaser}
	{/exp:stash:prepend_list}
{/exp:channel:entries}

Parameters

Accepts the same parameters as {exp:stash:set_list}

Clone this wiki locally