Created
August 8, 2013 02:02
-
-
Save xcommerce-gists/6180836 to your computer and use it in GitHub Desktop.
Example of using dynamic values in a block
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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