Skip to content

Instantly share code, notes, and snippets.

@xcommerce-gists
Created August 8, 2013 02:02
Show Gist options
  • Save xcommerce-gists/6180836 to your computer and use it in GitHub Desktop.
Save xcommerce-gists/6180836 to your computer and use it in GitHub Desktop.
Example of using dynamic values in a block
<reference name="head">
<data service-call="selectedProductDetails" />
<action method="setTitle"><title>{{data.selectedProductDetails.metaTitle}}</title></action>
<action method="setKeywords"><keyword>{{data.selectedProductDetails.metaKeyword}}</keyword></action>
<action method="setDescription"><description>{{data.selectedProductDetails.metaDescription}}</description></action>
</reference>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment